Home
last modified time | relevance | path

Searched refs:file_pos (Results 1 – 12 of 12) sorted by path

/unit/src/
H A Dnxt_aix_send_file.c66 sfp.file_offset = fb->file_pos; in nxt_aix_event_conn_io_send_file()
75 c->socket.fd, fb->file->fd, fb->file_pos, file_size, nhd, ntr); in nxt_aix_event_conn_io_send_file()
106 c->socket.fd, err, fb->file->name, fb->file->fd, fb->file_pos, in nxt_aix_event_conn_io_send_file()
H A Dnxt_buf.h96 nxt_off_t file_pos; member
210 (nxt_buf_is_file(b) ? (b)->file_end - (b)->file_pos: \
H A Dnxt_conn_write.c201 size = b->file_end - b->file_pos; in nxt_conn_io_sendfile()
203 n = nxt_sendfile(b->file->fd, sb->socket, b->file_pos, size); in nxt_conn_io_sendfile()
208 b->file->fd, sb->socket, b->file_pos, size, n); in nxt_conn_io_sendfile()
220 b->file_pos); in nxt_conn_io_sendfile()
243 b->file->fd, sb->socket, b->file_pos, size, err); in nxt_conn_io_sendfile()
H A Dnxt_event_conn_job_sendfile.c248 } else if (nxt_buf_is_file(b) && b->file_pos != b->file_end) { in nxt_event_conn_job_sendfile_completion()
H A Dnxt_freebsd_sendfile.c96 fb->file->fd, c->socket.fd, fb->file_pos, file_size, in nxt_freebsd_event_conn_io_sendfile()
100 n = nxt_sys_sendfile(fb->file->fd, c->socket.fd, fb->file_pos, in nxt_freebsd_event_conn_io_sendfile()
121 fb->file->fd, c->socket.fd, fb->file_pos, file_size, err, in nxt_freebsd_event_conn_io_sendfile()
H A Dnxt_hpux_sendfile.c97 c->socket.fd, fb->file->fd, fb->file_pos, file_size, in nxt_hpux_event_conn_io_sendfile()
100 n = nxt_sys_sendfile(c->socket.fd, fb->file->fd, fb->file_pos, in nxt_hpux_event_conn_io_sendfile()
121 c->socket.fd, fb->file_pos, file_size, &fb->file->name, in nxt_hpux_event_conn_io_sendfile()
H A Dnxt_http_static.c805 rest = fb->file_end - fb->file_pos; in nxt_http_static_body_handler()
873 rest = fb->file_end - fb->file_pos; in nxt_http_static_buf_completion()
878 n = nxt_file_read(fb->file, b->mem.start, size, fb->file_pos); in nxt_http_static_buf_completion()
894 fb->file_pos += n; in nxt_http_static_buf_completion()
H A Dnxt_linux_sendfile.c99 c->socket.fd, fb->file->fd, fb->file_pos, size); in nxt_linux_event_conn_io_sendfile()
101 offset = fb->file_pos; in nxt_linux_event_conn_io_sendfile()
123 c->socket.fd, fb->file->fd, fb->file_pos, size, in nxt_linux_event_conn_io_sendfile()
H A Dnxt_macosx_sendfile.c106 fb->file->fd, c->socket.fd, fb->file_pos, sent, in nxt_macosx_event_conn_io_sendfile()
110 fb->file_pos, &sent, ht, 0); in nxt_macosx_event_conn_io_sendfile()
130 fb->file->fd, c->socket.fd, fb->file_pos, sent, err, in nxt_macosx_event_conn_io_sendfile()
H A Dnxt_port_socket.c653 b->file_pos += sent; in nxt_port_buf_completion()
663 b->file_pos = b->file_end; in nxt_port_buf_completion()
H A Dnxt_sendbuf.c180 size = b->file_end - b->file_pos; in nxt_sendbuf_file_coalesce()
188 last = b->file_pos + size; in nxt_sendbuf_file_coalesce()
196 if (b->file_pos != last || b->file->fd != fd) { in nxt_sendbuf_file_coalesce()
356 b->file_pos += sent; in nxt_sendbuf_update()
366 b->file_pos = b->file_end; in nxt_sendbuf_update()
H A Dnxt_solaris_sendfilev.c108 pos = b->file_pos; in nxt_solaris_buf_coalesce()