/external/ltp/testcases/kernel/syscalls/fanotify/ |
D | fanotify01.c | 65 static char event_buf[EVENT_BUF_LEN]; variable 107 ret = SAFE_READ(cleanup, 0, fd_notify, event_buf, EVENT_BUF_LEN); in main() 125 ret = SAFE_READ(cleanup, 0, fd_notify, event_buf + len, in main() 153 ret = SAFE_READ(cleanup, 0, fd_notify, event_buf + len, in main() 176 ret = SAFE_READ(cleanup, 0, fd_notify, event_buf + len, in main() 209 ret = SAFE_READ(cleanup, 0, fd_notify, event_buf + len, in main() 229 ret = SAFE_READ(cleanup, 0, fd_notify, event_buf + len, in main() 246 event = (struct fanotify_event_metadata *)&event_buf[i]; in main()
|
D | fanotify02.c | 65 static char event_buf[EVENT_BUF_LEN]; variable 110 ret = SAFE_READ(cleanup, 0, fd_notify, event_buf, in main() 129 ret = SAFE_READ(cleanup, 0, fd_notify, event_buf + len, in main() 162 ret = SAFE_READ(cleanup, 0, fd_notify, event_buf + len, in main() 178 event = (struct fanotify_event_metadata *)&event_buf[i]; in main()
|
D | fanotify04.c | 66 static char event_buf[EVENT_BUF_LEN]; variable 141 ret = SAFE_READ(cleanup, 0, fd_notify, event_buf + len, in verify_event() 143 event = (struct fanotify_event_metadata *)&event_buf[len]; in verify_event() 179 ret = read(fd_notify, event_buf + len, EVENT_BUF_LEN - len); in verify_no_event() 183 event = (struct fanotify_event_metadata *)&event_buf[len]; in verify_no_event()
|
D | fanotify06.c | 82 static char event_buf[EVENT_BUF_LEN]; variable 197 ret = read(fd_notify[0][i], event_buf, EVENT_BUF_LEN); in main() 212 event = (struct fanotify_event_metadata *)event_buf; in main() 223 ret = read(fd_notify[p][i], event_buf, EVENT_BUF_LEN); in main()
|
D | fanotify03.c | 71 static char event_buf[EVENT_BUF_LEN]; variable 201 ret = read(fd_notify, event_buf + len, in main() 213 event = (struct fanotify_event_metadata *)&event_buf[i]; in main()
|
/external/ltp/testcases/kernel/syscalls/inotify/ |
D | inotify05.c | 62 static char event_buf[EVENT_BUF_LEN]; variable 93 len = read(fd_notify, event_buf, EVENT_BUF_LEN); in main() 107 event = (struct inotify_event *)&event_buf[i]; in main()
|
D | inotify03.c | 70 static char event_buf[EVENT_BUF_LEN]; variable 113 len = read(fd_notify, event_buf, EVENT_BUF_LEN); in main() 124 event = (struct inotify_event *)&event_buf[i]; in main()
|
D | inotify01.c | 67 static char event_buf[EVENT_BUF_LEN]; variable 140 if ((len = read(fd_notify, event_buf, EVENT_BUF_LEN)) < 0) { in main() 152 event = (struct inotify_event *)&event_buf[i]; in main()
|
D | inotify04.c | 76 char event_buf[EVENT_BUF_LEN]; variable 198 len = read(fd_notify, event_buf, EVENT_BUF_LEN); in main() 207 event = (struct inotify_event *)&event_buf[i]; in main()
|
D | inotify02.c | 78 static char event_buf[EVENT_BUF_LEN]; variable 186 if ((len = read(fd_notify, event_buf, EVENT_BUF_LEN)) == -1) { in main() 195 event = (struct inotify_event *)&event_buf[i]; in main()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_privsep.c | 529 u8 *buf, *event_buf; in wpa_driver_privsep_receive() local 557 event_buf = &buf[sizeof(int)]; in wpa_driver_privsep_receive() 572 event_buf, event_len); in wpa_driver_privsep_receive() 579 event_buf, event_len); in wpa_driver_privsep_receive() 583 drv->ctx, event_buf, event_len); in wpa_driver_privsep_receive() 586 wpa_driver_privsep_event_interface_status(drv->ctx, event_buf, in wpa_driver_privsep_receive() 590 wpa_driver_privsep_event_pmkid_candidate(drv->ctx, event_buf, in wpa_driver_privsep_receive() 594 wpa_driver_privsep_event_stkstart(drv->ctx, event_buf, in wpa_driver_privsep_receive() 598 wpa_driver_privsep_event_ft_response(drv->ctx, event_buf, in wpa_driver_privsep_receive() 602 wpa_driver_privsep_event_rx_eapol(drv->ctx, event_buf, in wpa_driver_privsep_receive() [all …]
|
D | driver_bsd.c | 54 char *event_buf; member 785 n = read(sock, global->event_buf, global->event_buf_len); in bsd_wireless_event_receive() 793 rtm = (struct rt_msghdr *) global->event_buf; in bsd_wireless_event_receive() 1224 n = read(sock, global->event_buf, global->event_buf_len); in wpa_driver_bsd_event_receive() 1232 rtm = (struct rt_msghdr *) global->event_buf; in wpa_driver_bsd_event_receive() 1687 global->event_buf = os_malloc(global->event_buf_len); in bsd_global_init() 1688 if (global->event_buf == NULL) { in bsd_global_init()
|