Home
last modified time | relevance | path

Searched refs:COPY_REPLACE (Results 1 – 12 of 12) sorted by relevance

/systemd-251/src/shared/
Dcopy.h15 COPY_REPLACE = 1 << 2, /* Replace an existing file if there's one */ enumerator
Dcopy.c1349 if (copy_flags & COPY_REPLACE) { in copy_file_atomic_full()
1397 if (copy_flags & COPY_REPLACE) { in copy_file_atomic_full()
/systemd-251/src/dissect/
Ddissect.c795 ….", dfd, basename(arg_target), UID_INVALID, GID_INVALID, COPY_REFLINK|COPY_REPLACE|COPY_SIGINT|COP… in action_copy()
797 …ource_fd, ".", target_fd, ".", UID_INVALID, GID_INVALID, COPY_REFLINK|COPY_REPLACE|COPY_SIGINT|COP… in action_copy()
/systemd-251/src/pstore/
Dpstore.c161 r = copy_file_atomic(ifd_path, ofd_path, 0600, 0, 0, COPY_REPLACE); in move_file()
/systemd-251/src/journal/
Dmanaged-journal-file.c216COPY_REPLACE | COPY_FSYNC | COPY_HOLES | COPY_ALL_XATTRS); in managed_journal_file_set_offline_internal()
/systemd-251/src/test/
Dtest-copy.c306 assert_se(copy_file_atomic("/etc/fstab", q, 0644, 0, 0, COPY_REPLACE) >= 0); in TEST()
Dtest-execute.c277 …(copy_file("/bin/ls", "/tmp/test-exec_execsearchpath/ls_temp", 0, 0777, 0, 0, COPY_REPLACE) >= 0); in test_exec_execsearchpath()
/systemd-251/src/import/
Dpull-tar.c281 (FLAGS_SET(i->flags, PULL_FORCE) ? COPY_REPLACE : 0) | in tar_pull_make_local_copy()
Dpull-raw.c333 (FLAGS_SET(i->flags, PULL_FORCE) ? COPY_REPLACE : 0) | in raw_pull_copy_auxiliary_file()
/systemd-251/src/home/
Dhomework.c1039 … r = copy_tree_at(AT_FDCWD, skel, root_fd, ".", UID_INVALID, GID_INVALID, COPY_MERGE|COPY_REPLACE); in copy_skel()
/systemd-251/src/nspawn/
Dnspawn.c2021 … r = copy_file_atomic("/etc/localtime", where, 0644, 0, 0, COPY_REFLINK|COPY_REPLACE); in setup_timezone()
2155 r = copy_file_atomic(what, where, 0644, 0, 0, COPY_REFLINK|COPY_REPLACE); in setup_resolv_conf()
/systemd-251/src/partition/
Drepart.c2863 … COPY_REFLINK|COPY_MERGE|COPY_REPLACE|COPY_SIGINT|COPY_HARDLINKS|COPY_ALL_XATTRS); in do_copy_files()
2869 … COPY_REFLINK|COPY_MERGE|COPY_REPLACE|COPY_SIGINT|COPY_HARDLINKS|COPY_ALL_XATTRS); in do_copy_files()