Home
last modified time | relevance | path

Searched refs:copy_file_atomic (Results 1 – 9 of 9) sorted by relevance

/systemd-251/src/test/
Dtest-copy.c300 r = copy_file_atomic("/etc/fstab", q, 0644, 0, 0, COPY_REFLINK); in TEST()
304 assert_se(copy_file_atomic("/etc/fstab", q, 0644, 0, 0, COPY_REFLINK) == -EEXIST); in TEST()
306 assert_se(copy_file_atomic("/etc/fstab", q, 0644, 0, 0, COPY_REPLACE) >= 0); in TEST()
/systemd-251/src/shared/
Dcopy.h44 static inline int copy_file_atomic(const char *from, const char *to, mode_t mode, unsigned chattr_f… in copy_file_atomic() function
Ddiscover-image.c837 return copy_file_atomic(path, rs, 0664, 0, 0, COPY_REFLINK); in clone_auxiliary_file()
898 …r = copy_file_atomic(i->path, new_path, read_only ? 0444 : 0644, FS_NOCOW_FL, FS_NOCOW_FL, COPY_RE… in image_clone()
/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.c213 … r = copy_file_atomic(FORMAT_PROC_FD_PATH(f->file->fd), f->file->path, f->file->mode, in managed_journal_file_set_offline_internal()
/systemd-251/src/import/
Dpull-tar.c275 r = copy_file_atomic( in tar_pull_make_local_copy()
Dpull-raw.c327 r = copy_file_atomic( in raw_pull_copy_auxiliary_file()
/systemd-251/src/portable/
Dportable.c1054 r = copy_file_atomic(from, dropin, 0644, 0, 0, COPY_REFLINK); in install_profile_dropin()
/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()