Home
last modified time | relevance | path

Searched refs:REMOVE_PHYSICAL (Results 1 – 25 of 35) 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.h12REMOVE_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()
Drm-rf.c178 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()
Dinstall-file.c229 … (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/
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/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/sysupdate/
Dsysupdate-transfer.c617 … 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/
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.c2054 … 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()

12