Lines Matching refs:map
36 uint32_t map; member
128 #define nxt_mp_chunk_get_free(map) \ argument
129 (__builtin_ffs(map) - 1)
132 #define nxt_mp_chunk_is_free(map, chunk) \ argument
133 ((map & (1 << chunk)) != 0)
136 #define nxt_mp_chunk_set_busy(map, chunk) \ argument
137 map &= ~(1 << chunk)
140 #define nxt_mp_chunk_set_free(map, chunk) \ argument
141 map |= (1 << chunk)
544 n = nxt_mp_chunk_get_free(page->u.map); in nxt_mp_alloc_small()
545 nxt_mp_chunk_set_busy(page->u.map, n); in nxt_mp_alloc_small()
571 page->u.map = 0xFFFFFFFE; in nxt_mp_alloc_small()
893 if (nxt_slow_path(nxt_mp_chunk_is_free(page->u.map, chunk))) { in nxt_mp_chunk_free()
897 nxt_mp_chunk_set_free(page->u.map, chunk); in nxt_mp_chunk_free()
899 if (page->u.map != 0xFFFFFFFF) { in nxt_mp_chunk_free()