Home
last modified time | relevance | path

Searched refs:source_name (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/shared/ !
Dinstall-file.c97 int install_file(int source_atfd, const char *source_name, in install_file() argument
113 assert(source_name); in install_file()
126 pfd = openat(source_atfd, source_name, O_PATH|O_CLOEXEC|O_NOFOLLOW); in install_file()
205 if (renameat(source_atfd, source_name, target_atfd, target_name) < 0) { in install_file()
221 … if (renameat2(source_atfd, source_name, target_atfd, target_name, RENAME_EXCHANGE) < 0) { in install_file()
235 … if (renameat(source_atfd, source_name, target_atfd, target_name) < 0) in install_file()
242 r = unlinkat_maybe_dir(source_atfd, source_name); in install_file()
248 r = rename_noreplace(source_atfd, source_name, target_atfd, target_name); in install_file()
264 r = fsync_parent_at(source_atfd, source_name); in install_file()
Dinstall-file.h14 int install_file(int source_atfd, const char *source_name, int target_atfd, const char *target_name…