Searched refs:wd (Results 1 - 11 of 11) sorted by relevance
/systemd/src/udev/ |
H A D | udev-watch.c | 93 int wd; local 100 wd = inotify_add_watch(inotify_fd, udev_device_get_devnode(dev), IN_CLOSE_WRITE); 101 if (wd < 0) { 107 xsprintf(filename, "/run/udev/watch/%d", wd); 114 udev_device_set_watch_handle(dev, wd); 118 int wd; local 124 wd = udev_device_get_watch_handle(dev); 125 if (wd < 0) 129 inotify_rm_watch(inotify_fd, wd); 131 xsprintf(filename, "/run/udev/watch/%d", wd); 137 udev_watch_lookup(struct udev *udev, int wd) argument [all...] |
H A D | udev.h | 102 struct udev_device *udev_watch_lookup(struct udev *udev, int wd);
|
H A D | udevd.c | 1142 dev = udev_watch_lookup(manager->udev, e->wd);
|
/systemd/src/journal/ |
H A D | journal-internal.h | 80 int wd; member in struct:Directory
|
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, 1427 if (m->wd > 0 && hashmap_put(j->directories_by_wd, INT_TO_PTR(m->wd), m) < 0) 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, 1511 if (m->wd > 0 && hashmap_put(j->directories_by_wd, INT_TO_PTR(m->wd), m) < 0) 1512 inotify_rm_watch(j->inotify_fd, m->wd); [all...] |
/systemd/src/basic/ |
H A D | terminal-util.c | 367 int fd = -1, notify = -1, r = 0, wd = -1; local 395 wd = inotify_add_watch(notify, name, IN_CLOSE); 396 if (wd < 0) { 481 if (e->wd != wd || !(e->mask & IN_CLOSE)) {
|
/systemd/src/core/ |
H A D | dbus-execute.c | 589 const char *wd; local 596 wd = "~"; 598 wd = c->working_directory; 601 wd = strjoina("!", wd); 603 return sd_bus_message_append(reply, "s", wd);
|
H A D | execute.c | 1453 const char *username = NULL, *home = NULL, *shell = NULL, *wd; local 1810 wd = home; 1812 wd = context->working_directory; 1814 wd = "/"; 1823 if (chdir(wd) < 0 && 1831 d = strjoina(strempty(context->root_directory), "/", strempty(wd));
|
H A D | path.c | 181 s->primary_wd == e->wd)
|
H A D | cgroup.c | 1226 if (e->wd < 0) 1234 u = hashmap_get(m->cgroup_inotify_wd_unit, INT_TO_PTR(e->wd));
|
/systemd/src/libsystemd/sd-network/ |
H A D | sd-network.c | 336 k = inotify_rm_watch(fd, e->wd);
|
Completed in 514 milliseconds