Home
last modified time | relevance | path

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

/third_party/eudev/src/udev/
Dudev-watch.c53 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()
Dudevadm-info.c227 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()
Dudevd.c1182 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()
Dudev-node.c190 strscpyl(dirname, sizeof(dirname), UDEV_ROOT_RUN "/udev/links/", name_enc, NULL); in link_update()
Dudev-ctrl.c102 …strscpy(uctrl->saddr.un.sun_path, sizeof(uctrl->saddr.un.sun_path), UDEV_ROOT_RUN "/udev/control"); in udev_ctrl_new_from_fd()
Dudev-rules.c54 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/
Dlibudev-queue.c170 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()
Dlibudev-device-private.c41 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()
Dlibudev-monitor.c148 if (access(UDEV_ROOT_RUN "/udev/control", F_OK) < 0) { in udev_monitor_new_from_netlink_fd()
Dlibudev-enumerate.c801 …strscpyl(path, sizeof(path), UDEV_ROOT_RUN "/udev/tags/", udev_list_entry_get_name(list_entry), NU… in scan_devices_tags()
Dlibudev-device.c613 strscpyl(filename, sizeof(filename), UDEV_ROOT_RUN "/udev/data/", id, NULL); in udev_device_read_db()
/third_party/eudev/test/
Dtest-udev.c57 { "test/run", UDEV_ROOT_RUN, "failed to mount test " UDEV_ROOT_RUN }, in fake_filesystems()
/third_party/eudev/hm_src/
Dconfig.h9 #define UDEV_ROOT_RUN "/data/service/el1/public" macro
/third_party/eudev/src/shared/
Dvirt.c71 r = read_one_line_file(UDEV_ROOT_RUN "/systemd/container", &m); in detect_container()
/third_party/eudev/src/collect/
Dcollect.c425 strscpyl(tmpdir, sizeof(tmpdir), UDEV_ROOT_RUN "/udev/collect", NULL); in main()