Lines Matching refs:target_name
98 int target_atfd, const char *target_name, in install_file() argument
190 if (target_name && (flags & (INSTALL_FSYNC_FULL|INSTALL_SYNCFS)) != 0) { in install_file()
200 if (target_name) { in install_file()
205 if (renameat(source_atfd, source_name, target_atfd, target_name) < 0) { in install_file()
217 … dfd = openat(target_atfd, target_name, O_RDONLY|O_DIRECTORY|O_CLOEXEC, 0); in install_file()
221 … if (renameat2(source_atfd, source_name, target_atfd, target_name, RENAME_EXCHANGE) < 0) { in install_file()
231 r = unlinkat_maybe_dir(target_atfd, target_name); in install_file()
235 … if (renameat(source_atfd, source_name, target_atfd, target_name) < 0) in install_file()
248 r = rename_noreplace(source_atfd, source_name, target_atfd, target_name); in install_file()
261 if (target_name) in install_file()
262 r = fsync_parent_at(target_atfd, target_name); in install_file()