Lines Matching refs:fd
61 …end_read_fd_range(request_st * const r, const buffer * const fn, const int fd, off_t offset, off_t… in http_chunk_append_read_fd_range() argument
79 rd = chunk_file_pread(fd, b->ptr+offset, (size_t)len, foff+offset); in http_chunk_append_read_fd_range()
103 const int fd = sce->fd; in http_chunk_append_file_ref_range() local
104 chunkqueue_append_file_fd(cq, fn, fd, offset, len); in http_chunk_append_file_ref_range()
105 if (fd >= 0) { in http_chunk_append_file_ref_range()
117 void http_chunk_append_file_fd_range(request_st * const r, const buffer * const fn, const int fd, c… in http_chunk_append_file_fd_range() argument
123 chunkqueue_append_file_fd(cq, fn, fd, offset, len); in http_chunk_append_file_fd_range()
129 int http_chunk_append_file_fd(request_st * const r, const buffer * const fn, const int fd, const of… in http_chunk_append_file_fd() argument
131 http_chunk_append_file_fd_range(r, fn, fd, 0, sz); in http_chunk_append_file_fd()
136 int rc = (0 != sz) ? http_chunk_append_read_fd_range(r,fn,fd,0,sz) : 0; in http_chunk_append_file_fd()
137 close(fd); in http_chunk_append_file_fd()
150 const int fd = sce->fd; in http_chunk_append_file_ref() local
151 int rc = (0 != sz) ? http_chunk_append_read_fd_range(r,fn,fd,0,sz) : 0; in http_chunk_append_file_ref()