Searched defs:wd (Results 1 - 5 of 5) sorted by relevance

/systemd/src/udev/
H A Dudev-watch.c93 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...]
/systemd/src/journal/
H A Djournal-internal.h80 int wd; member in struct:Directory
/systemd/src/core/
H A Ddbus-execute.c589 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 Dexecute.c1453 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));
/systemd/src/basic/
H A Dterminal-util.c367 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)) {

Completed in 34 milliseconds