Home
last modified time | relevance | path

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

/external/jemalloc_new/include/jemalloc/internal/
Dpages.h5 #ifdef PAGE_MASK
6 # undef PAGE_MASK
9 #define PAGE_MASK ((size_t)(PAGE - 1)) macro
12 ((void *)((uintptr_t)(a) & ~PAGE_MASK))
15 (((s) + PAGE_MASK) & ~PAGE_MASK)
/external/autotest/client/tests/fsx/
D0001-Minor-fixes-to-PAGE_SIZE-handling.patch31 #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;
/external/jemalloc/include/jemalloc/internal/
Djemalloc_internal.h324 #ifdef PAGE_MASK
325 # undef PAGE_MASK
328 #define PAGE_MASK ((size_t)(PAGE - 1)) macro
332 ((void *)((uintptr_t)(a) & ~PAGE_MASK))
336 (((s) + PAGE_MASK) & ~PAGE_MASK)
Darena.h967 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()
Djemalloc_internal.h.in324 #ifdef PAGE_MASK
325 # undef PAGE_MASK
328 #define PAGE_MASK ((size_t)(PAGE - 1)) macro
332 ((void *)((uintptr_t)(a) & ~PAGE_MASK))
336 (((s) + PAGE_MASK) & ~PAGE_MASK)
Dtcache.h449 assert((size & PAGE_MASK) == 0); in tcache_dalloc_large()
/external/u-boot/arch/arm/include/asm/armv8/
Dmmu.h18 #define PAGE_MASK (~(PAGE_SIZE - 1)) macro
/external/jemalloc_new/src/
Dextent.c233 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()
Darena.c1398 && (usize & PAGE_MASK) == 0))) { in arena_palloc()
Djemalloc.c2260 if (!config_cache_oblivious && ((uintptr_t)ptr & PAGE_MASK) != 0) {
/external/jemalloc/src/
Dchunk.c700 assert((offset & PAGE_MASK) == 0); in chunk_purge_default()
702 assert((length & PAGE_MASK) == 0); in chunk_purge_default()
Darena.c127 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()
/external/google-breakpad/src/client/mac/handler/
Dexception_handler.cc650 assert(((size_t)(gProtectedData.protected_buffer) & PAGE_MASK) == 0); in InstallHandler()
/external/python/cpython2/Lib/plat-atheos/
DIN.py521 def PAGE_ALIGN(addr): return (((addr)+PAGE_SIZE-1)&PAGE_MASK)