/third_party/ltp/testcases/kernel/syscalls/fanotify/ |
H A D | fanotify06.c | 48 #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 D | fanotify04.c | 28 #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 D | fanotify09.c | 55 #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 D | fanotify02.c | 29 #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 D | fanotify19.c | 32 #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 D | fanotify23.c | 29 #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 D | fanotify12.c | 31 #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 D | fanotify11.c | 60 struct fanotify_event_metadata event; in test01() 80 SAFE_READ(0, fd_notify, &event, sizeof(struct fanotify_event_metadata)); in test01()
|
H A D | fanotify22.c | 195 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 D | fanotify15.c | 35 #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 D | fanotify03.c | 33 #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 D | fanotify01.c | 29 #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 D | fanotify21.c | 161 struct fanotify_event_metadata *event; in do_test() 165 event = (struct fanotify_event_metadata *)&event_buf[i]; in do_test()
|
H A D | fanotify05.c | 66 static struct fanotify_event_metadata event; 68 static void event_res(struct fanotify_event_metadata *event, int i) in event_res()
|
H A D | fanotify10.c | 53 #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 D | fanotify13.c | 143 struct fanotify_event_metadata *metadata; in do_test() 201 for (i = 0, metadata = (struct fanotify_event_metadata *) events_buf; in do_test()
|
H A D | fanotify07.c | 128 struct fanotify_event_metadata event; in loose_fanotify_events()
|
H A D | fanotify16.c | 38 #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 D | fanotify.h | 298 struct fanotify_event_metadata *event, in get_event_info()
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | fanotify.h | 10 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 D | fanotify.h | 10 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 D | fanotify.h | 10 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 D | fanotify.h | 10 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 D | no_align.rs | 43 pub struct fanotify_event_metadata { structure names
|
H A D | align.rs | 49 pub struct fanotify_event_metadata { structure names
|