Server IP : 195.201.23.43 / Your IP : 3.143.236.11 Web Server : Apache System : Linux webserver2.vercom.be 5.4.0-192-generic #212-Ubuntu SMP Fri Jul 5 09:47:39 UTC 2024 x86_64 User : kdecoratie ( 1041) PHP Version : 7.1.33-63+ubuntu20.04.1+deb.sury.org+1 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/include/linux/ |
Upload File : |
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _LINUX_WATCH_QUEUE_H #define _LINUX_WATCH_QUEUE_H #include <linux/types.h> enum watch_notification_type { WATCH_TYPE_META = 0, /* Special record */ WATCH_TYPE__NR = 1 }; enum watch_meta_notification_subtype { WATCH_META_REMOVAL_NOTIFICATION = 0, /* Watched object was removed */ WATCH_META_LOSS_NOTIFICATION = 1, /* Data loss occurred */ }; /* * Notification record header. This is aligned to 64-bits so that subclasses * can contain __u64 fields. */ struct watch_notification { __u32 type:24; /* enum watch_notification_type */ __u32 subtype:8; /* Type-specific subtype (filterable) */ __u32 info; #define WATCH_INFO_LENGTH 0x0000007f /* Length of record */ #define WATCH_INFO_LENGTH__SHIFT 0 #define WATCH_INFO_ID 0x0000ff00 /* ID of watchpoint */ #define WATCH_INFO_ID__SHIFT 8 #define WATCH_INFO_TYPE_INFO 0xffff0000 /* Type-specific info */ #define WATCH_INFO_TYPE_INFO__SHIFT 16 #define WATCH_INFO_FLAG_0 0x00010000 /* Type-specific info, flag bit 0 */ #define WATCH_INFO_FLAG_1 0x00020000 /* ... */ #define WATCH_INFO_FLAG_2 0x00040000 #define WATCH_INFO_FLAG_3 0x00080000 #define WATCH_INFO_FLAG_4 0x00100000 #define WATCH_INFO_FLAG_5 0x00200000 #define WATCH_INFO_FLAG_6 0x00400000 #define WATCH_INFO_FLAG_7 0x00800000 }; /* * Extended watch removal notification. This is used optionally if the type * wants to indicate an identifier for the object being watched, if there is * such. This can be distinguished by the length. * * type -> WATCH_TYPE_META * subtype -> WATCH_META_REMOVAL_NOTIFICATION */ struct watch_notification_removal { struct watch_notification watch; __u64 id; /* Type-dependent identifier */ }; #endif /* _LINUX_WATCH_QUEUE_H */Private