Home
last modified time | relevance | path

Searched refs:map_size (Results 1 – 1 of 1) sorted by last modified time

/unit/src/
H A Dnxt_mem_zone.c61 uint32_t map_size; member
309 slot[n].start, slot[n].map_size); in nxt_mem_zone_slots_init()
332 slot->map_size = nxt_align_size(((slot->chunks + 7) / 8), 4); in nxt_mem_zone_slot_init()
342 if (slot->map_size > 4) { in nxt_mem_zone_slot_init()
345 if (slot->start < slot->map_size) { in nxt_mem_zone_slot_init()
350 if (slot->size < slot->map_size) { in nxt_mem_zone_slot_init()
352 slot->chunks -= slot->map_size / slot->size; in nxt_mem_zone_slot_init()
353 slot->start = nxt_align_size(slot->map_size, 16); in nxt_mem_zone_slot_init()
563 nxt_memzero(map, slot->map_size); in nxt_mem_zone_alloc_small()
873 nxt_mem_zone_free_junk(map, slot->map_size); in nxt_mem_zone_free_chunk()