Lines Matching refs:fdout
145 int fdout = -1, cfd = try->parent ? try->parent->extra : AT_FDCWD, in cp_node() local
155 fdout = try->extra; in cp_node()
259 fdout = AT_FDCWD; in cp_node()
276 fdout = AT_FDCWD; in cp_node()
288 fdout = openat(cfd, catch, O_RDWR|O_CREAT|O_TRUNC, try->st.st_mode); in cp_node()
289 if (fdout >= 0) { in cp_node()
290 xsendfile(fdin, fdout); in cp_node()
309 if (fsetxattr(fdout, name, value, len, 0)) in cp_node()
324 if (fdout != -1) { in cp_node()
334 if (fdout == AT_FDCWD) in cp_node()
337 else rc = fchown(fdout, try->st.st_uid, try->st.st_gid); in cp_node()
350 if (fdout == AT_FDCWD) utimensat(cfd, catch, times, AT_SYMLINK_NOFOLLOW); in cp_node()
351 else futimens(fdout, times); in cp_node()
355 if (fdout != AT_FDCWD) { in cp_node()
356 if (TT.pflags & _CP_mode) fchmod(fdout, try->st.st_mode); in cp_node()
357 xclose(fdout); in cp_node()