Home
last modified time | relevance | path

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

/unit/src/
H A Dnxt_mp.c106 uint8_t chunk_size_shift; member
246 uint32_t pages, chunk_size_shift, page_size_shift; in nxt_mp_create() local
249 chunk_size_shift = nxt_lg2(min_chunk_size); in nxt_mp_create()
252 pages = page_size_shift - chunk_size_shift; in nxt_mp_create()
258 mp->chunk_size_shift = chunk_size_shift; in nxt_mp_create()
491 n = nxt_lg2(size - 1) + 1 - mp->chunk_size_shift; in nxt_mp_chunk_pages_index()
547 p += ((n << index) << mp->chunk_size_shift); in nxt_mp_alloc_small()
565 n = mp->page_size_shift - (index + mp->chunk_size_shift); in nxt_mp_alloc_small()
581 page->size = mp->page_size >> mp->chunk_size_shift; in nxt_mp_alloc_small()
588 page->size << mp->chunk_size_shift, p); in nxt_mp_alloc_small()
[all …]