Home
last modified time | relevance | path

Searched refs:rm_rf (Results 1 – 25 of 36) sorted by relevance

12

/systemd-251/src/core/
Dgenerator-setup.c50 (void) rm_rf(p->generator, REMOVE_ROOT|REMOVE_PHYSICAL); in lookup_paths_flush_generator()
52 (void) rm_rf(p->generator_early, REMOVE_ROOT|REMOVE_PHYSICAL); in lookup_paths_flush_generator()
54 (void) rm_rf(p->generator_late, REMOVE_ROOT|REMOVE_PHYSICAL); in lookup_paths_flush_generator()
57 (void) rm_rf(p->temporary_dir, REMOVE_ROOT|REMOVE_PHYSICAL); in lookup_paths_flush_generator()
/systemd-251/src/test/
Dtest-execute.c238 (void) rm_rf("/tmp/test-exec-bindpaths", REMOVE_ROOT|REMOVE_PHYSICAL); in test_exec_bindpaths()
239 (void) rm_rf("/tmp/test-exec-bindreadonlypaths", REMOVE_ROOT|REMOVE_PHYSICAL); in test_exec_bindpaths()
271 (void) rm_rf("/tmp/test-exec_workingdirectory", REMOVE_ROOT|REMOVE_PHYSICAL); in test_exec_workingdirectory()
281 assert_se(rm_rf("/tmp/test-exec_execsearchpath", REMOVE_ROOT|REMOVE_PHYSICAL) >= 0); in test_exec_execsearchpath()
685 (void) rm_rf("/tmp/test-exec-mount-apivfs-no/root", REMOVE_ROOT|REMOVE_PHYSICAL); in test_exec_mount_apivfs()
876 (void) rm_rf("/var/lib/quux", REMOVE_ROOT|REMOVE_PHYSICAL); in test_exec_dynamicuser()
877 (void) rm_rf("/var/lib/test-dynamicuser-migrate", REMOVE_ROOT|REMOVE_PHYSICAL); in test_exec_dynamicuser()
878 (void) rm_rf("/var/lib/test-dynamicuser-migrate2", REMOVE_ROOT|REMOVE_PHYSICAL); in test_exec_dynamicuser()
879 (void) rm_rf("/var/lib/waldo", REMOVE_ROOT|REMOVE_PHYSICAL); in test_exec_dynamicuser()
880 (void) rm_rf("/var/lib/private/quux", REMOVE_ROOT|REMOVE_PHYSICAL); in test_exec_dynamicuser()
[all …]
Dtest-path.c48 (void) rm_rf(p, REMOVE_ROOT|REMOVE_PHYSICAL); in setup_test()
152 assert_se(rm_rf(test_path, REMOVE_ROOT|REMOVE_PHYSICAL) == 0); in test_path_exists()
186 assert_se(rm_rf(test_path, REMOVE_ROOT|REMOVE_PHYSICAL) == 0); in test_path_existsglob()
232 (void) rm_rf(test_path, REMOVE_ROOT|REMOVE_PHYSICAL); in test_path_changed()
274 (void) rm_rf(test_path, REMOVE_ROOT|REMOVE_PHYSICAL); in test_path_modified()
299 assert_se(rm_rf(test_path, REMOVE_ROOT|REMOVE_PHYSICAL) == 0); in test_path_unit()
340 assert_se(rm_rf(test_path, REMOVE_ROOT|REMOVE_PHYSICAL) == 0); in test_path_directorynotempty()
371 (void) rm_rf(test_path, REMOVE_ROOT|REMOVE_PHYSICAL); in test_path_makedirectory_directorymode()
Dtest-rm-rf.c29 assert_se(rm_rf(d, REMOVE_PHYSICAL|REMOVE_ROOT) == -EACCES); in test_rm_rf_chmod_inner()
35 assert_se(rm_rf(d, REMOVE_PHYSICAL|REMOVE_ROOT|REMOVE_CHMOD) >= 0); in test_rm_rf_chmod_inner()
Dtest-glob-util.c62 (void) rm_rf(template, REMOVE_ROOT|REMOVE_PHYSICAL); in TEST()
94 (void) rm_rf(template, REMOVE_ROOT|REMOVE_PHYSICAL); in TEST()
Dtest-copy.c90 (void) rm_rf(copy_dir, REMOVE_ROOT|REMOVE_PHYSICAL); in TEST()
91 (void) rm_rf(original_dir, REMOVE_ROOT|REMOVE_PHYSICAL); in TEST()
186 (void) rm_rf(copy_dir, REMOVE_ROOT|REMOVE_PHYSICAL); in TEST()
187 (void) rm_rf(original_dir, REMOVE_ROOT|REMOVE_PHYSICAL); in TEST()
Dtest-conf-files.c89 assert_se(rm_rf(tmp_dir, REMOVE_ROOT|REMOVE_PHYSICAL) == 0); in test_conf_files_list_one()
Dtest-fs-util.c391 assert_se(rm_rf(temp, REMOVE_ROOT|REMOVE_PHYSICAL) >= 0); in TEST()
444 assert_se(rm_rf(tempdir, REMOVE_ROOT|REMOVE_PHYSICAL) >= 0); in TEST()
900 assert_se(rm_rf(temp, REMOVE_ROOT|REMOVE_PHYSICAL) >= 0); in TEST()
Dtest-mountpoint-util.c265 assert_se(rm_rf(tmp_dir, REMOVE_ROOT|REMOVE_PHYSICAL) == 0); in TEST()
Dtest-path-util.c504 assert_se(rm_rf(tmp_dir, REMOVE_ROOT|REMOVE_PHYSICAL) == 0); in TEST()
/systemd-251/src/shared/
Drm-rf.h29 int rm_rf(const char *path, RemoveFlags flags);
38 (void) rm_rf(p, REMOVE_ROOT|REMOVE_PHYSICAL|REMOVE_MISSING_OK|REMOVE_CHMOD); in rm_rf_physical_and_free()
50 … (void) rm_rf(p, REMOVE_ROOT|REMOVE_PHYSICAL|REMOVE_SUBVOLUME|REMOVE_MISSING_OK|REMOVE_CHMOD); in rm_rf_subvolume_and_free()
Drm-rf.c316 int rm_rf(const char *path, RemoveFlags flags) { in rm_rf() function
/systemd-251/src/journal/
Dtest-journal.c115 assert_se(rm_rf(t, REMOVE_ROOT|REMOVE_PHYSICAL) >= 0); in TEST()
152 assert_se(rm_rf(t, REMOVE_ROOT|REMOVE_PHYSICAL) >= 0); in TEST()
217 assert_se(rm_rf(t, REMOVE_ROOT|REMOVE_PHYSICAL) >= 0); in check_compressed()
Dtest-journal-interleaving.c198 assert_se(rm_rf(t, REMOVE_ROOT|REMOVE_PHYSICAL) >= 0); in test_skip_one()
290 assert_se(rm_rf(t, REMOVE_ROOT|REMOVE_PHYSICAL) >= 0); in TEST()
Dtest-journal-verify.c140 assert_se(rm_rf(t, REMOVE_ROOT|REMOVE_PHYSICAL) >= 0); in main()
Dtest-journal-stream.c176 assert_se(rm_rf(t, REMOVE_ROOT|REMOVE_PHYSICAL) >= 0); in run_test()
/systemd-251/src/login/
Duser-runtime-dir.c124 r = rm_rf(runtime_path, 0); in user_remove_runtime_path()
134 r = rm_rf(runtime_path, REMOVE_ROOT); in user_remove_runtime_path()
/systemd-251/src/libsystemd/sd-journal/
Dtest-journal-init.c47 assert_se(rm_rf(t, REMOVE_ROOT|REMOVE_PHYSICAL) >= 0); in main()
/systemd-251/src/import/
Dimport-fs.c180 (void) rm_rf(final_path, REMOVE_ROOT|REMOVE_PHYSICAL|REMOVE_SUBVOLUME); in import_fs()
Dimport-tar.c226 (void) rm_rf(d, REMOVE_ROOT|REMOVE_PHYSICAL|REMOVE_SUBVOLUME); in tar_import_fork_tar()
Dpull-common.c500 (void) rm_rf(gpg_home, REMOVE_ROOT|REMOVE_PHYSICAL); in verify_gpg()
Dpull-tar.c518 (void) rm_rf(where, REMOVE_ROOT|REMOVE_PHYSICAL|REMOVE_SUBVOLUME); in tar_pull_job_on_open_disk_tar()
/systemd-251/src/nspawn/
Dnspawn-cgroup.c121 (void) rm_rf(fn, REMOVE_ROOT|REMOVE_ONLY_DIRECTORIES); in sync_cgroup()
Dnspawn-mount.c60 (void) rm_rf(m->work_dir, REMOVE_ROOT|REMOVE_PHYSICAL); in custom_mount_free_all()
65 (void) rm_rf(m->rm_rf_tmpdir, REMOVE_ROOT|REMOVE_PHYSICAL); in custom_mount_free_all()
/systemd-251/src/tmpfiles/
Dtmpfiles.c2275 r = rm_rf(i->path, REMOVE_ROOT|REMOVE_PHYSICAL); in create_item()
2389 r = rm_rf(instance, REMOVE_ROOT|REMOVE_SUBVOLUME|REMOVE_PHYSICAL); in remove_item_instance()
2414 r = rm_rf(i->path, REMOVE_PHYSICAL); in remove_item()

12