Home
last modified time | relevance | path

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

/unit/src/
H A Dnxt_port_memory_int.h31 #define PORT_MMAP_CHUNK_COUNT (PORT_MMAP_DATA_SIZE / PORT_MMAP_CHUNK_SIZE) macro
45 #define MAX_FREE_IDX FREE_IDX(PORT_MMAP_CHUNK_COUNT)
59 nxt_atomic_t tracking[PORT_MMAP_CHUNK_COUNT];
H A Dnxt_port_memory.c349 nxt_port_mmap_set_chunk_busy(hdr->free_map, PORT_MMAP_CHUNK_COUNT); in nxt_port_new_port_mmap()
350 nxt_port_mmap_set_chunk_busy(hdr->free_tracking_map, PORT_MMAP_CHUNK_COUNT); in nxt_port_new_port_mmap()
556 if (nxt_slow_path(nchunks > PORT_MMAP_CHUNK_COUNT)) { in nxt_port_mmap_get_buf()
H A Dnxt_unit.c3553 >= lib->shm_mmap_limit * PORT_MMAP_CHUNK_COUNT)) in nxt_unit_mmap_get()
3780 nxt_port_mmap_set_chunk_busy(hdr->free_map, PORT_MMAP_CHUNK_COUNT); in nxt_unit_new_mmap()
3781 nxt_port_mmap_set_chunk_busy(hdr->free_tracking_map, PORT_MMAP_CHUNK_COUNT); in nxt_unit_new_mmap()