Searched refs:align_down (Results 1 – 6 of 6) sorted by relevance
/linux/arch/arm64/kernel/ |
A D | alternative.c | 51 #define align_down(x, a) ((unsigned long)(x) & ~(((unsigned long)(a)) - 1)) macro 84 target = align_down(altinsnptr, SZ_4K) + orig_offset; in get_alt_insn() 85 new_offset = target - align_down(insnptr, SZ_4K); in get_alt_insn()
|
/linux/tools/testing/selftests/kvm/lib/ |
A D | perf_test_util.c | 159 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()
|
A D | elf.c | 160 vm_vaddr_t seg_vstart = align_down(phdr.p_vaddr, vm->page_size); in kvm_vm_elf_load()
|
/linux/tools/testing/selftests/kvm/ |
A D | dirty_log_test.c | 118 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()
|
A D | kvm_page_table_test.c | 283 guest_test_phys_mem = align_down(guest_test_phys_mem, alignment); in pre_init_before_test()
|
/linux/tools/testing/selftests/kvm/include/ |
A D | test_util.h | 131 static inline uint64_t align_down(uint64_t x, uint64_t size) in align_down() function
|
Completed in 12 milliseconds