/external/ltp/testcases/kernel/syscalls/fanotify/ |
D | fanotify01.c | 59 static char event_buf[EVENT_BUF_LEN]; variable 94 ret = SAFE_READ(0, fd_notify, event_buf, EVENT_BUF_LEN); in test01() 112 ret = SAFE_READ(0, fd_notify, event_buf + len, in test01() 140 ret = SAFE_READ(0, fd_notify, event_buf + len, in test01() 163 ret = SAFE_READ(0, fd_notify, event_buf + len, in test01() 196 ret = SAFE_READ(0, fd_notify, event_buf + len, in test01() 216 ret = SAFE_READ(0, fd_notify, event_buf + len, in test01() 233 event = (struct fanotify_event_metadata *)&event_buf[i]; in test01()
|
D | fanotify02.c | 59 static char event_buf[EVENT_BUF_LEN]; variable 97 ret = SAFE_READ(0, fd_notify, event_buf, in test01() 116 ret = SAFE_READ(0, fd_notify, event_buf + len, in test01() 149 ret = SAFE_READ(0, fd_notify, event_buf + len, in test01() 165 event = (struct fanotify_event_metadata *)&event_buf[i]; in test01()
|
D | fanotify04.c | 60 static char event_buf[EVENT_BUF_LEN]; variable 133 ret = SAFE_READ(0, fd_notify, event_buf + len, in verify_event() 135 event = (struct fanotify_event_metadata *)&event_buf[len]; in verify_event() 169 ret = read(fd_notify, event_buf + len, EVENT_BUF_LEN - len); in verify_no_event() 173 event = (struct fanotify_event_metadata *)&event_buf[len]; in verify_no_event()
|
D | fanotify06.c | 77 static char event_buf[EVENT_BUF_LEN]; variable 176 ret = read(fd_notify[0][i], event_buf, EVENT_BUF_LEN); in test01() 191 event = (struct fanotify_event_metadata *)event_buf; in test01() 202 ret = read(fd_notify[p][i], event_buf, EVENT_BUF_LEN); in test01()
|
D | fanotify03.c | 66 static char event_buf[EVENT_BUF_LEN]; variable 174 ret = read(fd_notify, event_buf + len, in test01() 186 event = (struct fanotify_event_metadata *)&event_buf[i]; in test01()
|
/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 | 71 static char event_buf[EVENT_BUF_LEN]; variable 114 len = read(fd_notify, event_buf, EVENT_BUF_LEN); in main() 125 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 | inotify01.c | 68 static char event_buf[EVENT_BUF_LEN]; variable 134 if ((len = read(fd_notify, event_buf, EVENT_BUF_LEN)) < 0) { in main() 146 event = (struct inotify_event *)&event_buf[i]; in main()
|
D | inotify02.c | 80 static char event_buf[EVENT_BUF_LEN]; variable 166 if ((len = read(fd_notify, event_buf, EVENT_BUF_LEN)) == -1) { in main() 175 event = (struct inotify_event *)&event_buf[i]; in main()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_privsep.c | 515 u8 *buf, *event_buf; in wpa_driver_privsep_receive() local 543 event_buf = &buf[sizeof(int)]; in wpa_driver_privsep_receive() 558 event_buf, event_len); in wpa_driver_privsep_receive() 565 event_buf, event_len); in wpa_driver_privsep_receive() 569 drv->ctx, event_buf, event_len); in wpa_driver_privsep_receive() 572 wpa_driver_privsep_event_interface_status(drv->ctx, event_buf, in wpa_driver_privsep_receive() 576 wpa_driver_privsep_event_pmkid_candidate(drv->ctx, event_buf, in wpa_driver_privsep_receive() 580 wpa_driver_privsep_event_ft_response(drv->ctx, event_buf, in wpa_driver_privsep_receive() 584 wpa_driver_privsep_event_rx_eapol(drv->ctx, event_buf, in wpa_driver_privsep_receive() 588 wpa_driver_privsep_event_auth(drv->ctx, event_buf, event_len); in wpa_driver_privsep_receive()
|
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()
|
/external/adhd/cras/src/common/ |
D | cras_file_wait.c | 34 char event_buf[CRAS_FILE_WAIT_EVENT_SIZE]; member 145 read_rc = read(file_wait->inotify_fd, file_wait->event_buf, in cras_file_wait_dispatch() 162 (file_wait->event_buf + read_offset); in cras_file_wait_dispatch()
|