Searched refs:IS_ALIGNED (Results 1 – 6 of 6) sorted by relevance
| /kernel/lib/libc/include/ |
| A D | stdlib.h | 36 #define IS_ALIGNED(a, b) (!(((uintptr_t)(a)) & (((uintptr_t)(b))-1))) macro
|
| /kernel/vm/include/vm/ |
| A D | vm.h | 20 #define IS_PAGE_ALIGNED(x) IS_ALIGNED((x), PAGE_SIZE)
|
| /kernel/arch/x86/ |
| A D | mmu.cpp | 98 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 D | cmpctmalloc.cpp | 639 ASSERT(IS_ALIGNED(rounded, 8)); in cmpct_test_buckets() 661 ASSERT(IS_ALIGNED(rounded, j)); in cmpct_test_buckets()
|
| /kernel/vm/ |
| A D | vm_address_region.cpp | 934 DEBUG_ASSERT(IS_ALIGNED(gap_base, align)); in NonCompactRandomizedRegionAllocatorLocked() 968 ASSERT(IS_ALIGNED(alloc_spot, align)); in NonCompactRandomizedRegionAllocatorLocked()
|
| A D | vm_unittest.cpp | 96 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