Searched refs:event_buf (Results 1 - 16 of 16) sorted by relevance

/external/ltp/testcases/kernel/syscalls/fanotify/
H A Dfanotify01.c65 static char event_buf[EVENT_BUF_LEN]; variable
107 ret = SAFE_READ(cleanup, 0, fd_notify, event_buf, EVENT_BUF_LEN);
125 ret = SAFE_READ(cleanup, 0, fd_notify, event_buf + len,
153 ret = SAFE_READ(cleanup, 0, fd_notify, event_buf + len,
176 ret = SAFE_READ(cleanup, 0, fd_notify, event_buf + len,
209 ret = SAFE_READ(cleanup, 0, fd_notify, event_buf + len,
229 ret = SAFE_READ(cleanup, 0, fd_notify, event_buf + len,
246 event = (struct fanotify_event_metadata *)&event_buf[i];
H A Dfanotify02.c65 static char event_buf[EVENT_BUF_LEN]; variable
110 ret = SAFE_READ(cleanup, 0, fd_notify, event_buf,
129 ret = SAFE_READ(cleanup, 0, fd_notify, event_buf + len,
162 ret = SAFE_READ(cleanup, 0, fd_notify, event_buf + len,
178 event = (struct fanotify_event_metadata *)&event_buf[i];
H A Dfanotify04.c66 static char event_buf[EVENT_BUF_LEN]; variable
141 ret = SAFE_READ(cleanup, 0, fd_notify, event_buf + len,
143 event = (struct fanotify_event_metadata *)&event_buf[len];
179 ret = read(fd_notify, event_buf + len, EVENT_BUF_LEN - len);
183 event = (struct fanotify_event_metadata *)&event_buf[len];
H A Dfanotify06.c82 static char event_buf[EVENT_BUF_LEN]; variable
197 ret = read(fd_notify[0][i], event_buf, EVENT_BUF_LEN);
212 event = (struct fanotify_event_metadata *)event_buf;
223 ret = read(fd_notify[p][i], event_buf, EVENT_BUF_LEN);
H A Dfanotify03.c71 static char event_buf[EVENT_BUF_LEN]; variable
201 ret = read(fd_notify, event_buf + len,
213 event = (struct fanotify_event_metadata *)&event_buf[i];
/external/ltp/testcases/kernel/syscalls/inotify/
H A Dinotify01.c67 static char event_buf[EVENT_BUF_LEN]; variable
140 if ((len = read(fd_notify, event_buf, EVENT_BUF_LEN)) < 0) {
152 event = (struct inotify_event *)&event_buf[i];
H A Dinotify03.c70 static char event_buf[EVENT_BUF_LEN]; variable
113 len = read(fd_notify, event_buf, EVENT_BUF_LEN);
124 event = (struct inotify_event *)&event_buf[i];
H A Dinotify04.c76 char event_buf[EVENT_BUF_LEN]; variable
198 len = read(fd_notify, event_buf, EVENT_BUF_LEN);
207 event = (struct inotify_event *)&event_buf[i];
H A Dinotify05.c62 static char event_buf[EVENT_BUF_LEN]; variable
93 len = read(fd_notify, event_buf, EVENT_BUF_LEN);
107 event = (struct inotify_event *)&event_buf[i];
H A Dinotify02.c78 static char event_buf[EVENT_BUF_LEN]; variable
186 if ((len = read(fd_notify, event_buf, EVENT_BUF_LEN)) == -1) {
195 event = (struct inotify_event *)&event_buf[i];
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Ddriver_privsep.c529 u8 *buf, *event_buf; local
557 event_buf = &buf[sizeof(int)];
572 event_buf, event_len);
579 event_buf, event_len);
583 drv->ctx, event_buf, event_len);
586 wpa_driver_privsep_event_interface_status(drv->ctx, event_buf,
590 wpa_driver_privsep_event_pmkid_candidate(drv->ctx, event_buf,
594 wpa_driver_privsep_event_stkstart(drv->ctx, event_buf,
598 wpa_driver_privsep_event_ft_response(drv->ctx, event_buf,
602 wpa_driver_privsep_event_rx_eapol(drv->ctx, event_buf,
[all...]
H A Ddriver_bsd.c54 char *event_buf; member in struct:bsd_driver_global
785 n = read(sock, global->event_buf, global->event_buf_len);
793 rtm = (struct rt_msghdr *) global->event_buf;
1224 n = read(sock, global->event_buf, global->event_buf_len);
1232 rtm = (struct rt_msghdr *) global->event_buf;
1687 global->event_buf = os_malloc(global->event_buf_len);
1688 if (global->event_buf == NULL) {
/external/wpa_supplicant_8/src/drivers/
H A Ddriver_privsep.c529 u8 *buf, *event_buf; local
557 event_buf = &buf[sizeof(int)];
572 event_buf, event_len);
579 event_buf, event_len);
583 drv->ctx, event_buf, event_len);
586 wpa_driver_privsep_event_interface_status(drv->ctx, event_buf,
590 wpa_driver_privsep_event_pmkid_candidate(drv->ctx, event_buf,
594 wpa_driver_privsep_event_stkstart(drv->ctx, event_buf,
598 wpa_driver_privsep_event_ft_response(drv->ctx, event_buf,
602 wpa_driver_privsep_event_rx_eapol(drv->ctx, event_buf,
[all...]
H A Ddriver_bsd.c54 char *event_buf; member in struct:bsd_driver_global
785 n = read(sock, global->event_buf, global->event_buf_len);
793 rtm = (struct rt_msghdr *) global->event_buf;
1224 n = read(sock, global->event_buf, global->event_buf_len);
1232 rtm = (struct rt_msghdr *) global->event_buf;
1687 global->event_buf = os_malloc(global->event_buf_len);
1688 if (global->event_buf == NULL) {
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Ddriver_privsep.c529 u8 *buf, *event_buf; local
557 event_buf = &buf[sizeof(int)];
572 event_buf, event_len);
579 event_buf, event_len);
583 drv->ctx, event_buf, event_len);
586 wpa_driver_privsep_event_interface_status(drv->ctx, event_buf,
590 wpa_driver_privsep_event_pmkid_candidate(drv->ctx, event_buf,
594 wpa_driver_privsep_event_stkstart(drv->ctx, event_buf,
598 wpa_driver_privsep_event_ft_response(drv->ctx, event_buf,
602 wpa_driver_privsep_event_rx_eapol(drv->ctx, event_buf,
[all...]
H A Ddriver_bsd.c54 char *event_buf; member in struct:bsd_driver_global
785 n = read(sock, global->event_buf, global->event_buf_len);
793 rtm = (struct rt_msghdr *) global->event_buf;
1224 n = read(sock, global->event_buf, global->event_buf_len);
1232 rtm = (struct rt_msghdr *) global->event_buf;
1687 global->event_buf = os_malloc(global->event_buf_len);
1688 if (global->event_buf == NULL) {

Completed in 305 milliseconds