Home
last modified time | relevance | path

Searched refs:subdir (Results 1 – 17 of 17) sorted by relevance

/systemd-251/src/test/
Dtest-mount-util.c130 _cleanup_free_ char *subdir = NULL; in TEST() local
138 subdir = path_join(tmp, "subdir"); in TEST()
139 assert_se(subdir); in TEST()
140 assert_se(mkdir(subdir, 0755) >= 0); in TEST()
154 assert_se(statvfs(subdir, &svfs) >= 0); in TEST()
158 assert_se(mount_nofollow(subdir, subdir, NULL, MS_BIND|MS_REC, NULL) >= 0); in TEST()
161 assert_se(statvfs(subdir, &svfs) >= 0); in TEST()
172 assert_se(statvfs(subdir, &svfs) >= 0); in TEST()
173 … assert_se(FLAGS_SET(svfs.f_flag, ST_RDONLY) == !!path_startswith(subdir, p)); in TEST()
/systemd-251/src/udev/
Dudevadm-info.c319 _cleanup_closedir_ DIR *subdir = NULL; in cleanup_dir() local
321 subdir = xopendirat(dirfd(dir), dent->d_name, O_NOFOLLOW); in cleanup_dir()
322 if (!subdir) in cleanup_dir()
325 cleanup_dir(subdir, mask, depth-1); in cleanup_dir()
368 _cleanup_closedir_ DIR *subdir = NULL; in cleanup_dirs_after_db_cleanup() local
370 subdir = xopendirat(dirfd(dir), dent->d_name, O_NOFOLLOW); in cleanup_dirs_after_db_cleanup()
371 if (!subdir) in cleanup_dirs_after_db_cleanup()
374 cleanup_dir_after_db_cleanup(subdir, datadir); in cleanup_dirs_after_db_cleanup()
/systemd-251/src/home/
Dhomework-mount.c125 _cleanup_free_ char *subdir = NULL; in home_move_mount() local
134 subdir = path_join(HOME_RUNTIME_WORK_DIR, mount_suffix); in home_move_mount()
135 if (!subdir) in home_move_mount()
138 d = subdir; in home_move_mount()
Dhomework-luks.c1350 _cleanup_free_ char *fstype = NULL, *subdir = NULL; in home_setup_luks() local
1361 subdir = path_join(HOME_RUNTIME_WORK_DIR, user_record_user_name_and_realm(h)); in home_setup_luks()
1362 if (!subdir) in home_setup_luks()
1430 setup->root_fd = open(subdir, O_RDONLY|O_CLOEXEC|O_DIRECTORY|O_NOFOLLOW); in home_setup_luks()
2118 _cleanup_free_ char *subdir = NULL, *disk_uuid_path = NULL; in home_create_luks() local
2350 subdir = path_join(HOME_RUNTIME_WORK_DIR, user_record_user_name_and_realm(h)); in home_create_luks()
2351 if (!subdir) in home_create_luks()
2355 r = btrfs_subvol_make_fallback(subdir, 0700); in home_create_luks()
2359 setup->root_fd = open(subdir, O_RDONLY|O_CLOEXEC|O_DIRECTORY|O_NOFOLLOW); in home_create_luks()
/systemd-251/
Dmeson.build1821 subdir('src/fundamental')
1822 subdir('src/boot/efi')
1883 subdir('po')
1884 subdir('catalog')
1885 subdir('src/basic')
1886 subdir('src/libsystemd')
1887 subdir('src/shared')
1888 subdir('src/udev')
1889 subdir('src/libudev')
1890 subdir('src/cryptsetup/cryptsetup-tokens')
[all …]
/systemd-251/test/test-execute/
Dexec-umask-namespace.service6 ExecStart=/bin/ls -lahd /tmp/subdir
11 BindPaths=/etc:/tmp/subdir/subsub
/systemd-251/test/units/
Dtestsuite-13.sh47 mkdir -p /tmp/binddir/subdir
48 echo -n "outer" >/tmp/binddir/subdir/file
49 mount -t tmpfs tmpfs /tmp/binddir/subdir
50 echo -n "inner" >/tmp/binddir/subdir/file
/systemd-251/src/shared/
Dcopy.c514 char *subdir; member
529 assert(!c->subdir); in hardlink_context_setup()
560 r = tempfn_random_child(to, "hardlink", &c->subdir); in hardlink_context_setup()
581 assert(c->subdir); in hardlink_context_realize()
583 c->dir_fd = open_mkdir_at(c->parent_fd, c->subdir, O_EXCL|O_CLOEXEC, 0700); in hardlink_context_realize()
601 … log_debug_errno(r, "Failed to remove hardlink store (%s) contents, ignoring: %m", c->subdir); in hardlink_context_destroy()
604 assert(c->subdir); in hardlink_context_destroy()
606 if (unlinkat(c->parent_fd, c->subdir, AT_REMOVEDIR) < 0) in hardlink_context_destroy()
607 … log_debug_errno(errno, "Failed to remove hardlink store (%s) directory, ignoring: %m", c->subdir); in hardlink_context_destroy()
613 c->subdir = mfree(c->subdir); in hardlink_context_destroy()
/systemd-251/src/core/
Dmeson.build138 subdir('bpf')
140 subdir('bpf/socket_bind')
143 subdir('bpf/restrict_fs')
147 subdir('bpf/restrict_ifaces')
/systemd-251/src/pstore/
Dpstore.c118 static int move_file(PStoreEntry *pe, const char *subdir) { in move_file() argument
132 ofd_path = path_join(arg_archivedir, subdir, pe->dirent.d_name); in move_file()
/systemd-251/src/systemd/
Dmeson.build45 subdir : 'systemd')
/systemd-251/src/libsystemd/sd-device/
Dsd-device.c1840 static int device_sysattrs_read_all_internal(sd_device *device, const char *subdir) { in device_sysattrs_read_all_internal() argument
1850 if (subdir) { in device_sysattrs_read_all_internal()
1853 p = path_join(syspath, subdir, "uevent"); in device_sysattrs_read_all_internal()
1865 path_dir = path_join(syspath, subdir); in device_sysattrs_read_all_internal()
1885 if (subdir) { in device_sysattrs_read_all_internal()
1886 p = path_join(subdir, de->d_name); in device_sysattrs_read_all_internal()
Ddevice-enumerator.c740 const char *subdir, in enumerator_scan_dir() argument
764 k = enumerator_scan_dir_and_add_devices(enumerator, basedir, de->d_name, subdir); in enumerator_scan_dir()
/systemd-251/test/
Dmeson.build204 subdir('fuzz')
DREADME.testsuite24 If one of the tests fails, then $subdir/test.log contains the log file of
/systemd-251/man/
Dmeson.build4 subdir('rules')
/systemd-251/units/
Dmeson.build333 subdir('user')