Searched refs:align_down (Results 1 – 9 of 9) sorted by relevance
/linux-6.12.1/arch/arm64/kernel/ |
D | alternative.c | 57 #define align_down(x, a) ((unsigned long)(x) & ~(((unsigned long)(a)) - 1)) macro 90 target = align_down(altinsnptr, SZ_4K) + orig_offset; in get_alt_insn() 91 new_offset = target - align_down(insnptr, SZ_4K); in get_alt_insn()
|
/linux-6.12.1/tools/testing/selftests/kvm/lib/x86_64/ |
D | memstress.c | 75 start = align_down(memstress_args.gpa, PG_SIZE_1G); in memstress_setup_ept()
|
/linux-6.12.1/tools/testing/selftests/kvm/lib/ |
D | memstress.c | 198 args->gpa = align_down(args->gpa, backing_src_pagesz); in memstress_create_vm() 201 args->gpa = align_down(args->gpa, 1 << 20); in memstress_create_vm()
|
D | elf.c | 160 vm_vaddr_t seg_vstart = align_down(phdr.p_vaddr, vm->page_size); in kvm_vm_elf_load()
|
/linux-6.12.1/tools/testing/selftests/kvm/ |
D | dirty_log_test.c | 117 addr = align_down(addr, host_page_size); in guest_code() 726 guest_test_phys_mem = align_down(guest_test_phys_mem, host_page_size); in run_test() 733 guest_test_phys_mem = align_down(guest_test_phys_mem, 1 << 20); in run_test()
|
D | pre_fault_memory_test.c | 90 guest_test_phys_mem = align_down(guest_test_phys_mem, alignment); in __test_pre_fault_memory()
|
D | kvm_page_table_test.c | 267 guest_test_phys_mem = align_down(guest_test_phys_mem, alignment); in pre_init_before_test()
|
/linux-6.12.1/tools/testing/selftests/kvm/include/ |
D | test_util.h | 181 static inline uint64_t align_down(uint64_t x, uint64_t size) in align_down() function
|
/linux-6.12.1/tools/testing/selftests/kvm/aarch64/ |
D | page_fault_test.c | 596 data_gpa = align_down(data_gpa, backing_src_pagesz); in setup_memslots()
|