/external/ltp/testcases/kernel/syscalls/fanotify/ |
H A D | fanotify01.c | 65 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 D | fanotify02.c | 65 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 D | fanotify04.c | 66 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 D | fanotify06.c | 82 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 D | fanotify03.c | 71 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 D | inotify01.c | 67 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 D | inotify03.c | 70 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 D | inotify04.c | 76 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 D | inotify05.c | 62 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 D | inotify02.c | 78 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 D | driver_privsep.c | 529 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 D | driver_bsd.c | 54 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 D | driver_privsep.c | 529 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 D | driver_bsd.c | 54 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 D | driver_privsep.c | 529 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 D | driver_bsd.c | 54 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) {
|