/external/ltp/testcases/kernel/syscalls/fanotify/ |
D | fanotify01.c | 59 static char event_buf[EVENT_BUF_LEN]; variable 105 ret = SAFE_READ(0, fd_notify, event_buf, EVENT_BUF_LEN); in test_fanotify() 123 ret = SAFE_READ(0, fd_notify, event_buf + len, in test_fanotify() 151 ret = SAFE_READ(0, fd_notify, event_buf + len, in test_fanotify() 174 ret = SAFE_READ(0, fd_notify, event_buf + len, in test_fanotify() 206 ret = SAFE_READ(0, fd_notify, event_buf + len, in test_fanotify() 226 ret = SAFE_READ(0, fd_notify, event_buf + len, in test_fanotify() 243 event = (struct fanotify_event_metadata *)&event_buf[i]; in test_fanotify()
|
D | fanotify02.c | 41 static char event_buf[EVENT_BUF_LEN]; variable 79 ret = SAFE_READ(0, fd_notify, event_buf, in test01() 98 ret = SAFE_READ(0, fd_notify, event_buf + len, in test01() 131 ret = SAFE_READ(0, fd_notify, event_buf + len, in test01() 147 event = (struct fanotify_event_metadata *)&event_buf[i]; in test01()
|
D | fanotify04.c | 42 static char event_buf[EVENT_BUF_LEN]; variable 117 ret = SAFE_READ(0, fd_notify, event_buf + len, in verify_event() 119 event = (struct fanotify_event_metadata *)&event_buf[len]; in verify_event() 154 ret = read(fd_notify, event_buf + len, EVENT_BUF_LEN - len); in verify_no_event() 158 event = (struct fanotify_event_metadata *)&event_buf[len]; in verify_no_event()
|
D | fanotify06.c | 55 static char event_buf[EVENT_BUF_LEN]; variable 148 ret = read(fd_notify[0][i], event_buf, EVENT_BUF_LEN); in test01() 163 event = (struct fanotify_event_metadata *)event_buf; in test01() 176 ret = read(fd_notify[p][i], event_buf, EVENT_BUF_LEN); in test01()
|
D | fanotify09.c | 51 static char event_buf[EVENT_BUF_LEN]; variable 180 ret = read(fd_notify[0], event_buf, EVENT_BUF_LEN); in test_fanotify() 194 event = (struct fanotify_event_metadata *)event_buf; in test_fanotify() 216 ret = read(fd_notify[i], event_buf, FAN_EVENT_METADATA_LEN); in test_fanotify()
|
D | fanotify10.c | 53 static char event_buf[EVENT_BUF_LEN]; variable 253 ret = read(fd_notify[p][i], event_buf, EVENT_BUF_LEN); in test_fanotify() 269 event = (struct fanotify_event_metadata *)event_buf; in test_fanotify() 285 ret = read(fd_notify[p][i], event_buf, EVENT_BUF_LEN); in test_fanotify()
|
D | fanotify03.c | 48 static char event_buf[EVENT_BUF_LEN]; variable 204 ret = read(fd_notify, event_buf + len, in test_fanotify() 216 event = (struct fanotify_event_metadata *)&event_buf[i]; in test_fanotify()
|
/external/ltp/testcases/kernel/syscalls/inotify/ |
D | inotify05.c | 54 static char event_buf[EVENT_BUF_LEN]; variable 80 len = read(fd_notify, event_buf, EVENT_BUF_LEN); in verify_inotify() 94 event = (struct inotify_event *)&event_buf[i]; in verify_inotify()
|
D | inotify01.c | 61 static char event_buf[EVENT_BUF_LEN]; variable 114 if ((len = read(fd_notify, event_buf, EVENT_BUF_LEN)) < 0) { in verify_inotify() 126 event = (struct inotify_event *)&event_buf[i]; in verify_inotify()
|
D | inotify03.c | 63 static char event_buf[EVENT_BUF_LEN]; variable 104 len = read(fd_notify, event_buf, EVENT_BUF_LEN); in verify_inotify() 115 event = (struct inotify_event *)&event_buf[i]; in verify_inotify()
|
D | inotify08.c | 85 static char event_buf[EVENT_BUF_LEN]; variable 110 int len = read(fd_notify, event_buf, EVENT_BUF_LEN); in verify_inotify() 120 event = (struct inotify_event *)&event_buf[i]; in verify_inotify()
|
D | inotify07.c | 86 static char event_buf[EVENT_BUF_LEN]; variable 111 int len = read(fd_notify, event_buf, EVENT_BUF_LEN); in verify_inotify() 121 event = (struct inotify_event *)&event_buf[i]; in verify_inotify()
|
D | inotify04.c | 71 char event_buf[EVENT_BUF_LEN]; variable 166 len = read(fd_notify, event_buf, EVENT_BUF_LEN); in verify_inotify() 172 event = (struct inotify_event *)&event_buf[i]; in verify_inotify()
|
D | inotify02.c | 72 static char event_buf[EVENT_BUF_LEN]; variable 144 if ((len = read(fd_notify, event_buf, EVENT_BUF_LEN)) == -1) { in verify_inotify() 153 event = (struct inotify_event *)&event_buf[i]; in verify_inotify()
|
/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()
|