Searched defs:EVENT_BUF_LEN (Results 1 - 10 of 10) sorted by relevance
/external/ltp/testcases/kernel/syscalls/fanotify/ |
H A D | fanotify01.c | 53 #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 D | fanotify02.c | 53 #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 D | fanotify03.c | 56 #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 D | fanotify06.c | 61 #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 D | fanotify04.c | 54 #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 D | inotify01.c | 51 #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 D | inotify03.c | 58 #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 D | inotify04.c | 61 #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 D | inotify05.c | 50 #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 D | inotify02.c | 56 #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