Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
0002 #ifndef _UAPI_LINUX_KCMP_H
0003 #define _UAPI_LINUX_KCMP_H
0004 
0005 #include <linux/types.h>
0006 
0007 /* Comparison type */
0008 enum kcmp_type {
0009     KCMP_FILE,
0010     KCMP_VM,
0011     KCMP_FILES,
0012     KCMP_FS,
0013     KCMP_SIGHAND,
0014     KCMP_IO,
0015     KCMP_SYSVSEM,
0016     KCMP_EPOLL_TFD,
0017 
0018     KCMP_TYPES,
0019 };
0020 
0021 /* Slot for KCMP_EPOLL_TFD */
0022 struct kcmp_epoll_slot {
0023     __u32 efd;      /* epoll file descriptor */
0024     __u32 tfd;      /* target file number */
0025     __u32 toff;     /* target offset within same numbered sequence */
0026 };
0027 
0028 #endif /* _UAPI_LINUX_KCMP_H */