Home
last modified time | relevance | path

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

/system/logging/logd/
DPkgIds.cpp72 unique_fd nfd(inotify_init1(IN_CLOEXEC)); in WatchPackageList() local
73 if (nfd == -1) { in WatchPackageList()
82 int ret = inotify_add_watch(nfd, PACKAGES_LIST_FILE, IN_DELETE_SELF); in WatchPackageList()
101 ssize_t res = TEMP_FAILURE_RETRY(read(nfd, event_buf, sizeof(event_buf))); in WatchPackageList()
/system/core/toolbox/
Dgetevent.c431 static int read_notify(const char *dirname, int nfd, int print_flags) in read_notify() argument
441 res = read(nfd, event_buf, sizeof(event_buf)); in read_notify()