Home
last modified time | relevance | path

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

/unit/src/
H A Dnxt_port_memory.c170 nxt_port_mmap_set_chunk_free(hdr->free_map, c); in nxt_port_mmap_buf_completion()
293 nxt_free_map_t *free_map; in nxt_port_new_port_mmap() local
334 nxt_memset(hdr->free_map, 0xFFU, sizeof(hdr->free_map)); in nxt_port_new_port_mmap()
342 free_map = tracking ? hdr->free_tracking_map : hdr->free_map; in nxt_port_new_port_mmap()
345 nxt_port_mmap_set_chunk_busy(free_map, i); in nxt_port_new_port_mmap()
349 nxt_port_mmap_set_chunk_busy(hdr->free_map, PORT_MMAP_CHUNK_COUNT); in nxt_port_new_port_mmap()
449 nxt_free_map_t *free_map; in nxt_port_mmap_get() local
472 free_map = tracking ? hdr->free_tracking_map : hdr->free_map; in nxt_port_mmap_get()
474 while (nxt_port_mmap_get_free_chunk(free_map, c)) { in nxt_port_mmap_get()
634 if (nxt_port_mmap_chk_set_chunk_busy(hdr->free_map, c) == 0) { in nxt_port_mmap_increase_buf()
[all …]
H A Dnxt_port_memory_int.h55 nxt_free_map_t free_map[MAX_FREE_IDX]; member
H A Dnxt_unit.c3504 while (nxt_port_mmap_get_free_chunk(hdr->free_map, c)) { in nxt_unit_mmap_get()
3508 res = nxt_port_mmap_chk_set_chunk_busy(hdr->free_map, in nxt_unit_mmap_get()
3519 nxt_port_mmap_set_chunk_free(hdr->free_map, *c + i); in nxt_unit_mmap_get()
3761 memset(hdr->free_map, 0xFFU, sizeof(hdr->free_map)); in nxt_unit_new_mmap()
3772 nxt_port_mmap_set_chunk_busy(hdr->free_map, i); in nxt_unit_new_mmap()
3776 nxt_port_mmap_set_chunk_busy(hdr->free_map, PORT_MMAP_CHUNK_COUNT); in nxt_unit_new_mmap()
4341 nxt_port_mmap_set_chunk_free(hdr->free_map, c); in nxt_unit_mmap_release()
H A Dnxt_router.c5526 m = mmap_handler->hdr->free_map; in nxt_router_oosm_handler()