Home
last modified time | relevance | path

Searched refs:fanotify_event_metadata (Results 1 - 25 of 25) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/fanotify/
H A Dfanotify06.c48 #define EVENT_SIZE (sizeof(struct fanotify_event_metadata))
121 static void verify_event(int group, struct fanotify_event_metadata *event) in verify_event()
141 static void close_events_fd(struct fanotify_event_metadata *event, int buflen) in close_events_fd()
155 struct fanotify_event_metadata *event; in test_fanotify()
192 event = (struct fanotify_event_metadata *)event_buf; in test_fanotify()
H A Dfanotify04.c28 #define EVENT_SIZE (sizeof(struct fanotify_event_metadata))
102 struct fanotify_event_metadata *event; in verify_event()
107 event = (struct fanotify_event_metadata *)&event_buf; in verify_event()
142 struct fanotify_event_metadata *event; in verify_no_event()
144 event = (struct fanotify_event_metadata *)&event_buf; in verify_no_event()
H A Dfanotify09.c55 #define EVENT_SIZE (sizeof(struct fanotify_event_metadata))
296 struct fanotify_event_metadata *event, in event_res()
315 static const char *event_filename(struct fanotify_event_metadata *event) in event_filename()
333 static void verify_event(int group, struct fanotify_event_metadata *event, in verify_event()
360 static void close_event_fds(struct fanotify_event_metadata *event, int buflen) in close_event_fds()
373 struct fanotify_event_metadata *event; in test_fanotify()
419 event = (struct fanotify_event_metadata *)event_buf; in test_fanotify()
455 event = (struct fanotify_event_metadata *)event_buf; in test_fanotify()
H A Dfanotify02.c29 #define EVENT_SIZE (sizeof(struct fanotify_event_metadata))
134 struct fanotify_event_metadata *event; in test01()
136 event = (struct fanotify_event_metadata *)&event_buf[i]; in test01()
H A Dfanotify19.c32 #define EVENT_SIZE (sizeof(struct fanotify_event_metadata))
44 static struct fanotify_event_metadata event_buf[EVENT_BUF_LEN];
144 struct fanotify_event_metadata *event; in test_fanotify()
H A Dfanotify23.c29 #define EVENT_SIZE (sizeof(struct fanotify_event_metadata))
89 struct fanotify_event_metadata *event; in test_fanotify()
187 event = (struct fanotify_event_metadata *)event_buf; in test_fanotify()
H A Dfanotify12.c31 #define EVENT_SIZE (sizeof(struct fanotify_event_metadata))
170 struct fanotify_event_metadata *event; in do_test()
183 event = (struct fanotify_event_metadata *) event_buf; in do_test()
H A Dfanotify11.c60 struct fanotify_event_metadata event; in test01()
80 SAFE_READ(0, fd_notify, &event, sizeof(struct fanotify_event_metadata)); in test01()
H A Dfanotify22.c195 static int check_error_event_metadata(struct fanotify_event_metadata *event) in check_error_event_metadata()
215 struct fanotify_event_metadata *event = in check_event()
216 (struct fanotify_event_metadata *) buf; in check_event()
H A Dfanotify15.c35 #define EVENT_SIZE (sizeof(struct fanotify_event_metadata) + \
80 struct fanotify_event_metadata *metadata; in do_test()
187 for (i = 0, metadata = (struct fanotify_event_metadata *) events_buf; in do_test()
H A Dfanotify03.c33 #define EVENT_SIZE (sizeof(struct fanotify_event_metadata))
249 struct fanotify_event_metadata *event; in test_fanotify()
265 event = (struct fanotify_event_metadata *)&event_buf[i]; in test_fanotify()
H A Dfanotify01.c29 #define EVENT_SIZE (sizeof(struct fanotify_event_metadata))
247 struct fanotify_event_metadata *event; in test_fanotify()
249 event = (struct fanotify_event_metadata *)&event_buf[i]; in test_fanotify()
H A Dfanotify21.c161 struct fanotify_event_metadata *event; in do_test()
165 event = (struct fanotify_event_metadata *)&event_buf[i]; in do_test()
H A Dfanotify05.c66 static struct fanotify_event_metadata event;
68 static void event_res(struct fanotify_event_metadata *event, int i) in event_res()
H A Dfanotify10.c53 #define EVENT_SIZE (sizeof(struct fanotify_event_metadata))
679 static int verify_event(int p, int group, struct fanotify_event_metadata *event, in verify_event()
733 static struct fanotify_event_metadata *fetch_event(int fd, int *retp) in fetch_event()
736 struct fanotify_event_metadata *event; in fetch_event()
755 event = (struct fanotify_event_metadata *)(event_buf + event_buf_pos); in fetch_event()
766 struct fanotify_event_metadata *event; in test_fanotify()
H A Dfanotify13.c143 struct fanotify_event_metadata *metadata; in do_test()
201 for (i = 0, metadata = (struct fanotify_event_metadata *) events_buf; in do_test()
H A Dfanotify07.c128 struct fanotify_event_metadata event; in loose_fanotify_events()
H A Dfanotify16.c38 #define EVENT_SIZE (sizeof(struct fanotify_event_metadata) + \
527 struct fanotify_event_metadata *event; in do_test()
537 event = (struct fanotify_event_metadata *)&event_buf[i]; in do_test()
H A Dfanotify.h298 struct fanotify_event_metadata *event, in get_event_info()
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dfanotify.h10 struct fanotify_event_metadata { struct
95 #define FAN_EVENT_METADATA_LEN (sizeof(struct fanotify_event_metadata))
96 #define FAN_EVENT_NEXT(meta, len) ((len) -= (meta)->event_len, (struct fanotify_event_metadata*)(((char *)(meta)) + (meta)->event_len))
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dfanotify.h10 struct fanotify_event_metadata { struct
95 #define FAN_EVENT_METADATA_LEN (sizeof(struct fanotify_event_metadata))
96 #define FAN_EVENT_NEXT(meta, len) ((len) -= (meta)->event_len, (struct fanotify_event_metadata*)(((char *)(meta)) + (meta)->event_len))
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dfanotify.h10 struct fanotify_event_metadata { struct
95 #define FAN_EVENT_METADATA_LEN (sizeof(struct fanotify_event_metadata))
96 #define FAN_EVENT_NEXT(meta, len) ((len) -= (meta)->event_len, (struct fanotify_event_metadata*)(((char *)(meta)) + (meta)->event_len))
/third_party/musl/include/sys/
H A Dfanotify.h10 struct fanotify_event_metadata { struct
101 #define FAN_EVENT_METADATA_LEN (sizeof(struct fanotify_event_metadata))
102 #define FAN_EVENT_NEXT(meta, len) ((len) -= (meta)->event_len, (struct fanotify_event_metadata*)(((char *)(meta)) + (meta)->event_len))
/third_party/rust/crates/libc/src/unix/linux_like/linux/
H A Dno_align.rs43 pub struct fanotify_event_metadata { structure names
H A Dalign.rs49 pub struct fanotify_event_metadata { structure names

Completed in 21 milliseconds