Home
last modified time | relevance | path

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

/kernel/lib/libc/include/
A Dstdlib.h36 #define IS_ALIGNED(a, b) (!(((uintptr_t)(a)) & (((uintptr_t)(b))-1))) macro
/kernel/vm/include/vm/
A Dvm.h20 #define IS_PAGE_ALIGNED(x) IS_ALIGNED((x), PAGE_SIZE)
/kernel/arch/x86/
A Dmmu.cpp98 if (!IS_ALIGNED(vaddr, PAGE_SIZE)) in x86_mmu_check_vaddr()
111 if (!IS_ALIGNED(paddr, PAGE_SIZE)) in x86_mmu_check_paddr()
/kernel/lib/heap/cmpctmalloc/
A Dcmpctmalloc.cpp639 ASSERT(IS_ALIGNED(rounded, 8)); in cmpct_test_buckets()
661 ASSERT(IS_ALIGNED(rounded, j)); in cmpct_test_buckets()
/kernel/vm/
A Dvm_address_region.cpp934 DEBUG_ASSERT(IS_ALIGNED(gap_base, align)); in NonCompactRandomizedRegionAllocatorLocked()
968 ASSERT(IS_ALIGNED(alloc_spot, align)); in NonCompactRandomizedRegionAllocatorLocked()
A Dvm_unittest.cpp96 ASSERT(IS_ALIGNED((uintptr_t)ptr, 4)); in fill_region()
113 ASSERT(IS_ALIGNED((uintptr_t)ptr, 4)); in test_region()

Completed in 22 milliseconds