/systemd-251/src/shared/ |
D | pretty-print.c | 227 if (path_equal(*name, "environment.d")) in guess_type() 247 if (path_equal(n, "environment")) in guess_type() 250 if (path_equal(n, "udev/hwdb.d")) in guess_type() 253 if (path_equal(n, "udev/rules.d")) in guess_type() 256 if (path_equal(n, "kernel/install.d")) in guess_type() 259 if (path_equal(n, "systemd/ntp-units.d")) { in guess_type() 264 if (path_equal(n, "systemd/relabel-extra.d")) { in guess_type() 274 if (path_equal(n, "systemd/user-preset")) in guess_type()
|
D | generator.c | 177 if (path_equal(where, "/")) { in generator_write_fsck_deps() 195 if (in_initrd() && path_equal(where, "/sysroot")) { in generator_write_fsck_deps() 203 } else if (in_initrd() && path_equal(where, "/sysusr/usr")) { in generator_write_fsck_deps() 216 dep = path_equal(where, "/usr") ? "Wants" : "Requires"; in generator_write_fsck_deps()
|
D | mount-setup.c | 122 if (path_equal(path, mount_table[i].where)) in mount_point_is_api() 139 if (path_equal(path, i)) in mount_point_ignore() 382 if (path_equal(path, "/run/initramfs")) in relabel_cb()
|
D | mount-util.c | 266 top_autofs = top_autofs || path_equal(path, prefix); in bind_remount_recursive_with_mountinfo() 275 if (!path_equal(path, prefix)) { in bind_remount_recursive_with_mountinfo() 279 if (path_equal(*i, prefix)) in bind_remount_recursive_with_mountinfo() 386 if (path_equal(x, prefix)) in bind_remount_recursive_with_mountinfo()
|
D | switch-root.c | 41 if (path_equal(new_root, "/")) in switch_root()
|
D | discover-image.h | 106 if (i->path && path_equal(i->path, "/")) in IMAGE_IS_HOST()
|
D | udev-util.c | 193 if (path_equal(devlink, data->devlink)) in device_monitor_handler() 196 … if (sd_device_get_devname(device, &devlink) >= 0 && path_equal(devlink, data->devlink)) in device_monitor_handler()
|
D | fstab-util.c | 76 if (path_equal(m->mnt_dir, mount)) in fstab_is_mount_point()
|
/systemd-251/src/test/ |
D | test-fs-util.c | 70 assert_se(path_equal(result, "/usr")); in TEST() 76 assert_se(path_equal(result, "/usr/")); in TEST() 89 assert_se(path_equal(result, q)); in TEST() 96 assert_se(path_equal(result, qslash)); in TEST() 103 assert_se(path_equal(result, q)); in TEST() 108 assert_se(path_equal(result, qslash)); in TEST() 116 assert_se(path_equal(result, "/")); in TEST() 121 assert_se(path_equal(result, temp)); in TEST() 130 assert_se(r > 0 && path_equal(result, temp)); in TEST() 137 assert_se(r > 0 && path_equal(result, q)); in TEST() [all …]
|
D | test-path-util.c | 120 assert_se(path_equal(a, a) == 1); in test_path_compare_one() 121 assert_se(path_equal(b, b) == 1); in test_path_compare_one() 122 assert_se(path_equal(a, b) == (expected == 0)); in test_path_compare_one() 123 assert_se(path_equal(b, a) == (expected == 0)); in test_path_compare_one() 157 assert_se(path_equal("/", "/")); in TEST() 158 assert_se(path_equal("/", "//")); in TEST() 160 assert_se(path_equal("/", "/./")); in TEST() 161 assert_se(!path_equal("/", "/../")); in TEST() 163 assert_se(!path_equal("/", "/.../")); in TEST() 251 assert_se(path_equal(p, "/bin/sh")); in TEST() [all …]
|
D | test-cgroup.c | 83 assert_se(path_equal(path, test_a)); in TEST() 89 assert_se(path_equal(path, test_d)); in TEST() 101 assert_se(path_equal(path, full_d)); in TEST()
|
D | test-fd-util.c | 139 assert_se(path_equal(path, "/dev/null")); in TEST() 143 assert_se(path_equal(path, "/dev/null")); in TEST() 147 assert_se(path_equal(path, "/dev/null")); in TEST() 180 assert_se(path_equal(path, "/dev/null")); in TEST()
|
D | test-devnum-util.c | 86 assert_se(path_equal(path, resolved)); in test_device_path_make_canonical_one()
|
D | test-terminal-util.c | 165 assert_se(path_equal(stdin_name, ctty)); in TEST()
|
/systemd-251/coccinelle/ |
D | empty-or-root.cocci | 5 - (isempty(s) || path_equal(s, "/")) 10 - (!isempty(s) && !path_equal(s, "/"))
|
/systemd-251/src/basic/ |
D | mkdir.c | 204 if (!(path_equal(pp, "/") || isempty(pp) || path_equal(pp, "."))) { in mkdir_p_root() 213 if (path_equal(bn, "/") || isempty(bn) || path_equal(bn, ".")) in mkdir_p_root()
|
D | devnum-util.c | 104 if (path_equal(path, "/run/systemd/inaccessible/chr")) { in device_path_parse_major_minor() 107 } else if (path_equal(path, "/run/systemd/inaccessible/blk")) { in device_path_parse_major_minor()
|
D | path-util.c | 469 return path_equal(a, b) || files_same(a, b, flags) > 0; in path_equal_or_files_same() 490 return path_equal(a_basename, b_basename); in path_equal_filename() 1288 return path_equal(path, "/"); in empty_or_root() 1293 if (path_equal(*i, path)) in path_strv_contains() 1307 if (path_equal(j, path)) in prefixed_path_strv_contains()
|
D | path-util.h | 66 static inline bool path_equal(const char *a, const char *b) { in path_equal() function 81 return !!a == !!b && (!a || path_equal(a, b)); in path_equal_ptr()
|
/systemd-251/src/delta/ |
D | delta.c | 85 return path_equal(x, y); in equivalent() 390 if (path_equal(target, tmp)) { in should_skip_path() 444 if (path_equal(o, f)) { in process_suffix()
|
/systemd-251/src/remount-fs/ |
D | remount-fs.c | 99 if (path_equal(me->mnt_dir, "/")) in run()
|
/systemd-251/src/fstab-generator/ |
D | fstab-generator.c | 388 if (path_equal(where, "/")) { in add_mount() 710 if (path_equal(arg_root_what, "/dev/nfs") || in sysroot_is_nfsroot() 875 if (path_equal(arg_usr_what, "/dev/nfs")) { in add_sysroot_usr_mount()
|
/systemd-251/src/systemctl/ |
D | systemctl-edit.c | 179 if (path_equal(*path, new_path)) in create_edit_temp_file() 290 if (!path_equal(fragment_path, new_path) && access(new_path, F_OK) >= 0) { in unit_file_create_copy()
|
/systemd-251/src/core/ |
D | dbus-cgroup.c | 1226 if (path_equal(path, b->path)) { in bus_cgroup_set_property() 1311 if (path_equal(b->path, path)) { in bus_cgroup_set_property() 1384 if (path_equal(b->path, path)) { in bus_cgroup_set_property() 1462 if (path_equal(path, b->path)) { in bus_cgroup_set_property() 1559 if (path_equal(b->path, path)) { in bus_cgroup_set_property() 1657 if (path_equal(b->path, path)) { in bus_cgroup_set_property()
|
/systemd-251/src/volatile-root/ |
D | volatile-root.c | 149 if (path_equal(path, "/")) in run()
|