Searched refs:UDEV_ROOT_RUN (Results 1 – 15 of 15) sorted by relevance
/third_party/eudev/src/udev/ |
D | udev-watch.c | 53 if (rename(UDEV_ROOT_RUN "/udev/watch", UDEV_ROOT_RUN "/udev/watch.old") == 0) { in udev_watch_restore() 57 dir = opendir(UDEV_ROOT_RUN "/udev/watch.old"); in udev_watch_restore() 59 …log_error_errno(errno, "unable to open old watches dir " UDEV_ROOT_RUN "/udev/watch.old; old watch… in udev_watch_restore() 88 rmdir(UDEV_ROOT_RUN "/udev/watch.old"); in udev_watch_restore() 91 …log_error_errno(errno, "unable to move watches dir " UDEV_ROOT_RUN "/udev/watch; old watches will … in udev_watch_restore() 111 snprintf(filename, sizeof(filename), UDEV_ROOT_RUN "/udev/watch/%d", wd); in udev_watch_begin() 135 snprintf(filename, sizeof(filename), UDEV_ROOT_RUN "/udev/watch/%d", wd); in udev_watch_end() 149 snprintf(filename, sizeof(filename), UDEV_ROOT_RUN "/udev/watch/%d", wd); in udev_watch_lookup()
|
D | udevadm-info.c | 227 unlink(UDEV_ROOT_RUN "/udev/queue.bin"); in cleanup_db() 229 dir = opendir(UDEV_ROOT_RUN "/udev/data"); in cleanup_db() 235 dir = opendir(UDEV_ROOT_RUN "/udev/links"); in cleanup_db() 241 dir = opendir(UDEV_ROOT_RUN "/udev/tags"); in cleanup_db() 247 dir = opendir(UDEV_ROOT_RUN "/udev/static_node-tags"); in cleanup_db() 253 dir = opendir(UDEV_ROOT_RUN "/udev/watch"); in cleanup_db()
|
D | udevd.c | 1182 r = mkdir(UDEV_ROOT_RUN "/udev", 0755); in main() 1184 r = log_error_errno(errno, "could not create " UDEV_ROOT_RUN "/udev: %m"); in main() 1311 if (access(UDEV_ROOT_RUN "/udev/rules.d", F_OK) < 0) { in main() 1312 udev_mkdir_p(UDEV_ROOT_RUN "/udev/rules.d", 0755); in main() 1314 inotify_add_watch(fd_inotify, UDEV_ROOT_RUN "/udev/rules.d", in main() 1550 unlink(UDEV_ROOT_RUN "/udev/queue"); in main()
|
D | udev-node.c | 190 strscpyl(dirname, sizeof(dirname), UDEV_ROOT_RUN "/udev/links/", name_enc, NULL); in link_update()
|
D | udev-ctrl.c | 102 …strscpy(uctrl->saddr.un.sun_path, sizeof(uctrl->saddr.un.sun_path), UDEV_ROOT_RUN "/udev/control"); in udev_ctrl_new_from_fd()
|
D | udev-rules.c | 54 UDEV_ROOT_RUN "/udev/rules.d", 2696 … strscpyl(tags_dir, sizeof(tags_dir), UDEV_ROOT_RUN "/udev/static_node-tags/", *t, "/", NULL); in udev_rules_apply_static_dev_perms() 2760 if (ferror(f) || rename(path, UDEV_ROOT_RUN "/udev/static_node-tags") < 0) { in udev_rules_apply_static_dev_perms() 2762 unlink(UDEV_ROOT_RUN "/udev/static_node-tags"); in udev_rules_apply_static_dev_perms()
|
/third_party/eudev/src/libudev/ |
D | libudev-queue.c | 170 return access(UDEV_ROOT_RUN "/udev/control", F_OK) >= 0; in udev_queue_get_udev_is_active() 183 return access(UDEV_ROOT_RUN "/udev/queue", F_OK) < 0; in udev_queue_get_queue_is_empty() 248 r = inotify_add_watch(fd, UDEV_ROOT_RUN "/udev" , IN_DELETE); in udev_queue_get_fd()
|
D | libudev-device-private.c | 41 strscpyl(filename, sizeof(filename), UDEV_ROOT_RUN "/udev/tags/", tag, "/", id, NULL); in udev_device_tag() 118 strscpyl(filename, sizeof(filename), UDEV_ROOT_RUN "/udev/data/", id, NULL); in udev_device_update_db() 186 strscpyl(filename, sizeof(filename), UDEV_ROOT_RUN "/udev/data/", id, NULL); in udev_device_delete_db()
|
D | libudev-monitor.c | 148 if (access(UDEV_ROOT_RUN "/udev/control", F_OK) < 0) { in udev_monitor_new_from_netlink_fd()
|
D | libudev-enumerate.c | 801 …strscpyl(path, sizeof(path), UDEV_ROOT_RUN "/udev/tags/", udev_list_entry_get_name(list_entry), NU… in scan_devices_tags()
|
D | libudev-device.c | 613 strscpyl(filename, sizeof(filename), UDEV_ROOT_RUN "/udev/data/", id, NULL); in udev_device_read_db()
|
/third_party/eudev/test/ |
D | test-udev.c | 57 { "test/run", UDEV_ROOT_RUN, "failed to mount test " UDEV_ROOT_RUN }, in fake_filesystems()
|
/third_party/eudev/hm_src/ |
D | config.h | 9 #define UDEV_ROOT_RUN "/data/service/el1/public" macro
|
/third_party/eudev/src/shared/ |
D | virt.c | 71 r = read_one_line_file(UDEV_ROOT_RUN "/systemd/container", &m); in detect_container()
|
/third_party/eudev/src/collect/ |
D | collect.c | 425 strscpyl(tmpdir, sizeof(tmpdir), UDEV_ROOT_RUN "/udev/collect", NULL); in main()
|