Searched refs:guest_memfd_offset (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/tools/testing/selftests/kvm/lib/ |
D | kvm_util.c | 875 uint32_t guest_memfd, uint64_t guest_memfd_offset) in __vm_set_user_memory_region2() argument 884 .guest_memfd_offset = guest_memfd_offset, in __vm_set_user_memory_region2() 894 uint32_t guest_memfd, uint64_t guest_memfd_offset) in vm_set_user_memory_region2() argument 897 guest_memfd, guest_memfd_offset); in vm_set_user_memory_region2() 907 uint32_t flags, int guest_memfd, uint64_t guest_memfd_offset) in vm_mem_add() argument 1026 TEST_ASSERT(!guest_memfd_offset, in vm_mem_add() 1041 region->region.guest_memfd_offset = guest_memfd_offset; in vm_mem_add() 1221 fd_offset = region->region.guest_memfd_offset + offset; in vm_guest_mem_fallocate()
|
/linux-6.12.1/tools/testing/selftests/kvm/include/ |
D | kvm_util.h | 573 uint32_t guest_memfd, uint64_t guest_memfd_offset); 576 uint32_t guest_memfd, uint64_t guest_memfd_offset); 584 uint32_t flags, int guest_memfd_fd, uint64_t guest_memfd_offset);
|
/linux-6.12.1/tools/include/uapi/linux/ |
D | kvm.h | 40 __u64 guest_memfd_offset; member
|
/linux-6.12.1/include/uapi/linux/ |
D | kvm.h | 40 __u64 guest_memfd_offset; member
|
/linux-6.12.1/virt/kvm/ |
D | kvm_main.c | 2014 (mem->guest_memfd_offset & (PAGE_SIZE - 1) || in __kvm_set_memory_region() 2015 mem->guest_memfd_offset + mem->memory_size < mem->guest_memfd_offset)) in __kvm_set_memory_region() 2087 r = kvm_gmem_bind(kvm, new, mem->guest_memfd, mem->guest_memfd_offset); in __kvm_set_memory_region()
|
/linux-6.12.1/Documentation/virt/kvm/ |
D | api.rst | 6268 [guest_memfd_offset, guest_memfd_offset + memory_size]. The target guest_memfd 6281 __u64 guest_memfd_offset; 6376 and more specifically via the guest_memfd and guest_memfd_offset fields in 6377 "struct kvm_userspace_memory_region2", where guest_memfd_offset is the offset
|