/systemd-251/src/shared/ |
D | generator.c | 101 r = unit_name_from_path(what, ".device", &device); in write_fsck_sysroot_service() 273 r = unit_name_from_path(node, ".device", &unit); in generator_write_timeouts() 315 r = unit_name_from_path(node, ".device", &unit); in generator_write_device_deps() 334 r = unit_name_from_path(what, ".device", &unit); in generator_write_initrd_root_device_deps() 380 r = unit_name_from_path(what, ".swap", &where_unit); in generator_hook_up_mkswap() 455 r = unit_name_from_path(where, ".mount", &where_unit); in generator_hook_up_mkfs() 518 r = unit_name_from_path(where, ".mount", &where_unit); in generator_hook_up_growfs()
|
/systemd-251/src/veritysetup/ |
D | veritysetup-generator.c | 98 r = unit_name_from_path(u, ".device", &d); in create_device() 101 r = unit_name_from_path(v, ".device", &e); in create_device() 369 r = unit_name_from_path(du, ".device", &dd); in create_disk() 373 r = unit_name_from_path(hu, ".device", &hd); in create_disk()
|
/systemd-251/src/cryptsetup/ |
D | cryptsetup-generator.c | 144 r = unit_name_from_path(where, ".mount", &u); in generate_device_mount() 163 r = unit_name_from_path(device, ".device", &device_unit); in generate_device_mount() 207 r = unit_name_from_path(device_mount, ".mount", &mount); in generate_device_umount() 258 r = unit_name_from_path(udev_node, ".device", &unit); in print_dependencies() 349 r = unit_name_from_path(u, ".device", &d); in create_disk()
|
/systemd-251/src/gpt-auto-generator/ |
D | gpt-auto-generator.c | 118 r = unit_name_from_path(what, ".device", &d); in add_cryptsetup() 228 r = unit_name_from_path(where, ".mount", &unit); in add_mount() 371 r = unit_name_from_path(what, ".swap", &name); in add_swap() 441 r = unit_name_from_path(where, ".automount", &unit); in add_automount()
|
/systemd-251/src/mount/ |
D | mount-tool.c | 439 r = unit_name_from_path(arg_mount_what, ".device", &device_unit); in transient_unit_set_properties() 556 r = unit_name_from_path(arg_mount_where, ".mount", &mount_unit); in start_transient_mount() 633 r = unit_name_from_path(arg_mount_where, ".automount", &automount_unit); in start_transient_automount() 637 r = unit_name_from_path(arg_mount_where, ".mount", &mount_unit); in start_transient_automount() 844 r = unit_name_from_path(where, suffix, &mount_unit); in stop_mount()
|
/systemd-251/src/basic/ |
D | unit-name.c | 580 int unit_name_from_path(const char *path, const char *suffix, char **ret) { in unit_name_from_path() function 734 r = unit_name_from_path(name, ".device", ret); in unit_name_mangle_with_suffix() 742 r = unit_name_from_path(name, ".mount", ret); in unit_name_mangle_with_suffix()
|
D | unit-name.h | 50 int unit_name_from_path(const char *path, const char *suffix, char **ret);
|
/systemd-251/src/hibernate-resume/ |
D | hibernate-resume-generator.c | 91 r = unit_name_from_path(arg_resume_device, ".device", &device_unit); in process_resume()
|
/systemd-251/src/fstab-generator/ |
D | fstab-generator.c | 121 r = unit_name_from_path(what, ".swap", &name); in add_swap() 405 r = unit_name_from_path(where, ".mount", &name); in add_mount() 533 r = unit_name_from_path(where, ".automount", &automount_name); in add_mount()
|
/systemd-251/src/integritysetup/ |
D | integritysetup-generator.c | 57 r = unit_name_from_path(device, ".device", &dd); in create_disk()
|
/systemd-251/src/core/ |
D | swap.c | 284 r = unit_name_from_path(s->what, ".swap", &e); in swap_verify() 426 r = unit_name_from_path(what, ".swap", &e); in swap_setup_unit() 1425 r = unit_name_from_path(dn, ".swap", &e); in swap_process_device_new() 1439 q = unit_name_from_path(devlink, ".swap", &n); in swap_process_device_new()
|
D | device.c | 530 r = unit_name_from_path(path, ".device", &e); in device_setup_unit() 737 r = unit_name_from_path(path, ".device", &e); in device_update_found_by_name()
|
D | mount.c | 563 r = unit_name_from_path(m->where, ".mount", &e); in mount_verify() 1702 r = unit_name_from_path(where, ".mount", &e); in mount_setup_unit()
|
D | automount.c | 192 r = unit_name_from_path(a->where, ".automount", &e); in automount_verify()
|
D | unit.c | 1516 r = unit_name_from_path(prefix, ".mount", &p); in unit_add_mount_dependencies() 3576 r = unit_name_from_path(what, ".device", &e); in unit_add_node_dependency()
|
/systemd-251/src/test/ |
D | test-unit-name.c | 112 assert_se(unit_name_from_path(path, suffix, &t) == ret); in test_unit_name_from_path_one() 143 TEST(unit_name_from_path) { in TEST() argument
|