Lines Matching refs:dst_fd
36 int dst_fd = -1;51 if ((dst_fd = open(dst, O_RDWR)) < 0) {56 if (lseek64(dst_fd, offset, SEEK_SET) != offset) {84 if ((tmp = write(dst_fd, buffer, nr_bytes)) < 0) {102 if (dst_fd >= 0)103 fsync(dst_fd);108 if (dst_fd >= 0)109 close(dst_fd);113 if (dst_fd >= 0)114 close(dst_fd);