/systemd-251/src/test/ |
D | test-fs-util.c | 30 TEST(chase_symlinks) { in TEST() argument 68 r = chase_symlinks(p, NULL, 0, &result, NULL); in TEST() 74 r = chase_symlinks(pslash, NULL, 0, &result, NULL); in TEST() 79 r = chase_symlinks(p, temp, 0, &result, NULL); in TEST() 82 r = chase_symlinks(pslash, temp, 0, &result, NULL); in TEST() 87 r = chase_symlinks(p, temp, CHASE_NONEXISTENT, &result, NULL); in TEST() 94 r = chase_symlinks(pslash, temp, CHASE_NONEXISTENT, &result, NULL); in TEST() 101 r = chase_symlinks(p, temp, 0, &result, NULL); in TEST() 106 r = chase_symlinks(pslash, temp, 0, &result, NULL); in TEST() 114 r = chase_symlinks(p, NULL, 0, &result, NULL); in TEST() [all …]
|
D | test-chase-symlinks.c | 100 r = chase_symlinks(argv[i], arg_root, arg_flags, &p, arg_open ? &fd : NULL); in run()
|
D | test-copy.c | 161 assert_se(chase_symlinks(l, NULL, 0, &target, NULL) == 1); in TEST()
|
/systemd-251/src/sysext/ |
D | sysext.c | 131 r = chase_symlinks(*p, arg_root, CHASE_PREFIX_ROOT, &resolved, NULL); in unmerge() 175 r = chase_symlinks(*p, arg_root, CHASE_PREFIX_ROOT, &resolved, NULL); in verb_status() 293 r = chase_symlinks(hierarchy, arg_root, CHASE_PREFIX_ROOT, &resolved_hierarchy, NULL); in merge_hierarchy() 332 r = chase_symlinks(hierarchy, *p, CHASE_PREFIX_ROOT, &resolved, NULL); in merge_hierarchy() 424 r = chase_symlinks("/usr/lib/os-release", root, CHASE_PREFIX_ROOT, NULL, NULL); in validate_version() 655 … r = chase_symlinks(*h, arg_root, CHASE_PREFIX_ROOT|CHASE_NONEXISTENT, &resolved, NULL); in merge_subprocess() 697 … r = chase_symlinks(*h, arg_root, CHASE_PREFIX_ROOT|CHASE_NONEXISTENT, &resolved, NULL); in merge_subprocess() 784 r = chase_symlinks(*p, arg_root, CHASE_PREFIX_ROOT, &resolved, NULL); in verb_merge()
|
/systemd-251/src/shared/ |
D | switch-root.c | 53 …r = chase_symlinks(old_root_after, new_root, CHASE_PREFIX_ROOT|CHASE_NONEXISTENT, &resolved_old_ro… in switch_root() 69 … r = chase_symlinks(path, new_root, CHASE_PREFIX_ROOT|CHASE_NONEXISTENT, &chased, NULL); in switch_root()
|
D | dropin.c | 108 r = chase_symlinks(path, original_root, 0, &chased, NULL); in unit_file_add_dir()
|
D | discover-image.c | 1135 … r = chase_symlinks("/etc/hostname", i->path, CHASE_PREFIX_ROOT|CHASE_TRAIL_SLASH, &path, NULL); in image_read_metadata() 1146 … r = chase_symlinks("/etc/machine-id", i->path, CHASE_PREFIX_ROOT|CHASE_TRAIL_SLASH, &path, NULL); in image_read_metadata() 1164 …r = chase_symlinks("/etc/machine-info", i->path, CHASE_PREFIX_ROOT|CHASE_TRAIL_SLASH, &path, NULL); in image_read_metadata()
|
D | specifier.c | 137 return chase_symlinks(path, root, 0, ret, NULL); in specifier_real_path()
|
D | dissect-image.c | 1340 r = chase_symlinks(directory, where, CHASE_PREFIX_ROOT, &chased, NULL); in mount_partition() 1543 r = chase_symlinks("/efi", where, CHASE_PREFIX_ROOT, NULL, NULL); in dissected_image_mount() 1553 r = chase_symlinks("/boot", where, CHASE_PREFIX_ROOT, &p, NULL); in dissected_image_mount() 2654 r = chase_symlinks(init, t, CHASE_PREFIX_ROOT, NULL, NULL); in dissected_image_acquire_metadata()
|
/systemd-251/src/basic/ |
D | chase-symlinks.c | 60 int chase_symlinks( in chase_symlinks() function 432 r = chase_symlinks(path, root, chase_flags, ret_path ? &p : NULL, &path_fd); in chase_symlinks_and_open() 474 r = chase_symlinks(path, root, chase_flags, ret_path ? &p : NULL, &path_fd); in chase_symlinks_and_opendir() 516 r = chase_symlinks(path, root, chase_flags, ret_path ? &p : NULL, &path_fd); in chase_symlinks_and_stat()
|
D | os-util.c | 72 r = chase_symlinks(extension_full_path, root, CHASE_PREFIX_ROOT, in open_extension_release() 175 r = chase_symlinks(var, root, 0, in open_extension_release() 180 r = chase_symlinks(path, root, CHASE_PREFIX_ROOT, in open_extension_release()
|
D | chase-symlinks.h | 26 int chase_symlinks(const char *path_with_prefix, const char *root, ChaseSymlinksFlags chase_flags, …
|
D | devnum-util.c | 92 return chase_symlinks(p, NULL, 0, ret, NULL); in device_path_make_canonical()
|
D | unit-file.c | 324 r = chase_symlinks(target, root_dir, CHASE_NOFOLLOW | CHASE_NONEXISTENT, &simplified, NULL); in unit_file_resolve_symlink() 434 r = chase_symlinks(*dir, NULL, 0, &resolved_dir, NULL); in unit_file_build_name_map()
|
D | path-util.c | 264 r = chase_symlinks(t, root, 0, &u, NULL); in path_strv_resolve() 607 r = chase_symlinks(name, in find_executable_impl()
|
D | mountpoint-util.c | 325 r = chase_symlinks(t, root, CHASE_TRAIL_SLASH, &canonical, NULL); in path_is_mount_point()
|
/systemd-251/src/nspawn/ |
D | nspawn-mount.c | 592 … r = chase_symlinks(mount_table[k].where, dest, CHASE_NONEXISTENT|CHASE_PREFIX_ROOT, &where, NULL); in mount_all() 651 … r = chase_symlinks(mount_table[k].what, dest, CHASE_PREFIX_ROOT, &prefixed, NULL); in mount_all() 733 r = chase_symlinks(m->destination, dest, CHASE_PREFIX_ROOT|CHASE_NONEXISTENT, &where, NULL); in mount_bind() 795 r = chase_symlinks(m->destination, dest, CHASE_PREFIX_ROOT|CHASE_NONEXISTENT, &where, NULL); in mount_tmpfs() 835 r = chase_symlinks(m->destination, dest, CHASE_PREFIX_ROOT|CHASE_NONEXISTENT, &where, NULL); in mount_overlay() 907 r = chase_symlinks(m->destination, dest, CHASE_PREFIX_ROOT|CHASE_NONEXISTENT, &where, NULL); in mount_arbitrary()
|
D | nspawn.c | 1945 r = chase_symlinks("/etc", dest, CHASE_PREFIX_ROOT, &etc, NULL); in setup_timezone() 1976 r = chase_symlinks(check, dest, 0, NULL, NULL); in setup_timezone() 2003 found = chase_symlinks(where, dest, CHASE_NONEXISTENT, &resolved, NULL); in setup_timezone() 2110 r = chase_symlinks("/etc", dest, CHASE_PREFIX_ROOT, &etc, NULL); in setup_resolv_conf() 2138 found = chase_symlinks(where, dest, CHASE_NONEXISTENT, &resolved, NULL); in setup_resolv_conf() 3080 r = chase_symlinks(*p, NULL, flags, &chased, NULL); in chase_symlinks_and_update()
|
/systemd-251/src/delta/ |
D | delta.c | 77 r = chase_symlinks(a, NULL, CHASE_TRAIL_SLASH, &x, NULL); in equivalent() 81 r = chase_symlinks(b, NULL, CHASE_TRAIL_SLASH, &y, NULL); in equivalent() 377 if (chase_symlinks(dirname, NULL, 0, &target, NULL) < 0) in should_skip_path()
|
/systemd-251/src/volatile-root/ |
D | volatile-root.c | 24 r = chase_symlinks("/usr", path, CHASE_PREFIX_ROOT, &old_usr, NULL); in make_volatile()
|
/systemd-251/src/sysupdate/ |
D | sysupdate-resource.c | 555 r = chase_symlinks(rr->path, root, CHASE_PREFIX_ROOT, &resolved, &fd); in resource_resolve_path() 591 r = chase_symlinks(rr->path, root, CHASE_PREFIX_ROOT, &resolved, NULL); in resource_resolve_path()
|
/systemd-251/src/mount/ |
D | mount-tool.c | 385 r = chase_symlinks(u, NULL, 0, &arg_mount_what, NULL); in parse_argv() 402 … r = chase_symlinks(argv[optind+1], NULL, CHASE_NONEXISTENT, &arg_mount_where, NULL); in parse_argv() 1006 r = chase_symlinks(u, NULL, 0, &p, NULL); in action_umount()
|
/systemd-251/src/systemctl/ |
D | systemctl-util.c | 398 r = chase_symlinks(path, arg_root, 0, &lpath, NULL); in unit_file_find_path()
|
/systemd-251/src/dissect/ |
D | dissect.c | 761 r = chase_symlinks(dn, mounted_dir, CHASE_PREFIX_ROOT|CHASE_WARN, NULL, &dfd); in action_copy()
|
/systemd-251/src/fstab-generator/ |
D | fstab-generator.c | 626 k = chase_symlinks(where, initrd ? "/sysroot" : NULL, in parse_fstab()
|