Searched defs:EVENT_SIZE (Results 1 - 12 of 12) sorted by relevance

/external/ltp/testcases/kernel/syscalls/fanotify/
H A Dfanotify01.c46 #define EVENT_SIZE (sizeof (struct fanotify_event_metadata)) macro
48 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE)
H A Dfanotify02.c46 #define EVENT_SIZE (sizeof (struct fanotify_event_metadata)) macro
48 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE)
H A Dfanotify06.c56 #define EVENT_SIZE (sizeof (struct fanotify_event_metadata)) macro
58 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE)
H A Dfanotify03.c50 #define EVENT_SIZE (sizeof (struct fanotify_event_metadata)) macro
52 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE)
H A Dfanotify04.c47 #define EVENT_SIZE (sizeof (struct fanotify_event_metadata)) macro
49 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE)
/external/ltp/testcases/kernel/syscalls/inotify/
H A Dinotify01.c50 #define EVENT_SIZE (sizeof (struct inotify_event)) macro
52 #define EVENT_BUF_LEN (EVENT_MAX * (EVENT_SIZE + 16))
175 i += EVENT_SIZE + event->len;
H A Dinotify03.c57 #define EVENT_SIZE (sizeof(struct inotify_event)) macro
59 #define EVENT_BUF_LEN (EVENT_MAX * (EVENT_SIZE + 16))
146 i += EVENT_SIZE + event->len;
H A Dinotify04.c59 #define EVENT_SIZE (sizeof(struct inotify_event)) macro
61 #define EVENT_BUF_LEN (EVENT_MAX * (EVENT_SIZE + 16))
252 i += EVENT_SIZE + event->len;
H A Dinotify05.c49 #define EVENT_SIZE (sizeof(struct inotify_event)) macro
50 #define EVENT_BUF_LEN (EVENT_SIZE * 16)
134 if ((int)(i + EVENT_SIZE) != len) {
147 i += EVENT_SIZE + event->len;
H A Dinotify02.c56 #define EVENT_SIZE (sizeof (struct inotify_event)) macro
58 #define EVENT_BUF_LEN (EVENT_MAX * (EVENT_SIZE + 16))
248 i += EVENT_SIZE + event->len;
/external/selinux/restorecond/
H A Duser.c105 #define EVENT_SIZE (sizeof (struct inotify_event)) macro
107 #define BUF_LEN (1024 * (EVENT_SIZE + 16))
142 i += EVENT_SIZE + event->len;
H A Dwatch.c24 #define EVENT_SIZE (sizeof (struct inotify_event)) macro
26 #define BUF_LEN (1024 * (EVENT_SIZE + 16))
213 i += EVENT_SIZE + event->len;

Completed in 166 milliseconds