Home
last modified time | relevance | path

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

/openbsd/libexec/ld.so/
H A Dmalloc.c41 #define MALLOC_PAGEMASK (MALLOC_PAGESIZE - 1) macro
42 #define MASK_POINTER(p) ((void *)(((uintptr_t)(p)) & ~MALLOC_PAGEMASK))
59 #define PAGEROUND(x) (((x) + (MALLOC_PAGEMASK)) & ~MALLOC_PAGEMASK)
105 #define DIR_INFO_RSZ ((sizeof(struct dir_info) + MALLOC_PAGEMASK) & \
106 ~MALLOC_PAGEMASK)
151 (sz) = (uintptr_t)(r)->p & MALLOC_PAGEMASK, \
727 chunknum = ((uintptr_t)ptr & MALLOC_PAGEMASK) >> info->shift; in find_chunknum()
/openbsd/lib/libc/stdlib/
H A Dmalloc.c58 #define MALLOC_PAGEMASK (MALLOC_PAGESIZE - 1) macro
59 #define MASK_POINTER(p) ((void *)(((uintptr_t)(p)) & ~MALLOC_PAGEMASK))
91 #define PAGEROUND(x) (((x) + (MALLOC_PAGEMASK)) & ~MALLOC_PAGEMASK)
329 (sz) = (uintptr_t)(r)->p & MALLOC_PAGEMASK, \
1274 chunknum = ((uintptr_t)ptr & MALLOC_PAGEMASK) / B2ALLOC(info->bucket); in find_chunknum()
1440 roundup_sz = (sz + MALLOC_PAGEMASK) & ~MALLOC_PAGEMASK; in _malloc_init()
1456 if (((uintptr_t)&malloc_readonly & MALLOC_PAGEMASK) == 0) { in _malloc_init()