]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - tools/include/uapi/linux/kcmp.h
Merge back PM core material for v4.16.
[mirror_ubuntu-jammy-kernel.git] / tools / include / uapi / linux / kcmp.h
CommitLineData
85369131 1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
735e215e
ACM
2#ifndef _UAPI_LINUX_KCMP_H
3#define _UAPI_LINUX_KCMP_H
4
5#include <linux/types.h>
6
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,
16 KCMP_EPOLL_TFD,
17
18 KCMP_TYPES,
19};
20
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
28#endif /* _UAPI_LINUX_KCMP_H */