Searched refs:ROUNDDOWN (Results 1 – 23 of 23) sorted by relevance
| /kernel/arch/arm64/ |
| A D | thread.cpp | 51 stack_top = ROUNDDOWN(stack_top, 16); in arch_thread_initialize() 69 ROUNDDOWN(t->stack.unsafe_base + t->stack.size, 16); in arch_thread_initialize()
|
| /kernel/arch/x86/ |
| A D | cache.cpp | 46 addr_t ptr = ROUNDDOWN(start, clsize); in arch_clean_invalidate_cache_range()
|
| A D | thread.cpp | 29 stack_top = ROUNDDOWN(stack_top, 16); in arch_thread_initialize() 61 ROUNDDOWN(t->stack.unsafe_base + t->stack.size, 16); in arch_thread_initialize()
|
| A D | bootstrap16.cpp | 77 vaddr_to_paddr((void*)ROUNDDOWN((uintptr_t)&_temp_gdt, PAGE_SIZE)); in x86_bootstrap16_acquire() 79 ROUNDUP((uintptr_t)&_temp_gdt_end, PAGE_SIZE) - ROUNDDOWN((uintptr_t)&_temp_gdt, PAGE_SIZE); in x86_bootstrap16_acquire()
|
| A D | arch.cpp | 194 ROUNDDOWN(thread->stack.unsafe_base + thread->stack.size, 16)); in x86_secondary_entry()
|
| A D | ioapic.cpp | 132 paddr_t paddr_page_base = ROUNDDOWN(paddr, PAGE_SIZE); in apic_io_init()
|
| /kernel/vm/ |
| A D | vm_object_physical.cpp | 85 uint64_t pa = base_ + ROUNDDOWN(offset, PAGE_SIZE); in GetPageLocked() 108 uint64_t cur_offset = ROUNDDOWN(offset, PAGE_SIZE); in Lookup()
|
| A D | vm_object_paged.cpp | 584 offset = ROUNDDOWN(offset, PAGE_SIZE); in CommitRange() 662 uint64_t start = ROUNDDOWN(offset, PAGE_SIZE); in DecommitRange() 705 const uint64_t start_page_offset = ROUNDDOWN(offset, PAGE_SIZE); in PinLocked() 753 const uint64_t start_page_offset = ROUNDDOWN(offset, PAGE_SIZE); in UnpinLocked() 981 const uint64_t start_page_offset = ROUNDDOWN(offset, PAGE_SIZE); in Lookup()
|
| A D | vm_object.cpp | 238 const uint64_t aligned_offset = ROUNDDOWN(offset, PAGE_SIZE); in RangeChangeUpdateLocked()
|
| A D | vm.cpp | 45 pa = ROUNDDOWN(pa, PAGE_SIZE); in MarkPagesInUsePhys()
|
| A D | pmm_node.cpp | 177 address = ROUNDDOWN(address, PAGE_SIZE); in AllocRange()
|
| A D | vm_page_list.cpp | 25 return ROUNDDOWN(offset, PAGE_SIZE * VmPageListNode::kPageFanOut); in offset_to_node_offset()
|
| A D | vm_mapping.cpp | 606 va = ROUNDDOWN(va, PAGE_SIZE); in PageFault()
|
| /kernel/lib/libc/include/ |
| A D | stdlib.h | 33 #define ROUNDDOWN(a, b) ((a) & ~((b)-1)) macro
|
| /kernel/object/ |
| A D | resource.cpp | 75 const uint64_t aligned_rbase = ROUNDDOWN(rbase, PAGE_SIZE); in validate_ranged_resource()
|
| /kernel/tests/ |
| A D | mem_tests.cpp | 27 ptr = (void*)ROUNDDOWN((uintptr_t)ptr, 64); in mem_test_fail()
|
| /kernel/lib/hypervisor/ |
| A D | guest_physical_address_space.cpp | 141 const zx_gpaddr_t begin = ROUNDDOWN(guest_paddr, PAGE_SIZE); in CreateGuestPtr()
|
| /kernel/vm/include/vm/ |
| A D | vm_object_paged.h | 103 static const uint64_t MAX_SIZE = ROUNDDOWN(UINT64_MAX, PAGE_SIZE);
|
| /kernel/lib/fbl/ |
| A D | arena_tests.cpp | 183 auto start_off = ROUNDDOWN(start, PAGE_SIZE) - mapping->base(); in count_committed_pages() 215 auto ps = ROUNDDOWN(obj, PAGE_SIZE); in committing_tests()
|
| /kernel/lib/vdso/ |
| A D | vdso.cpp | 40 uint64_t page_offset = ROUNDDOWN(offset, PAGE_SIZE); in KernelVmoWindow()
|
| /kernel/platform/pc/ |
| A D | memory.cpp | 123 uint64_t size = ROUNDDOWN(range->base + range->size, PAGE_SIZE) - in mem_arena_init()
|
| /kernel/lib/heap/cmpctmalloc/ |
| A D | cmpctmalloc.cpp | 860 (char*)ROUNDDOWN((uintptr_t)free_area, PAGE_SIZE); in cmpct_trim() 865 (char*)ROUNDDOWN((uintptr_t)(right - 1), PAGE_SIZE); in cmpct_trim()
|
| /kernel/syscalls/ |
| A D | ddk_pci.cpp | 284 arg->addr_windows[0].size = ROUNDDOWN(end - arg->addr_windows[0].base, in sys_pci_init()
|
Completed in 49 milliseconds