Home
last modified time | relevance | path

Searched refs:page_size_mask (Results 1 – 1 of 1) sorted by path

/unit/src/
H A Dnxt_mem_zone.c79 uint32_t page_size_mask; member
271 zone->page_size_mask = page_size - 1; in nxt_mem_zone_pages()
635 pages = (size + zone->page_size_mask) >> zone->page_size_shift; in nxt_mem_zone_alloc_large()
704 zone->page_size_mask + 1); in nxt_mem_zone_alloc_pages()
792 } else if (nxt_slow_path((uintptr_t) p & zone->page_size_mask) != 0) { in nxt_mem_zone_free()
799 nxt_mem_zone_free_junk(p, count * zone->page_size_mask + 1); in nxt_mem_zone_free()
835 offset = (uintptr_t) p & zone->page_size_mask; in nxt_mem_zone_free_chunk()
846 map = (u_char *) ((uintptr_t) p & ~((uintptr_t) zone->page_size_mask)); in nxt_mem_zone_free_chunk()