Home
last modified time | relevance | path

Searched refs:align_down (Results 1 – 10 of 10) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/kvm/lib/
Dperf_test_util.c159 pta->gpa = align_down(pta->gpa, backing_src_pagesz); in perf_test_create_vm()
162 pta->gpa = align_down(pta->gpa, 1 << 20); in perf_test_create_vm()
Delf.c160 vm_vaddr_t seg_vstart = align_down(phdr.p_vaddr, vm->page_size); in kvm_vm_elf_load()
/external/linux-kselftest/tools/testing/selftests/kvm/
Ddirty_log_test.c118 addr = align_down(addr, host_page_size); in guest_code()
740 guest_test_phys_mem = align_down(guest_test_phys_mem, host_page_size); in run_test()
747 guest_test_phys_mem = align_down(guest_test_phys_mem, 1 << 20); in run_test()
Dkvm_page_table_test.c283 guest_test_phys_mem = align_down(guest_test_phys_mem, alignment); in pre_init_before_test()
/external/rust/crates/aarch64-paging/src/
Dpaging.rs158 VirtualAddress(align_down(start, PAGE_SIZE))..VirtualAddress(align_up(end, PAGE_SIZE)), in new()
470 let a = align_down(chunk.0.start.0, granularity); in map_range()
678 const fn align_down(value: usize, alignment: usize) -> usize { in align_down() function
/external/cronet/buildtools/third_party/libc++/trunk/src/
Dmemory_resource.cpp413 static void* align_down(size_t align, size_t size, void*& ptr, size_t& space) { in align_down() function
434 void* aligned_ptr = align_down(align, bytes, new_ptr, new_capacity); in __try_allocate_from_chunk()
443 void* aligned_ptr = align_down(align, bytes, new_ptr, new_capacity); in __try_allocate_from_chunk()
/external/linux-kselftest/tools/testing/selftests/kvm/include/
Dtest_util.h131 static inline uint64_t align_down(uint64_t x, uint64_t size) in align_down() function
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_tiling_lt.c46 align_down(uint32_t val, uint32_t align) in align_down() function
/external/skia/src/gpu/ganesh/
DGrBufferAllocPool.cpp185 static inline size_t align_down(size_t x, uint32_t alignment) { in align_down() function
274 size_t size = align_down(fBlocks.back().fBytesFree, alignment); in makeSpaceAtLeast()
/external/mesa3d/docs/relnotes/
D20.0.0.rst1736 - anv: Add another align_down helper