Searched refs:PAGE_MASK (Results 1 – 14 of 14) sorted by relevance
5 #ifdef PAGE_MASK6 # undef PAGE_MASK9 #define PAGE_MASK ((size_t)(PAGE - 1)) macro12 ((void *)((uintptr_t)(a) & ~PAGE_MASK))15 (((s) + PAGE_MASK) & ~PAGE_MASK)
31 #define PAGE_MASK (PAGE_SIZE - 1)44 pg_offset = offset & PAGE_MASK;46 + map_size = (pg_offset + size + PAGE_MASK) & ~PAGE_MASK;53 pg_offset = offset & PAGE_MASK;55 + map_size = (pg_offset + size + PAGE_MASK) & ~PAGE_MASK;
324 #ifdef PAGE_MASK325 # undef PAGE_MASK328 #define PAGE_MASK ((size_t)(PAGE - 1)) macro332 ((void *)((uintptr_t)(a) & ~PAGE_MASK))336 (((s) + PAGE_MASK) & ~PAGE_MASK)
967 assert((size & PAGE_MASK) == 0); in arena_mapbits_unallocated_set()982 assert((size & PAGE_MASK) == 0); in arena_mapbits_unallocated_size_set()1003 assert((size & PAGE_MASK) == 0); in arena_mapbits_large_set()1411 PAGE_MASK) == 0); in arena_salloc()1479 PAGE_MASK) == 0); in arena_dalloc()1536 PAGE_MASK) == 0); in arena_sdalloc()
449 assert((size & PAGE_MASK) == 0); in tcache_dalloc_large()
18 #define PAGE_MASK (~(PAGE_SIZE - 1)) macro
233 assert((size & PAGE_MASK) == 0); in extent_size_quantize_floor()259 assert((size & PAGE_MASK) == 0); in extent_size_quantize_ceil()1886 assert((offset & PAGE_MASK) == 0); in extent_purge_lazy_default()1888 assert((length & PAGE_MASK) == 0); in extent_purge_lazy_default()1933 assert((offset & PAGE_MASK) == 0); in extent_purge_forced_default()1935 assert((length & PAGE_MASK) == 0); in extent_purge_forced_default()
1398 && (usize & PAGE_MASK) == 0))) { in arena_palloc()
2260 if (!config_cache_oblivious && ((uintptr_t)ptr & PAGE_MASK) != 0) {
700 assert((offset & PAGE_MASK) == 0); in chunk_purge_default()702 assert((length & PAGE_MASK) == 0); in chunk_purge_default()
127 assert((size & PAGE_MASK) == 0); in ph_gen()163 assert((size & PAGE_MASK) == 0); in run_quantize_ceil()2796 && (usize & PAGE_MASK) == 0))) { in arena_palloc()2810 ret = (void *)((uintptr_t)ret & ~PAGE_MASK); in arena_palloc()3783 map_bias = (header_size + PAGE_MASK) >> LG_PAGE; in arena_boot()
650 assert(((size_t)(gProtectedData.protected_buffer) & PAGE_MASK) == 0); in InstallHandler()
521 def PAGE_ALIGN(addr): return (((addr)+PAGE_SIZE-1)&PAGE_MASK)