Home
last modified time | relevance | path

Searched refs:PATH_IN_SET (Results 1 – 13 of 13) sorted by relevance

/systemd-251/src/test/
Dtest-path-util.c39 assert_se(PATH_IN_SET("/bin", "/", "/bin", "/foo")); in TEST()
40 assert_se(PATH_IN_SET("/bin", "/bin")); in TEST()
41 assert_se(PATH_IN_SET("/bin", "/foo/bar", "/bin")); in TEST()
42 assert_se(PATH_IN_SET("/", "/", "/", "/foo/bar")); in TEST()
43 assert_se(!PATH_IN_SET("/", "/abc", "/def")); in TEST()
Dtest-terminal-util.c76 assert_se(PATH_IN_SET(ttyname, "ptmx", "pts/ptmx")); in TEST()
/systemd-251/src/remount-fs/
Dremount-fs.c96 !PATH_IN_SET(me->mnt_dir, "/", "/usr")) in run()
/systemd-251/src/basic/
Dpath-util.h85 #define PATH_IN_SET(p, ...) path_strv_contains(STRV_MAKE(__VA_ARGS__), p) macro
Duser-util.c140 return PATH_IN_SET(shell, in is_nologin_shell()
Dpath-util.c757 return !PATH_IN_SET(d, "true" in executable_is_good()
/systemd-251/src/shared/
Dfstab-util.c41 if (PATH_IN_SET(mount, in fstab_is_extrinsic()
Dpretty-print.c269 if (PATH_IN_SET(n, "systemd/system-preset", "systemd/user-preset")) { in guess_type()
Dgenerator.c156 if (in_initrd() && PATH_IN_SET(where, "/", "/usr")) { in generator_write_fsck_deps()
/systemd-251/src/cryptsetup/
Dcryptsetup-generator.c237 if (PATH_IN_SET(device_path, in print_dependencies()
/systemd-251/src/nspawn/
Dnspawn-oci.c492 if (PATH_IN_SET(path, in oci_exclude_mount()
906 if (PATH_IN_SET(path, in oci_devices()
/systemd-251/src/core/
Dmanager.c4483 if (readlink_malloc("/bin", &usrbin) < 0 || !PATH_IN_SET(usrbin, "usr/bin", "/usr/bin")) in manager_taint_string()
4497 !PATH_IN_SET(destination, "../run", "/run")) in manager_taint_string()
Dmount.c372 if (PATH_IN_SET(p->what, "/dev/root", "/dev/nfs")) in mount_add_device_dependencies()