Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/inotify/
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) { in main()
147 i += EVENT_SIZE + event->len; in main()
Dinotify01.c49 #define EVENT_SIZE (sizeof (struct inotify_event)) macro
51 #define EVENT_BUF_LEN (EVENT_MAX * (EVENT_SIZE + 16))
181 i += EVENT_SIZE + event->len; in main()
Dinotify03.c56 #define EVENT_SIZE (sizeof(struct inotify_event)) macro
58 #define EVENT_BUF_LEN (EVENT_MAX * (EVENT_SIZE + 16))
145 i += EVENT_SIZE + event->len; in main()
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; in main()
Dinotify02.c54 #define EVENT_SIZE (sizeof (struct inotify_event)) macro
56 #define EVENT_BUF_LEN (EVENT_MAX * (EVENT_SIZE + 16))
268 i += EVENT_SIZE + event->len; in main()
/external/selinux/restorecond/
Duser.c105 #define EVENT_SIZE (sizeof (struct inotify_event)) macro
107 #define BUF_LEN (1024 * (EVENT_SIZE + 16))
142 i += EVENT_SIZE + event->len; in io_channel_callback()
Dwatch.c24 #define EVENT_SIZE (sizeof (struct inotify_event)) macro
26 #define BUF_LEN (1024 * (EVENT_SIZE + 16))
213 i += EVENT_SIZE + event->len; in watch()
/external/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify02.c51 #define EVENT_SIZE (sizeof (struct fanotify_event_metadata)) macro
53 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE)
Dfanotify03.c54 #define EVENT_SIZE (sizeof (struct fanotify_event_metadata)) macro
56 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE)
Dfanotify04.c52 #define EVENT_SIZE (sizeof (struct fanotify_event_metadata)) macro
54 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE)
Dfanotify06.c59 #define EVENT_SIZE (sizeof (struct fanotify_event_metadata)) macro
61 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE)
Dfanotify01.c51 #define EVENT_SIZE (sizeof (struct fanotify_event_metadata)) macro
53 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE)