Searched refs:event_buf (Results 1 – 5 of 5) sorted by relevance
/system/core/toolbox/ |
D | notify.c | 16 char event_buf[512]; in notify_main() local 86 res = read(nfd, event_buf, sizeof(event_buf)); in notify_main() 96 event = (struct inotify_event *)(event_buf + event_pos); in notify_main()
|
D | getevent.c | 418 char event_buf[512]; in read_notify() local 423 res = read(nfd, event_buf, sizeof(event_buf)); in read_notify() 437 event = (struct inotify_event *)(event_buf + event_pos); in read_notify()
|
/system/core/debuggerd/ |
D | getevent.cpp | 109 char event_buf[512]; in read_notify() local 114 res = read(nfd, event_buf, sizeof(event_buf)); in read_notify() 127 event = reinterpret_cast<struct inotify_event*>(event_buf + event_pos); in read_notify()
|
/system/core/libusbhost/ |
D | usbhost.c | 226 char event_buf[512]; in usb_host_read_event() local 232 ret = read(context->fd, event_buf, sizeof(event_buf)); in usb_host_read_event() 235 event = (struct inotify_event*)&event_buf[offset]; in usb_host_read_event()
|
/system/core/sdcard/ |
D | sdcard.c | 1673 char event_buf[512]; in watch_package_list() local 1707 int res = read(nfd, event_buf, sizeof(event_buf)); in watch_package_list() 1717 event = (struct inotify_event *) (event_buf + event_pos); in watch_package_list()
|