Home
last modified time | relevance | path

Searched refs:file_pos (Results 1 – 13 of 13) sorted by relevance

/unit/src/
H A Dnxt_buf_filter.c269 size = f->input->file_end - f->input->file_pos; in nxt_buf_filter_file_read()
291 b->file_pos = f->input->file_pos; in nxt_buf_filter_file_read()
292 b->file_end = f->input->file_pos; in nxt_buf_filter_file_read()
296 ff->job_file.offset = f->input->file_pos; in nxt_buf_filter_file_read()
346 jbf->file.name, b->file_pos, b->file_end); in nxt_buf_filter_file_job_completion()
358 f->input->file_pos = b->file_end; in nxt_buf_filter_file_job_completion()
360 done = (f->input->file_pos == f->input->file_end); in nxt_buf_filter_file_job_completion()
411 b, f->filter_file->job_file.file.name, b->file_pos, b->file_end); in nxt_buf_filter_buf_completion()
421 if (fb->file_pos < fb->file_end) { in nxt_buf_filter_buf_completion()
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_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_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_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_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_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_conn_write.c194 size = b->file_end - b->file_pos; in nxt_conn_io_sendfile()
196 n = nxt_sendfile(b->file->fd, sb->socket, b->file_pos, size); in nxt_conn_io_sendfile()
201 b->file->fd, sb->socket, b->file_pos, size, n); in nxt_conn_io_sendfile()
213 b->file_pos); in nxt_conn_io_sendfile()
236 b->file->fd, sb->socket, b->file_pos, size, err); in nxt_conn_io_sendfile()
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_solaris_sendfilev.c108 pos = b->file_pos; in nxt_solaris_buf_coalesce()
H A Dnxt_http_static.c792 rest = fb->file_end - fb->file_pos; in nxt_http_static_body_handler()
860 rest = fb->file_end - fb->file_pos; in nxt_http_static_buf_completion()
865 n = nxt_file_read(fb->file, b->mem.start, size, fb->file_pos); in nxt_http_static_buf_completion()
886 fb->file_pos += n; in nxt_http_static_buf_completion()
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_port_socket.c653 b->file_pos += sent; in nxt_port_buf_completion()
663 b->file_pos = b->file_end; in nxt_port_buf_completion()