Home
last modified time | relevance | path

Searched refs:EVENT_SIZE (Results 1 – 22 of 22) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify04.c28 #define EVENT_SIZE (sizeof(struct fanotify_event_metadata)) macro
37 static char event_buf[EVENT_SIZE];
106 SAFE_READ(0, fd_notify, event_buf, EVENT_SIZE); in verify_event()
140 ret = read(fd_notify, event_buf, EVENT_SIZE); in verify_no_event()
152 EVENT_SIZE); in verify_no_event()
Dfanotify02.c29 #define EVENT_SIZE (sizeof(struct fanotify_event_metadata)) macro
31 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE)
Dfanotify12.c31 #define EVENT_SIZE (sizeof(struct fanotify_event_metadata)) macro
32 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE)
Dfanotify23.c29 #define EVENT_SIZE (sizeof(struct fanotify_event_metadata)) macro
31 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE)
Dfanotify19.c32 #define EVENT_SIZE (sizeof(struct fanotify_event_metadata)) macro
33 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE)
Dfanotify06.c48 #define EVENT_SIZE (sizeof(struct fanotify_event_metadata)) macro
50 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE)
Dfanotify03.c33 #define EVENT_SIZE (sizeof(struct fanotify_event_metadata)) macro
35 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE)
Dfanotify15.c35 #define EVENT_SIZE (sizeof(struct fanotify_event_metadata) + \ macro
39 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE * 2)
Dfanotify01.c29 #define EVENT_SIZE (sizeof(struct fanotify_event_metadata)) macro
31 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE)
Dfanotify09.c55 #define EVENT_SIZE (sizeof(struct fanotify_event_metadata)) macro
57 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE)
Dfanotify16.c38 #define EVENT_SIZE (sizeof(struct fanotify_event_metadata) + \ macro
42 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE * 3)
Dfanotify10.c53 #define EVENT_SIZE (sizeof(struct fanotify_event_metadata)) macro
55 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE)
/third_party/ltp/testcases/kernel/syscalls/inotify/
Dinotify05.c29 #define EVENT_SIZE (sizeof(struct inotify_event)) macro
30 #define EVENT_BUF_LEN (EVENT_SIZE * 16)
106 if ((int)(i + EVENT_SIZE) != len) { in verify_inotify()
119 i += EVENT_SIZE + event->len; in verify_inotify()
Dinotify11.c39 #define EVENT_SIZE (sizeof(struct inotify_event)) macro
40 #define EVENT_BUF_LEN (EVENT_MAX * (EVENT_SIZE + 16))
79 for (i = 0; i < len; i += EVENT_SIZE + event->len) { in verify_inotify()
Dinotify01.c29 #define EVENT_SIZE (sizeof (struct inotify_event)) macro
31 #define EVENT_BUF_LEN (EVENT_MAX * (EVENT_SIZE + 16))
130 i += EVENT_SIZE + event->len; in verify_inotify()
Dinotify03.c33 #define EVENT_SIZE (sizeof(struct inotify_event)) macro
35 #define EVENT_BUF_LEN (EVENT_MAX * (EVENT_SIZE + 16))
112 i += EVENT_SIZE + event->len; in verify_inotify()
Dinotify08.c45 #define EVENT_SIZE (sizeof (struct inotify_event)) macro
47 #define EVENT_BUF_LEN (EVENT_MAX * (EVENT_SIZE + 16))
122 i += EVENT_SIZE + event->len; in verify_inotify()
Dinotify04.c32 #define EVENT_SIZE (sizeof(struct inotify_event)) macro
34 #define EVENT_BUF_LEN (EVENT_MAX * (EVENT_SIZE + 16))
156 i += EVENT_SIZE + event->len; in verify_inotify()
Dinotify07.c44 #define EVENT_SIZE (sizeof (struct inotify_event)) macro
46 #define EVENT_BUF_LEN (EVENT_MAX * (EVENT_SIZE + 16))
130 i += EVENT_SIZE + event->len; in verify_inotify()
Dinotify10.c31 #define EVENT_SIZE (sizeof(struct inotify_event)) macro
32 #define EVENT_BUF_LEN (EVENT_MAX * (EVENT_SIZE + 16))
179 i += EVENT_SIZE + event->len; in verify_inotify()
Dinotify02.c35 #define EVENT_SIZE (sizeof (struct inotify_event)) macro
37 #define EVENT_BUF_LEN (EVENT_MAX * (EVENT_SIZE + 16))
192 i += EVENT_SIZE + event->len; in verify_inotify()
Dinotify12.c33 #define EVENT_SIZE (sizeof(struct inotify_event)) macro
34 #define EVENT_BUF_LEN (EVENT_MAX * (EVENT_SIZE + 16))