Lines Matching refs:in_fd
847 int in_fd; in uv__fs_sendfile_emul() local
852 in_fd = req->flags; in uv__fs_sendfile_emul()
889 nread = pread(in_fd, buf, buflen, offset); in uv__fs_sendfile_emul()
891 nread = read(in_fd, buf, buflen); in uv__fs_sendfile_emul()
986 static ssize_t uv__fs_try_copy_file_range(int in_fd, off_t* off, in uv__fs_try_copy_file_range() argument
996 r = uv__fs_copy_file_range(in_fd, off, out_fd, NULL, len, 0); in uv__fs_try_copy_file_range()
1006 if (uv__is_buggy_cephfs(in_fd)) in uv__fs_try_copy_file_range()
1036 int in_fd; in uv__fs_sendfile() local
1039 in_fd = req->flags; in uv__fs_sendfile()
1054 r = uv__fs_try_copy_file_range(in_fd, &off, out_fd, len); in uv__fs_sendfile()
1059 r = sendfile(out_fd, in_fd, &off, len); in uv__fs_sendfile()
1099 r = uv__fs_copy_file_range(in_fd, &off, out_fd, NULL, req->bufsml[0].len, 0); in uv__fs_sendfile()
1107 r = sendfile(in_fd, out_fd, req->off, req->bufsml[0].len, NULL, &len, 0); in uv__fs_sendfile()
1112 r = sendfile(in_fd, out_fd, req->off, &len, NULL, 0); in uv__fs_sendfile()
1139 (void) &in_fd; in uv__fs_sendfile()
2158 uv_file in_fd, in uv_fs_sendfile() argument
2163 req->flags = in_fd; /* hack */ in uv_fs_sendfile()