Home
last modified time | relevance | path

Searched refs:vaddr_min (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/tools/testing/selftests/kvm/lib/
Dkvm_util.c1267 vm_vaddr_t vaddr_min) in vm_vaddr_unused_gap() argument
1272 uint64_t pgidx_start = (vaddr_min + vm->page_size - 1) >> vm->page_shift; in vm_vaddr_unused_gap()
1273 if ((pgidx_start * vm->page_size) < vaddr_min) in vm_vaddr_unused_gap()
1332 vm_vaddr_t __vm_vaddr_alloc(struct kvm_vm *vm, size_t sz, vm_vaddr_t vaddr_min, in __vm_vaddr_alloc() argument
1346 vm_vaddr_t vaddr_start = vm_vaddr_unused_gap(vm, sz, vaddr_min); in __vm_vaddr_alloc()
1379 vm_vaddr_t vm_vaddr_alloc(struct kvm_vm *vm, size_t sz, vm_vaddr_t vaddr_min) in vm_vaddr_alloc() argument
1381 return __vm_vaddr_alloc(vm, sz, vaddr_min, MEM_REGION_TEST_DATA); in vm_vaddr_alloc()
/Linux-v6.6/tools/testing/selftests/kvm/include/
Dkvm_util_base.h448 vm_vaddr_t vm_vaddr_unused_gap(struct kvm_vm *vm, size_t sz, vm_vaddr_t vaddr_min);
449 vm_vaddr_t vm_vaddr_alloc(struct kvm_vm *vm, size_t sz, vm_vaddr_t vaddr_min);
450 vm_vaddr_t __vm_vaddr_alloc(struct kvm_vm *vm, size_t sz, vm_vaddr_t vaddr_min,