/systemd-251/src/core/ |
D | generator-setup.c | 50 (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/ |
D | test-execute.c | 238 (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 …]
|
D | test-path.c | 48 (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()
|
D | test-rm-rf.c | 29 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()
|
D | test-glob-util.c | 62 (void) rm_rf(template, REMOVE_ROOT|REMOVE_PHYSICAL); in TEST() 94 (void) rm_rf(template, REMOVE_ROOT|REMOVE_PHYSICAL); in TEST()
|
D | test-copy.c | 90 (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()
|
D | test-conf-files.c | 89 assert_se(rm_rf(tmp_dir, REMOVE_ROOT|REMOVE_PHYSICAL) == 0); in test_conf_files_list_one()
|
D | test-fs-util.c | 391 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()
|
D | test-mountpoint-util.c | 265 assert_se(rm_rf(tmp_dir, REMOVE_ROOT|REMOVE_PHYSICAL) == 0); in TEST()
|
D | test-path-util.c | 504 assert_se(rm_rf(tmp_dir, REMOVE_ROOT|REMOVE_PHYSICAL) == 0); in TEST()
|
/systemd-251/src/shared/ |
D | rm-rf.h | 12 …REMOVE_PHYSICAL = 1 << 2, /* If not set, only removes files on tmpfs, never physical file … enumerator 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()
|
D | rm-rf.c | 178 q = rm_rf_children(subdir_fd, flags | REMOVE_PHYSICAL, root_dev); in rm_rf_inner_child() 250 if (!(flags & REMOVE_PHYSICAL)) { in rm_rf_children() 333 if (FLAGS_SET(flags, REMOVE_SUBVOLUME | REMOVE_ROOT | REMOVE_PHYSICAL)) { in rm_rf() 365 if (!FLAGS_SET(flags, REMOVE_PHYSICAL)) { in rm_rf()
|
D | install-file.c | 229 … (void) rm_rf_children(TAKE_FD(dfd), REMOVE_PHYSICAL|REMOVE_SUBVOLUME|REMOVE_CHMOD, NULL); in install_file() 240 … (void) rm_rf_children(TAKE_FD(dfd), REMOVE_PHYSICAL|REMOVE_SUBVOLUME|REMOVE_CHMOD, NULL); in install_file()
|
/systemd-251/src/journal/ |
D | test-journal.c | 115 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()
|
D | test-journal-interleaving.c | 198 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()
|
D | test-journal-verify.c | 140 assert_se(rm_rf(t, REMOVE_ROOT|REMOVE_PHYSICAL) >= 0); in main()
|
D | test-journal-stream.c | 176 assert_se(rm_rf(t, REMOVE_ROOT|REMOVE_PHYSICAL) >= 0); in run_test()
|
/systemd-251/src/libsystemd/sd-journal/ |
D | test-journal-init.c | 47 assert_se(rm_rf(t, REMOVE_ROOT|REMOVE_PHYSICAL) >= 0); in main()
|
/systemd-251/src/import/ |
D | import-fs.c | 180 (void) rm_rf(final_path, REMOVE_ROOT|REMOVE_PHYSICAL|REMOVE_SUBVOLUME); in import_fs()
|
D | import-tar.c | 226 (void) rm_rf(d, REMOVE_ROOT|REMOVE_PHYSICAL|REMOVE_SUBVOLUME); in tar_import_fork_tar()
|
D | pull-common.c | 500 (void) rm_rf(gpg_home, REMOVE_ROOT|REMOVE_PHYSICAL); in verify_gpg()
|
D | pull-tar.c | 518 (void) rm_rf(where, REMOVE_ROOT|REMOVE_PHYSICAL|REMOVE_SUBVOLUME); in tar_pull_job_on_open_disk_tar()
|
/systemd-251/src/sysupdate/ |
D | sysupdate-transfer.c | 617 … r = rm_rf_child(dirfd(d), de->d_name, REMOVE_PHYSICAL|REMOVE_SUBVOLUME|REMOVE_CHMOD); in transfer_remove_temporary() 717 …r = rm_rf(oldest->path, REMOVE_ROOT|REMOVE_PHYSICAL|REMOVE_SUBVOLUME|REMOVE_MISSING_OK|REMOVE_CHMO… in transfer_vacuum()
|
/systemd-251/src/nspawn/ |
D | nspawn-mount.c | 60 (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/ |
D | tmpfiles.c | 2054 … r = rm_rf_children(TAKE_FD(child_fd), REMOVE_ROOT|REMOVE_SUBVOLUME|REMOVE_PHYSICAL, &st); in rm_if_wrong_type_safe() 2275 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()
|