Home
last modified time | relevance | path

Searched refs:path_join (Results 1 – 25 of 133) sorted by relevance

123456

/systemd-251/src/test/
Dtest-mountpoint-util.c151 file1 = path_join(tmp_dir, "file1"); in TEST()
153 file2 = path_join(tmp_dir, "file2"); in TEST()
161 link1 = path_join(tmp_dir, "link1"); in TEST()
164 link2 = path_join(tmp_dir, "link2"); in TEST()
174 dir1 = path_join(tmp_dir, "dir1"); in TEST()
177 dirlink1 = path_join(tmp_dir, "dirlink1"); in TEST()
180 dirlink1file = path_join(tmp_dir, "dirlink1file"); in TEST()
183 dir2 = path_join(tmp_dir, "dir2"); in TEST()
193 dir1file = path_join(dir1, "file"); in TEST()
234 dir2file = path_join(dir2, "file"); in TEST()
Dtest-conf-files.c33 assert_se(path = path_join(tmp_dir, files)); in setup_test_dir()
105 *foo1 = path_join(root, "/dir1/foo.conf"), in test_conf_files_insert_one()
106 *foo2 = path_join(root, "/dir2/foo.conf"), in test_conf_files_insert_one()
107 *bar2 = path_join(root, "/dir2/bar.conf"), in test_conf_files_insert_one()
108 *zzz3 = path_join(root, "/dir3/zzz.conf"), in test_conf_files_insert_one()
109 *whatever = path_join(root, "/whatever.conf"); in test_conf_files_insert_one()
Dtest-install-file.c17 assert_se(a = path_join(p, "foo")); in TEST()
18 assert_se(b = path_join(p, "bar")); in TEST()
46 assert_se(c = path_join(b, "dir")); in TEST()
49 assert_se(c = path_join(b, "reg")); in TEST()
52 assert_se(c = path_join(b, "fifo")); in TEST()
Dtest-mkdir.c17 assert_se(p = path_join(tmp, "run")); in TEST()
21 assert_se(p = path_join(tmp, "var/run")); in TEST()
26 assert_se(p = path_join(tmp, "var/run/hoge/foo/baz")); in TEST()
Dtest-copy.c97 assert_se(f = path_join(original_dir, *p)); in TEST()
111 assert_se(f = path_join(original_dir, *p)); in TEST()
112 assert_se(l = path_join(original_dir, *ll)); in TEST()
121 assert_se(f = path_join(original_dir, *p)); in TEST()
122 assert_se(l = path_join(original_dir, *ll)); in TEST()
138 assert_se(f = path_join(copy_dir, *p)); in TEST()
316 assert_se(f = path_join(p, "version")); in TEST()
Dtest-stat-util.c162 j = path_join(empty_dir, "zzz"); in TEST()
168 jj = path_join(empty_dir, "ppp"); in TEST()
172 jjj = path_join(empty_dir, ".qqq"); in TEST()
/systemd-251/src/basic/
Dconf-files.c116 p = path_join(dirpath, de->d_name); in files_add()
211 rdir = path_join(root, *dir); in conf_files_insert()
225 t = path_join(root, path); in conf_files_insert()
242 t = path_join(root, path); in conf_files_insert()
313 p = path_join(root, replacement); in conf_files_list_with_replacement()
Dpath-lookup.c31 j = path_join(e, suffix); in xdg_user_runtime_dir()
48 j = path_join(e, suffix); in xdg_user_config_dir()
78 j = path_join(e, suffix); in xdg_user_data_dir()
264 p = path_join(e, "/systemd"); in acquire_generator_dirs()
271 x = path_join(prefix, "generator"); in acquire_generator_dirs()
275 y = path_join(prefix, "generator.early"); in acquire_generator_dirs()
279 z = path_join(prefix, "generator.late"); in acquire_generator_dirs()
304 transient = path_join(tempdir, "transient"); in acquire_transient_dir()
457 c = path_join(root_dir, *p); in patch_root_prefix()
Dcgroup-util.c442 p = path_join(empty_to_root(path), fn); in cg_kill_recursive()
491 t = path_join("/sys/fs/cgroup", dn); in join_path_legacy()
493 t = path_join("/sys/fs/cgroup", dn, suffix); in join_path_legacy()
495 t = path_join("/sys/fs/cgroup", dn, path); in join_path_legacy()
497 t = path_join("/sys/fs/cgroup", dn, path, suffix); in join_path_legacy()
513 t = path_join("/sys/fs/cgroup", suffix); in join_path_unified()
515 t = path_join("/sys/fs/cgroup", path); in join_path_unified()
517 t = path_join("/sys/fs/cgroup", path, suffix); in join_path_unified()
544 t = path_join(path, suffix); in cg_get_path()
922 p = path_join(path, fn); in cg_is_empty_recursive()
Dpath-util.c58 return path_join(prefix, p); in path_make_absolute()
98 c = path_join(cwd, p); in path_make_absolute_cwd()
256 t = path_join(root, orig); in path_strv_resolve()
657 full_path = path_join(*element, name); in find_executable_full()
Dtmpfile-util.c39 t = path_join(d, "XXXXXX"); in fopen_temporary()
349 p = path_join(tmp, "XXXXXX"); in mkdtemp_malloc()
/systemd-251/src/shared/
Dblockdev-util.c137 u = path_join(p, de->d_name, "../dev"); in block_get_originating()
141 v = path_join(p, first_found, "../dev"); in block_get_originating()
290 p = path_join(sysfs_path, "dm/uuid"); in blockdev_is_encrypted()
308 p = path_join(sysfs_path, "slaves"); in blockdev_is_encrypted()
333 q = path_join(p, de->d_name); in blockdev_is_encrypted()
Ddev-setup.c40 link_name = path_join(prefix, k); in dev_setup()
100 path = path_join(parent_dir, table[i].name); in make_inaccessible_nodes()
Dtests.c61 assert_se(envpath = path_join(d, "systemd-runtest.env")); in load_testdata_env()
86 p = path_join(dir, suffix); in get_testdata_dir()
/systemd-251/src/sysext/
Dsysext.c75 f = path_join(p, ".systemd-sysext/dev"); in is_our_mount_point()
201 f = path_join(*p, ".systemd-sysext/extensions"); in verb_status()
311 f = path_join(meta_path, ".systemd-sysext/extensions"); in merge_hierarchy()
384 f = path_join(meta_path, ".systemd-sysext/dev"); in merge_hierarchy()
490 p = path_join(workspace, "extensions", img->name); in merge_subprocess()
643 p = path_join(workspace, "extensions", img->name); in merge_subprocess()
668 …meta_path = path_join(workspace, "meta", *h); /* The place where to store metadata about this inst… in merge_subprocess()
672 … overlay_path = path_join(workspace, "overlay", *h); /* The resulting overlayfs instance */ in merge_subprocess()
685 p = path_join(workspace, "overlay", *h); in merge_subprocess()
/systemd-251/src/pstore/
Dpstore.c128 ifd_path = path_join(arg_sourcedir, pe->dirent.d_name); in move_file()
132 ofd_path = path_join(arg_archivedir, subdir, pe->dirent.d_name); in move_file()
187 ofd_path = path_join(arg_archivedir, id, "dmesg.txt"); in write_dmesg()
335 ifd_path = path_join(sourcepath, de->d_name); in list_files()
/systemd-251/src/delta/
Ddelta.c203 path = path_join(toppath, drop); in enumerate_dir_d()
233 p = path_join(path, *file); in enumerate_dir_d()
346 p = path_join(path, *t); in enumerate_dir()
386 tmp = path_join(p, suffix); in should_skip_path()
426 t = path_join(p, suffix); in process_suffix()
/systemd-251/src/libsystemd/sd-path/
Dsd-path.c84 fn = path_join(c, "user-dirs.dirs"); in from_user_dir()
402 buffer2 = path_join(ret, suffix); in get_path_alloc()
492 h = path_join(e, home_suffix); in search_from_environment()
674 *j = path_join(*i, suffix); in sd_path_lookup_strv()
/systemd-251/src/debug-generator/
Ddebug-generator.c100 p = path_join(empty_to_root(arg_dest), *u); in generate_mask_symlinks()
135 f = path_join(SYSTEM_DATA_UNIT_DIR, *u); in generate_wants_symlinks()
/systemd-251/src/core/
Dexecute.c1966 prefixed = path_join(p->prefix[t], c->directories[t].items[i].path); in build_environment()
2285 src_abs = path_join(root, source); in create_many_symlinks()
2292 dst_abs = path_join(root, *dst); in create_many_symlinks()
2344 p = path_join(params->prefix[type], context->directories[type].items[i].path); in setup_exec_directory()
2380 pp = path_join(params->prefix[type], "private"); in setup_exec_directory()
2449 … q = path_join(params->prefix[type], "private", context->directories[type].items[i].path); in setup_exec_directory()
2715 j = path_join(*d, path); in load_credential()
3146 q = path_join(params->prefix[EXEC_DIRECTORY_RUNTIME], "credentials"); in setup_credentials()
3154 p = path_join(q, unit); in setup_credentials()
3172 … t = path_join(params->prefix[EXEC_DIRECTORY_RUNTIME], "systemd/temporary-credentials"); in setup_credentials()
[all …]
/systemd-251/src/systemctl/
Dsystemctl-start-special.c64 kernel = path_join(e->root, e->kernel); in load_kexec_kernel()
69 initrd = path_join(e->root, e->initrd[0]); in load_kexec_kernel()
/systemd-251/src/nspawn/
Dnspawn-mount.c100 return path_join(dest, source + 1); in resolve_source_path()
119 m->source = path_join(m->rm_rf_tmpdir, "src"); in allocate_temporary_source()
437 from = path_join(full, x); in mount_sysfs()
441 to = path_join(top, x); in mount_sysfs()
1025 bindir = path_join(directory, "/bin"); in setup_volatile_yes()
1254 directory_pivot_root_new = path_join(directory, pivot_root_new); in setup_pivot_root()
1270 pivot_tmp_pivot_root_old = path_join(pivot_tmp, pivot_root_old); in setup_pivot_root()
Dnspawn-cgroup.c369 target = path_join("/sys/fs/cgroup/", tok); in mount_legacy_cgns_supported()
450 origin = path_join("/sys/fs/cgroup/", controller); in mount_legacy_cgns_unsupported()
467 target = path_join(dest, origin); in mount_legacy_cgns_unsupported()
/systemd-251/src/udev/
Dudev-node.c168 path = path_join(stackdir, de->d_name); in link_find_prioritized()
330 filename = path_join(dirname, id); in update_stack_directory()
441 dirname = path_join("/run/udev/links", name_enc); in link_update()
769 p = path_join("/run/udev/static_node-tags/", *t, unescaped_filename); in static_node_apply_permissions()
/systemd-251/src/import/
Dimport-fs.c128 final_path = path_join(arg_image_root, local); in import_fs()
143 final_path = path_join(arg_image_root, local); in import_fs()

123456