Lines Matching defs:dstfd
1269 uv_file dstfd;
1280 dstfd = -1;
1302 dstfd = uv_fs_open(NULL,
1310 if (dstfd < 0) {
1311 err = dstfd;
1319 if (fstat(dstfd, &dst_statsbuf)) {
1324 /* Check if srcfd and dstfd refer to the same file */
1331 if (ftruncate(dstfd, 0) != 0) {
1337 if (fchmod(dstfd, src_statsbuf.st_mode) == -1) {
1347 if (!uv__is_cifs_or_smb(dstfd))
1359 if (ioctl(dstfd, FICLONE, srcfd) == 0) {
1383 uv_fs_sendfile(NULL, &fs_req, dstfd, srcfd, in_offset, bytes_chunk, NULL);
1410 if (dstfd >= 0) {
1411 err = uv__close_nocheckstdio(dstfd);