Searched refs:inotify_fd (Results 1 - 7 of 7) sorted by relevance
/systemd/src/udev/ |
H A D | udev-watch.c | 30 static int inotify_fd = -1; variable 37 inotify_fd = inotify_init1(IN_CLOEXEC); 38 if (inotify_fd < 0) 40 return inotify_fd; 47 if (inotify_fd < 0) 96 if (inotify_fd < 0) 100 wd = inotify_add_watch(inotify_fd, udev_device_get_devnode(dev), IN_CLOSE_WRITE); 103 inotify_fd, udev_device_get_devnode(dev), IN_CLOSE_WRITE); 121 if (inotify_fd < 0) 129 inotify_rm_watch(inotify_fd, w [all...] |
/systemd/src/core/ |
H A D | path.h | 47 int inotify_fd; member in struct:PathSpec 59 return s->inotify_fd == fd;
|
H A D | path.c | 70 s->inotify_fd = inotify_init1(IN_NONBLOCK|IN_CLOEXEC); 71 if (s->inotify_fd < 0) { 76 r = sd_event_add_io(s->unit->manager->event, &s->event_source, s->inotify_fd, EPOLLIN, handler, s); 98 r = inotify_add_watch(s->inotify_fd, s->path, flags); 120 inotify_add_watch(s->inotify_fd, s->path, IN_MOVE_SELF); 157 s->inotify_fd = safe_close(s->inotify_fd); 171 l = read(s->inotify_fd, &buffer, sizeof(buffer)); 247 assert(s->inotify_fd == -1);
|
H A D | load-fragment.c | 1525 s->inotify_fd = -1;
|
H A D | service.c | 2460 ps->inotify_fd = -1;
|
/systemd/src/journal/ |
H A D | journal-internal.h | 100 int inotify_fd; member in struct:sd_journal
|
H A D | sd-journal.c | 1420 if (m->wd <= 0 && j->inotify_fd >= 0) { 1422 m->wd = inotify_add_watch(j->inotify_fd, m->path, 1428 inotify_rm_watch(j->inotify_fd, m->wd); 1505 if (m->wd <= 0 && j->inotify_fd >= 0) { 1507 m->wd = inotify_add_watch(j->inotify_fd, m->path, 1512 inotify_rm_watch(j->inotify_fd, m->wd); 1547 if (j->inotify_fd >= 0) 1548 inotify_rm_watch(j->inotify_fd, d->wd); 1610 if (j->inotify_fd < 0) { 1611 j->inotify_fd [all...] |
Completed in 920 milliseconds