Searched refs:files_same (Results 1 – 11 of 11) sorted by relevance
/systemd-251/src/test/ |
D | test-stat-util.c | 45 TEST(files_same) { in TEST() argument 54 assert_se(files_same(name, name, 0)); in TEST() 55 assert_se(files_same(name, name, AT_SYMLINK_NOFOLLOW)); in TEST() 56 assert_se(files_same(name, name_alias, 0)); in TEST() 57 assert_se(!files_same(name, name_alias, AT_SYMLINK_NOFOLLOW)); in TEST()
|
D | test-path-util.c | 167 assert_se(files_same("/", "/", 0) > 0); in TEST() 168 assert_se(files_same("/", "/", AT_SYMLINK_NOFOLLOW) > 0); in TEST() 169 assert_se(files_same("/", "//", 0) > 0); in TEST() 170 assert_se(files_same("/", "//", AT_SYMLINK_NOFOLLOW) > 0); in TEST() 172 assert_se(files_same("/", "/./", 0) > 0); in TEST() 173 assert_se(files_same("/", "/./", AT_SYMLINK_NOFOLLOW) > 0); in TEST() 174 assert_se(files_same("/", "/../", 0) > 0); in TEST() 175 assert_se(files_same("/", "/../", AT_SYMLINK_NOFOLLOW) > 0); in TEST() 177 assert_se(files_same("/", "/.../", 0) == -ENOENT); in TEST() 178 assert_se(files_same("/", "/.../", AT_SYMLINK_NOFOLLOW) == -ENOENT); in TEST()
|
D | test-specifier.c | 107 if (files_same("/dev/initctl", "/run/initctl", 0) > 0) in TEST()
|
/systemd-251/src/systemctl/ |
D | systemctl-switch-root.c | 47 if (files_same(root_init_path, root_systemd_path, 0) > 0) in verb_switch_root()
|
/systemd-251/src/basic/ |
D | stat-util.h | 35 int files_same(const char *filea, const char *fileb, int flags);
|
D | namespace-util.c | 94 r = files_same(FORMAT_PROC_FD_PATH(userns_fd), "/proc/self/ns/user", 0); in namespace_enter()
|
D | stat-util.c | 193 int files_same(const char *filea, const char *fileb, int flags) { in files_same() function
|
D | virt.c | 867 r = files_same("/proc/1/root", "/", 0); in running_in_chroot()
|
D | path-util.c | 469 return path_equal(a, b) || files_same(a, b, flags) > 0; in path_equal_or_files_same()
|
D | process-util.c | 1012 return files_same(root, "/proc/1/root", 0); in pid_from_same_root_fs()
|
/systemd-251/src/mount/ |
D | mount-tool.c | 809 if (files_same(fname, backing_file, 0) <= 0) in find_loop_device()
|