Merge tag 'block-6.9-20240315' of git://git.kernel.dk/linux
[linux-2.6-block.git] / include / uapi / linux / kcmp.h
CommitLineData
6f52b16c 1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3f4994cf
ME
2#ifndef _UAPI_LINUX_KCMP_H
3#define _UAPI_LINUX_KCMP_H
d97b46a6 4
0791e364
CG
5#include <linux/types.h>
6
d97b46a6
CG
7/* Comparison type */
8enum kcmp_type {
9 KCMP_FILE,
10 KCMP_VM,
11 KCMP_FILES,
12 KCMP_FS,
13 KCMP_SIGHAND,
14 KCMP_IO,
15 KCMP_SYSVSEM,
0791e364 16 KCMP_EPOLL_TFD,
d97b46a6
CG
17
18 KCMP_TYPES,
19};
20
0791e364
CG
21/* Slot for KCMP_EPOLL_TFD */
22struct kcmp_epoll_slot {
23 __u32 efd; /* epoll file descriptor */
24 __u32 tfd; /* target file number */
25 __u32 toff; /* target offset within same numbered sequence */
26};
27
3f4994cf 28#endif /* _UAPI_LINUX_KCMP_H */