Home
last modified time | relevance | path

Searched refs:guest_memfd (Results 1 – 12 of 12) sorted by relevance

/openbmc/qemu/include/exec/
H A Dramblock.h44 int guest_memfd; member
/openbmc/qemu/include/sysemu/
H A Dhostmem.h77 bool guest_memfd, aligned; member
H A Dkvm_int.h36 int guest_memfd; member
/openbmc/qemu/backends/
H A Dhostmem-ram.c33 ram_flags |= backend->guest_memfd ? RAM_GUEST_MEMFD : 0; in ram_backend_memory_alloc()
H A Dhostmem-memfd.c59 ram_flags |= backend->guest_memfd ? RAM_GUEST_MEMFD : 0; in memfd_backend_memory_alloc()
H A Dhostmem-file.c89 ram_flags |= backend->guest_memfd ? RAM_GUEST_MEMFD : 0; in file_backend_memory_alloc()
H A Dhostmem.c291 backend->guest_memfd = machine_require_guest_memfd(machine); in host_memory_backend_init()
/openbmc/qemu/accel/kvm/
H A Dtrace-events22 … Slot#%d flags=0x%x gpa=0x%"PRIx64 " size=0x%"PRIx64 " ua=0x%"PRIx64 " guest_memfd=%d" " guest_mem…
H A Dkvm-all.c294 mem.guest_memfd = slot->guest_memfd; in kvm_set_user_memory_region()
321 mem.userspace_addr, mem.guest_memfd, in kvm_set_user_memory_region()
331 mem.guest_memfd, (uint64_t)mem.guest_memfd_offset, in kvm_set_user_memory_region()
1468 mem->guest_memfd = mr->ram_block->guest_memfd; in kvm_set_phys_mem()
4309 struct kvm_create_guest_memfd guest_memfd = { in kvm_create_guest_memfd() local
4319 fd = kvm_vm_ioctl(kvm_state, KVM_CREATE_GUEST_MEMFD, &guest_memfd); in kvm_create_guest_memfd()
/openbmc/qemu/system/
H A Dphysmem.c1872 assert(new_block->guest_memfd < 0); in ram_block_add()
1882 new_block->guest_memfd = kvm_create_guest_memfd(new_block->max_length, in ram_block_add()
1884 if (new_block->guest_memfd < 0) { in ram_block_add()
1993 new_block->guest_memfd = -1; in qemu_ram_alloc_from_fd()
2088 new_block->guest_memfd = -1; in qemu_ram_alloc_internal()
2140 if (block->guest_memfd >= 0) { in reclaim_ramblock()
2141 close(block->guest_memfd); in reclaim_ramblock()
3750 ret = fallocate(rb->guest_memfd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, in ram_block_discard_guest_memfd_range()
H A Dmemory.c1855 return mr->ram_block && mr->ram_block->guest_memfd >= 0; in memory_region_has_guest_memfd()
/openbmc/qemu/linux-headers/linux/
H A Dkvm.h41 __u32 guest_memfd; member