Home
last modified time | relevance | path

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

/bootable/recovery/minui/
Devents.cpp113 struct inotify_event* pevent = reinterpret_cast<struct inotify_event*>(buf.data() + offset); in inotify_cb() local
114 if (offset + sizeof(inotify_event) + pevent->len > event_len) { in inotify_cb()
119 offset += sizeof(inotify_event) + pevent->len; in inotify_cb()
121 pevent->name[pevent->len] = '\0'; in inotify_cb()
122 if (strncmp(pevent->name, "event", 5)) { in inotify_cb()
126 android::base::unique_fd dfd(openat(dirfd(dir.get()), pevent->name, O_RDONLY)); in inotify_cb()