Home
last modified time | relevance | path

Searched refs:event_buf (Results 1 – 17 of 17) sorted by relevance

/external/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify01.c59 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()
Dfanotify02.c41 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()
Dfanotify04.c42 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()
Dfanotify06.c55 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()
Dfanotify09.c51 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()
Dfanotify10.c53 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()
Dfanotify03.c48 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/
Dinotify05.c54 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()
Dinotify01.c61 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()
Dinotify03.c63 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()
Dinotify08.c85 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()
Dinotify07.c86 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()
Dinotify04.c71 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()
Dinotify02.c72 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/
Ddriver_privsep.c515 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()
Ddriver_bsd.c54 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/
Dcras_file_wait.c34 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()