Home
last modified time | relevance | path

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

/unit/src/
H A Dnxt_port_memory.c51 cap = port_mmaps->cap; in nxt_port_mmap_at()
67 if (cap != port_mmaps->cap) { in nxt_port_mmap_at()
69 port_mmaps->elts = nxt_realloc(port_mmaps->elts, in nxt_port_mmap_at()
75 nxt_memzero(port_mmaps->elts + port_mmaps->cap, in nxt_port_mmap_at()
78 port_mmaps->cap = cap; in nxt_port_mmap_at()
81 if (i + 1 > port_mmaps->size) { in nxt_port_mmap_at()
82 port_mmaps->size = i + 1; in nxt_port_mmap_at()
85 return port_mmaps->elts + i; in nxt_port_mmap_at()
95 if (port_mmaps == NULL) { in nxt_port_mmaps_destroy()
99 port_mmap = port_mmaps->elts; in nxt_port_mmaps_destroy()
[all …]
H A Dnxt_port_memory.h16 void nxt_port_mmaps_destroy(nxt_port_mmaps_t *port_mmaps, nxt_bool_t free_elts);