Home
last modified time | relevance | path

Searched refs:path_is_mount_point (Results 1 – 23 of 23) sorted by relevance

/systemd-251/src/test/
Dtest-mountpoint-util.c109 TEST(path_is_mount_point) { in TEST() argument
116 assert_se(path_is_mount_point("/", NULL, AT_SYMLINK_FOLLOW) > 0); in TEST()
117 assert_se(path_is_mount_point("/", NULL, 0) > 0); in TEST()
118 assert_se(path_is_mount_point("//", NULL, AT_SYMLINK_FOLLOW) > 0); in TEST()
119 assert_se(path_is_mount_point("//", NULL, 0) > 0); in TEST()
121 assert_se(path_is_mount_point("/proc", NULL, AT_SYMLINK_FOLLOW) > 0); in TEST()
122 assert_se(path_is_mount_point("/proc", NULL, 0) > 0); in TEST()
123 assert_se(path_is_mount_point("/proc/", NULL, AT_SYMLINK_FOLLOW) > 0); in TEST()
124 assert_se(path_is_mount_point("/proc/", NULL, 0) > 0); in TEST()
126 assert_se(path_is_mount_point("/proc/1", NULL, AT_SYMLINK_FOLLOW) == 0); in TEST()
[all …]
Dtest-stat-util.c82 if (path_is_mount_point("/run", NULL, AT_SYMLINK_FOLLOW) > 0) { in TEST()
86 if (path_is_mount_point("/proc", NULL, AT_SYMLINK_FOLLOW) > 0) { in TEST()
104 if (path_is_mount_point("/run", NULL, AT_SYMLINK_FOLLOW) > 0) in TEST()
120 if (path_is_mount_point("/sys", NULL, AT_SYMLINK_FOLLOW) > 0) in TEST()
/systemd-251/src/nspawn/
Dnspawn-cgroup.c256 r = path_is_mount_point(to, dest, 0); in mount_legacy_cgroup_hierarchy()
308 r = path_is_mount_point(cgroup_root, dest, AT_SYMLINK_FOLLOW); in mount_legacy_cgns_supported()
417 r = path_is_mount_point(cgroup_root, dest, AT_SYMLINK_FOLLOW); in mount_legacy_cgns_unsupported()
515 r = path_is_mount_point(p, dest, AT_SYMLINK_FOLLOW); in mount_unified_cgroups()
Dnspawn-mount.c598 r = path_is_mount_point(where, NULL, 0); in mount_all()
Dnspawn.c2608 if (path_is_mount_point(p, NULL, 0) > 0) { in setup_journal()
2616 if (path_is_mount_point(q, NULL, 0) > 0) { in setup_journal()
5546 r = path_is_mount_point(arg_directory, NULL, 0); in run()
/systemd-251/src/basic/
Dmountpoint-util.h13 int path_is_mount_point(const char *path, const char *root, int flags);
Dmountpoint-util.c309 int path_is_mount_point(const char *t, const char *root, int flags) { in path_is_mount_point() function
/systemd-251/src/shared/
Dswitch-root.c74 r = path_is_mount_point(chased, NULL, 0); in switch_root()
Dmachine-id-setup.c222 r = path_is_mount_point(etc_machine_id, NULL, 0); in machine_id_commit()
Dmount-util.c368 q = path_is_mount_point(x, NULL, 0); in bind_remount_recursive_with_mountinfo()
1040 r = path_is_mount_point(path, NULL, 0); in make_mount_point()
Dmount-setup.c163 r = path_is_mount_point(p->where, NULL, AT_SYMLINK_FOLLOW); in mount_one()
Dcondition.c881 return path_is_mount_point(c->parameter, NULL, AT_SYMLINK_FOLLOW) > 0; in condition_test_path_is_mount_point()
/systemd-251/src/volatile-root/
Dvolatile-root.c157 r = path_is_mount_point(path, NULL, AT_SYMLINK_FOLLOW); in run()
/systemd-251/src/login/
Duser-runtime-dir.c69 if (path_is_mount_point(runtime_path, NULL, 0) >= 0) in user_mkdir_runtime_path()
/systemd-251/src/partition/
Dgrowfs.c210 r = path_is_mount_point(arg_target, NULL, 0); in run()
Drepart.c3787 r = path_is_mount_point(resolved, NULL, 0); in find_backing_devno()
4382 r = path_is_mount_point("/sysusr/usr", NULL, 0); in parse_argv()
/systemd-251/src/core/
Dnamespace.c1038 r = path_is_mount_point(mount_entry_path(m), NULL, 0); in mount_bind_dev()
1058 r = path_is_mount_point(mount_entry_path(m), NULL, 0); in mount_sysfs()
1122 r = path_is_mount_point(entry_path, NULL, 0); in mount_procfs()
1171 r = path_is_mount_point(mount_entry_path(m), NULL, 0); in mount_run()
1347 r = path_is_mount_point(mount_entry_path(m), root_directory, 0); in apply_one_mount()
2434 r = path_is_mount_point(root, NULL, AT_SYMLINK_FOLLOW); in setup_namespace()
Dimport-creds.c263 r = path_is_mount_point(SYSTEM_CREDENTIALS_DIRECTORY, NULL, 0); in acquire_credential_directory()
Dautomount.c834 if (path_is_mount_point(a->where, NULL, 0) > 0) in automount_start()
Dexecute.c2996 r = path_is_mount_point(workspace, NULL, 0); in setup_credentials_internal()
3006 r = path_is_mount_point(final, NULL, 0); in setup_credentials_internal()
/systemd-251/src/gpt-auto-generator/
Dgpt-auto-generator.c296 r = path_is_mount_point(where, NULL, AT_SYMLINK_FOLLOW); in path_is_busy()
/systemd-251/src/sysext/
Dsysext.c55 r = path_is_mount_point(p, NULL, 0); in is_our_mount_point()
/systemd-251/src/home/
Duser-record-util.c431 r = path_is_mount_point(hd, NULL, 0); in user_record_test_home_directory()