Searched refs:inotify_fd (Results 1 – 7 of 7) sorted by relevance
/external/selinux/restorecond/ |
D | utmpwatcher.c | 48 unsigned int utmpwatcher_handle(int inotify_fd, int wd) in utmpwatcher_handle() argument 68 inotify_rm_watch(inotify_fd, utmp_wd); in utmpwatcher_handle() 71 inotify_add_watch(inotify_fd, utmp_path, IN_MOVED_FROM | IN_MODIFY); in utmpwatcher_handle() 82 static void watch_file(int inotify_fd, const char *file) in watch_file() argument 92 watch_list_add(inotify_fd, path); in watch_file() 99 void utmpwatcher_add(int inotify_fd, const char *path) in utmpwatcher_add() argument 102 utmpwatcher_handle(inotify_fd, utmp_wd); in utmpwatcher_add() 104 watch_file(inotify_fd, path); in utmpwatcher_add()
|
D | utmpwatcher.h | 26 unsigned int utmpwatcher_handle(int inotify_fd, int wd); 27 void utmpwatcher_add(int inotify_fd, const char *path);
|
D | restorecond.h | 40 extern void watch_list_add(int inotify_fd, const char *path);
|
/external/adhd/cras/src/common/ |
D | cras_file_wait.c | 32 int inotify_fd; member 42 if (file_wait->inotify_fd < 0) in cras_file_wait_get_fd() 44 return file_wait->inotify_fd; in cras_file_wait_get_fd() 59 if (file_wait->inotify_fd >= 0) in cras_file_wait_destroy() 60 close(file_wait->inotify_fd); in cras_file_wait_destroy() 72 if (file_wait->inotify_fd >= 0 && file_wait->watch_id >= 0) { in cras_file_wait_rm_watch() 73 rc = inotify_rm_watch(file_wait->inotify_fd, in cras_file_wait_rm_watch() 143 if (file_wait->inotify_fd >= 0) { in cras_file_wait_dispatch() 145 read_rc = read(file_wait->inotify_fd, file_wait->event_buf, in cras_file_wait_dispatch() 178 if (file_wait->inotify_fd < 0) { in cras_file_wait_dispatch() [all …]
|
/external/ltp/testcases/kernel/syscalls/inotify/ |
D | inotify09.c | 85 int inotify_fd; in verify_inotify() local 88 inotify_fd = myinotify_init1(0); in verify_inotify() 89 if (inotify_fd < 0) in verify_inotify() 94 wd = myinotify_add_watch(inotify_fd, FNAME, IN_MODIFY); in verify_inotify() 99 wd = myinotify_rm_watch(inotify_fd, wd); in verify_inotify() 104 SAFE_CLOSE(inotify_fd); in verify_inotify()
|
D | inotify06.c | 68 int inotify_fd, fd; in verify_inotify() local 85 inotify_fd = myinotify_init1(O_NONBLOCK); in verify_inotify() 86 if (inotify_fd < 0) in verify_inotify() 96 myinotify_add_watch(inotify_fd, names[i], IN_MODIFY); in verify_inotify() 98 SAFE_CLOSE(inotify_fd); in verify_inotify()
|
/external/libchrome/base/files/ |
D | file_path_watcher_linux.cc | 50 InotifyReaderThreadDelegate(int inotify_fd) : inotify_fd_(inotify_fd){}; in InotifyReaderThreadDelegate() argument
|