Home
last modified time | relevance | path

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

/third_party/mtdev/src/
Diobuf.c45 if (n < EVENT_SIZE) { in mtdev_fetch_event()
56 if (buf->head - buf->tail < EVENT_SIZE) in mtdev_fetch_event()
58 memcpy(ev, buf->data + buf->tail, EVENT_SIZE); in mtdev_fetch_event()
59 buf->tail += EVENT_SIZE; in mtdev_fetch_event()
Diobuf.h34 #define EVENT_SIZE sizeof(struct input_event) macro
35 #define DIM_BUFFER (DIM_EVENTS * 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()
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()
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()
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()
Dinotify04.c32 #define EVENT_SIZE (sizeof(struct inotify_event)) macro
34 #define EVENT_BUF_LEN (EVENT_MAX * (EVENT_SIZE + 16))
177 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))
207 i += EVENT_SIZE + event->len; in verify_inotify()
/third_party/ltp/testcases/kernel/syscalls/fanotify/
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)
Dfanotify19.c32 #define EVENT_SIZE (sizeof (struct fanotify_event_metadata)) macro
33 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE)
Dfanotify04.c29 #define EVENT_SIZE (sizeof (struct fanotify_event_metadata)) macro
31 #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)
Dfanotify15.c35 #define EVENT_SIZE (sizeof(struct fanotify_event_metadata) + \ macro
38 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE * 2)
Dfanotify03.c33 #define EVENT_SIZE (sizeof (struct fanotify_event_metadata)) macro
35 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE)
Dfanotify01.c29 #define EVENT_SIZE (sizeof (struct fanotify_event_metadata)) macro
31 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE)
Dfanotify09.c50 #define EVENT_SIZE (sizeof (struct fanotify_event_metadata)) macro
52 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE)
Dfanotify10.c52 #define EVENT_SIZE (sizeof (struct fanotify_event_metadata)) macro
54 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE)
Dfanotify16.c37 #define EVENT_SIZE (sizeof(struct fanotify_event_metadata) + \ macro
40 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE * 3)