Home
last modified time | relevance | path

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

/unit/src/
H A Dnxt_port_memory.c475 nchunks = 1; in nxt_port_mmap_get()
477 while (nchunks < n) { in nxt_port_mmap_get()
486 nchunks = 0; in nxt_port_mmap_get()
490 nchunks++; in nxt_port_mmap_get()
493 if (nchunks == n) { in nxt_port_mmap_get()
547 nxt_int_t nchunks; in nxt_port_mmap_get_buf() local
632 while (nchunks > 0) { in nxt_port_mmap_increase_buf()
639 nchunks--; in nxt_port_mmap_increase_buf()
642 if (nchunks != 0 in nxt_port_mmap_increase_buf()
667 size_t nchunks; in nxt_port_mmap_get_incoming_buf() local
[all …]
H A Dnxt_unit.c3494 int res, nchunks, i; in nxt_unit_mmap_get() local
3523 nchunks = 1; in nxt_unit_mmap_get()
3525 while (nchunks < *n) { in nxt_unit_mmap_get()
3530 if (nchunks >= min_n) { in nxt_unit_mmap_get()
3531 *n = nchunks; in nxt_unit_mmap_get()
3540 *c += nchunks + 1; in nxt_unit_mmap_get()
3541 nchunks = 0; in nxt_unit_mmap_get()
3545 nchunks++; in nxt_unit_mmap_get()
3548 if (nchunks >= min_n) { in nxt_unit_mmap_get()
3549 *n = nchunks; in nxt_unit_mmap_get()
[all …]