Home
last modified time | relevance | path

Searched refs:path_wd (Results 1 – 1 of 1) sorted by relevance

/systemd-251/src/libsystemd/sd-device/
Ddevice-private.c612 char path_wd[STRLEN("/run/udev/watch/") + DECIMAL_STR_MAX(int)]; in device_get_watch_handle() local
639 xsprintf(path_wd, "/run/udev/watch/%d", wd); in device_get_watch_handle()
640 r = readlink_malloc(path_wd, &buf); in device_get_watch_handle()
659 char path_wd[STRLEN("/run/udev/watch/") + DECIMAL_STR_MAX(int)]; in device_remove_watch_handle() local
661 xsprintf(path_wd, "/run/udev/watch/%d", wd); in device_remove_watch_handle()
662 if (unlink(path_wd) < 0 && errno != ENOENT) in device_remove_watch_handle()
665 path_wd); in device_remove_watch_handle()
683 char path_wd[STRLEN("/run/udev/watch/") + DECIMAL_STR_MAX(int)]; in device_set_watch_handle() local
703 xsprintf(path_wd, "/run/udev/watch/%d", wd); in device_set_watch_handle()
705 r = mkdir_parents(path_wd, 0755); in device_set_watch_handle()
[all …]