Home
last modified time | relevance | path

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

/unit/src/
H A Dnxt_controller.c751 size_t preread; in nxt_controller_conn_read() local
798 preread = nxt_buf_mem_used_size(&b->mem); in nxt_controller_conn_read()
802 r->length, preread); in nxt_controller_conn_read()
804 if (preread >= r->length) { in nxt_controller_conn_read()
809 if (r->length - preread > (size_t) nxt_buf_mem_free_size(&b->mem)) { in nxt_controller_conn_read()
816 b->mem.free = nxt_cpymem(b->mem.free, c->read->mem.pos, preread); in nxt_controller_conn_read()