Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify01.c59 static char event_buf[EVENT_BUF_LEN]; variable
94 ret = SAFE_READ(0, fd_notify, event_buf, EVENT_BUF_LEN); in test01()
112 ret = SAFE_READ(0, fd_notify, event_buf + len, in test01()
140 ret = SAFE_READ(0, fd_notify, event_buf + len, in test01()
163 ret = SAFE_READ(0, fd_notify, event_buf + len, in test01()
196 ret = SAFE_READ(0, fd_notify, event_buf + len, in test01()
216 ret = SAFE_READ(0, fd_notify, event_buf + len, in test01()
233 event = (struct fanotify_event_metadata *)&event_buf[i]; in test01()
Dfanotify02.c59 static char event_buf[EVENT_BUF_LEN]; variable
97 ret = SAFE_READ(0, fd_notify, event_buf, in test01()
116 ret = SAFE_READ(0, fd_notify, event_buf + len, in test01()
149 ret = SAFE_READ(0, fd_notify, event_buf + len, in test01()
165 event = (struct fanotify_event_metadata *)&event_buf[i]; in test01()
Dfanotify04.c60 static char event_buf[EVENT_BUF_LEN]; variable
133 ret = SAFE_READ(0, fd_notify, event_buf + len, in verify_event()
135 event = (struct fanotify_event_metadata *)&event_buf[len]; in verify_event()
169 ret = read(fd_notify, event_buf + len, EVENT_BUF_LEN - len); in verify_no_event()
173 event = (struct fanotify_event_metadata *)&event_buf[len]; in verify_no_event()
Dfanotify06.c77 static char event_buf[EVENT_BUF_LEN]; variable
176 ret = read(fd_notify[0][i], event_buf, EVENT_BUF_LEN); in test01()
191 event = (struct fanotify_event_metadata *)event_buf; in test01()
202 ret = read(fd_notify[p][i], event_buf, EVENT_BUF_LEN); in test01()
Dfanotify03.c66 static char event_buf[EVENT_BUF_LEN]; variable
174 ret = read(fd_notify, event_buf + len, in test01()
186 event = (struct fanotify_event_metadata *)&event_buf[i]; in test01()
/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.c71 static char event_buf[EVENT_BUF_LEN]; variable
114 len = read(fd_notify, event_buf, EVENT_BUF_LEN); in main()
125 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()
Dinotify01.c68 static char event_buf[EVENT_BUF_LEN]; variable
134 if ((len = read(fd_notify, event_buf, EVENT_BUF_LEN)) < 0) { in main()
146 event = (struct inotify_event *)&event_buf[i]; in main()
Dinotify02.c80 static char event_buf[EVENT_BUF_LEN]; variable
166 if ((len = read(fd_notify, event_buf, EVENT_BUF_LEN)) == -1) { in main()
175 event = (struct inotify_event *)&event_buf[i]; in main()
/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()