Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify01.c65 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()
Dfanotify02.c65 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()
Dfanotify04.c66 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()
Dfanotify06.c82 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()
Dfanotify03.c71 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/
Dinotify05.c62 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()
Dinotify03.c70 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()
Dinotify01.c67 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()
Dinotify04.c76 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()
Dinotify02.c78 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/
Ddriver_privsep.c529 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 …]
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()