Searched defs:EVENT_BUF_LEN (Results 1 - 10 of 10) sorted by relevance

/external/ltp/testcases/kernel/syscalls/fanotify/
H A Dfanotify01.c53 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE) macro
65 static char event_buf[EVENT_BUF_LEN];
107 ret = SAFE_READ(cleanup, 0, fd_notify, event_buf, EVENT_BUF_LEN);
126 EVENT_BUF_LEN - len);
154 EVENT_BUF_LEN - len);
177 EVENT_BUF_LEN - len);
210 EVENT_BUF_LEN - len);
230 EVENT_BUF_LEN - len);
H A Dfanotify02.c53 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE) macro
65 static char event_buf[EVENT_BUF_LEN];
111 EVENT_BUF_LEN);
130 EVENT_BUF_LEN - len);
163 EVENT_BUF_LEN - len);
H A Dfanotify03.c56 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE) macro
71 static char event_buf[EVENT_BUF_LEN];
202 EVENT_BUF_LEN - len);
208 fd_notify, EVENT_BUF_LEN);
H A Dfanotify06.c61 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE) macro
82 static char event_buf[EVENT_BUF_LEN];
197 ret = read(fd_notify[0][i], event_buf, EVENT_BUF_LEN);
210 (int)EVENT_BUF_LEN);
223 ret = read(fd_notify[p][i], event_buf, EVENT_BUF_LEN);
H A Dfanotify04.c54 #define EVENT_BUF_LEN (EVENT_MAX * EVENT_SIZE) macro
66 static char event_buf[EVENT_BUF_LEN];
142 EVENT_BUF_LEN - len);
179 ret = read(fd_notify, event_buf + len, EVENT_BUF_LEN - len);
190 EVENT_BUF_LEN);
/external/ltp/testcases/kernel/syscalls/inotify/
H A Dinotify01.c51 #define EVENT_BUF_LEN (EVENT_MAX * (EVENT_SIZE + 16)) macro
67 static char event_buf[EVENT_BUF_LEN];
140 if ((len = read(fd_notify, event_buf, EVENT_BUF_LEN)) < 0) {
143 fd_notify, EVENT_BUF_LEN);
H A Dinotify03.c58 #define EVENT_BUF_LEN (EVENT_MAX * (EVENT_SIZE + 16)) macro
70 static char event_buf[EVENT_BUF_LEN];
113 len = read(fd_notify, event_buf, EVENT_BUF_LEN);
116 "read(%d, buf, %zu) failed", fd_notify, EVENT_BUF_LEN);
H A Dinotify04.c61 #define EVENT_BUF_LEN (EVENT_MAX * (EVENT_SIZE + 16)) macro
76 char event_buf[EVENT_BUF_LEN];
198 len = read(fd_notify, event_buf, EVENT_BUF_LEN);
H A Dinotify05.c50 #define EVENT_BUF_LEN (EVENT_SIZE * 16) macro
62 static char event_buf[EVENT_BUF_LEN];
93 len = read(fd_notify, event_buf, EVENT_BUF_LEN);
97 fd_notify, EVENT_BUF_LEN);
H A Dinotify02.c56 #define EVENT_BUF_LEN (EVENT_MAX * (EVENT_SIZE + 16)) macro
78 static char event_buf[EVENT_BUF_LEN];
186 if ((len = read(fd_notify, event_buf, EVENT_BUF_LEN)) == -1) {
189 fd_notify, EVENT_BUF_LEN);

Completed in 589 milliseconds