Searched refs:copy_file_atomic (Results 1 – 9 of 9) sorted by relevance
/systemd-251/src/test/ |
D | test-copy.c | 300 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/ |
D | copy.h | 44 static inline int copy_file_atomic(const char *from, const char *to, mode_t mode, unsigned chattr_f… in copy_file_atomic() function
|
D | discover-image.c | 837 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/ |
D | pstore.c | 161 r = copy_file_atomic(ifd_path, ofd_path, 0600, 0, 0, COPY_REPLACE); in move_file()
|
/systemd-251/src/journal/ |
D | managed-journal-file.c | 213 … 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/ |
D | pull-tar.c | 275 r = copy_file_atomic( in tar_pull_make_local_copy()
|
D | pull-raw.c | 327 r = copy_file_atomic( in raw_pull_copy_auxiliary_file()
|
/systemd-251/src/portable/ |
D | portable.c | 1054 r = copy_file_atomic(from, dropin, 0644, 0, 0, COPY_REFLINK); in install_profile_dropin()
|
/systemd-251/src/nspawn/ |
D | nspawn.c | 2021 … 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()
|