Home | History | Annotate | Download | only in restorecond

Lines Matching refs:wd

30 	int wd;
84 ptr->wd = inotify_add_watch(fd, dir, IN_CREATE | IN_MOVED_TO);
85 if (ptr->wd == -1) {
104 printf("%d: Dir=%s, File=%s\n", ptr->wd, ptr->dir, file);
116 int watch_list_find(int wd, const char *file)
123 printf("%d: File=%s\n", wd, file);
125 if (ptr->wd == wd) {
157 inotify_rm_watch(fd, ptr->wd);
191 printf("wd=%d mask=%u cookie=%u len=%u\n",
192 event->wd, event->mask,
195 if (event->wd == master_wd)
198 switch (utmpwatcher_handle(fd, event->wd)) {
201 watch_list_find(event->wd, event->name);