Searched refs:guest_memfd (Results 1 – 12 of 12) sorted by relevance
/openbmc/qemu/include/exec/ |
H A D | ramblock.h | 44 int guest_memfd; member
|
/openbmc/qemu/include/sysemu/ |
H A D | hostmem.h | 77 bool guest_memfd, aligned; member
|
H A D | kvm_int.h | 36 int guest_memfd; member
|
/openbmc/qemu/backends/ |
H A D | hostmem-ram.c | 33 ram_flags |= backend->guest_memfd ? RAM_GUEST_MEMFD : 0; in ram_backend_memory_alloc()
|
H A D | hostmem-memfd.c | 59 ram_flags |= backend->guest_memfd ? RAM_GUEST_MEMFD : 0; in memfd_backend_memory_alloc()
|
H A D | hostmem-file.c | 89 ram_flags |= backend->guest_memfd ? RAM_GUEST_MEMFD : 0; in file_backend_memory_alloc()
|
H A D | hostmem.c | 291 backend->guest_memfd = machine_require_guest_memfd(machine); in host_memory_backend_init()
|
/openbmc/qemu/accel/kvm/ |
H A D | trace-events | 22 … Slot#%d flags=0x%x gpa=0x%"PRIx64 " size=0x%"PRIx64 " ua=0x%"PRIx64 " guest_memfd=%d" " guest_mem…
|
H A D | kvm-all.c | 358 mem.guest_memfd = slot->guest_memfd; in kvm_set_user_memory_region() 385 mem.userspace_addr, mem.guest_memfd, in kvm_set_user_memory_region() 395 mem.guest_memfd, (uint64_t)mem.guest_memfd_offset, in kvm_set_user_memory_region() 1532 mem->guest_memfd = mr->ram_block->guest_memfd; in kvm_set_phys_mem() 4366 struct kvm_create_guest_memfd guest_memfd = { in kvm_create_guest_memfd() local 4376 fd = kvm_vm_ioctl(kvm_state, KVM_CREATE_GUEST_MEMFD, &guest_memfd); in kvm_create_guest_memfd()
|
/openbmc/qemu/system/ |
H A D | physmem.c | 1872 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 D | memory.c | 1855 return mr->ram_block && mr->ram_block->guest_memfd >= 0; in memory_region_has_guest_memfd()
|
/openbmc/qemu/linux-headers/linux/ |
H A D | kvm.h | 41 __u32 guest_memfd; member
|