Lines Matching refs:fdout
128 int fdout = -1, cfd = try->parent ? try->parent->extra : AT_FDCWD, in cp_node() local
138 fdout = try->extra; in cp_node()
241 fdout = AT_FDCWD; in cp_node()
259 fdout = AT_FDCWD; in cp_node()
273 fdout = openat(cfd, catch, O_RDWR|O_CREAT|O_TRUNC, try->st.st_mode); in cp_node()
274 if (fdout >= 0) { in cp_node()
275 xsendfile(fdin, fdout); in cp_node()
294 if (xattr_fset(fdout, name, value, len, 0)) in cp_node()
309 if (fdout != -1) { in cp_node()
319 if (fdout == AT_FDCWD) in cp_node()
322 else rc = fchown(fdout, try->st.st_uid, try->st.st_gid); in cp_node()
335 if (fdout == AT_FDCWD) utimensat(cfd, catch, times, AT_SYMLINK_NOFOLLOW); in cp_node()
336 else futimens(fdout, times); in cp_node()
340 if (fdout != AT_FDCWD) { in cp_node()
341 if (TT.pflags & _CP_mode) fchmod(fdout, try->st.st_mode); in cp_node()
342 xclose(fdout); in cp_node()