Home
last modified time | relevance | path

Searched refs:HostMemoryBackend (Results 1 – 25 of 33) sorted by relevance

12

/openbmc/qemu/include/sysemu/
H A Dhostmem.h24 OBJECT_DECLARE_TYPE(HostMemoryBackend, HostMemoryBackendClass,
60 bool (*alloc)(HostMemoryBackend *backend, Error **errp);
71 struct HostMemoryBackend { struct
88 bool host_memory_backend_mr_inited(HostMemoryBackend *backend); argument
89 MemoryRegion *host_memory_backend_get_memory(HostMemoryBackend *backend);
91 void host_memory_backend_set_mapped(HostMemoryBackend *backend, bool mapped);
92 bool host_memory_backend_is_mapped(HostMemoryBackend *backend);
93 size_t host_memory_backend_pagesize(HostMemoryBackend *memdev);
94 char *host_memory_backend_get_name(HostMemoryBackend *backend);
H A Dnuma.h41 struct HostMemoryBackend *node_memdev;
/openbmc/qemu/backends/
H A Dhostmem.c40 host_memory_backend_get_name(HostMemoryBackend *backend) in host_memory_backend_get_name()
53 HostMemoryBackend *backend = MEMORY_BACKEND(obj); in host_memory_backend_get_size()
63 HostMemoryBackend *backend = MEMORY_BACKEND(obj); in host_memory_backend_set_size()
88 HostMemoryBackend *backend = MEMORY_BACKEND(obj); in host_memory_backend_get_host_nodes()
119 HostMemoryBackend *backend = MEMORY_BACKEND(obj); in host_memory_backend_set_host_nodes()
145 HostMemoryBackend *backend = MEMORY_BACKEND(obj); in host_memory_backend_get_policy()
152 HostMemoryBackend *backend = MEMORY_BACKEND(obj); in host_memory_backend_set_policy()
164 HostMemoryBackend *backend = MEMORY_BACKEND(obj); in host_memory_backend_get_merge()
171 HostMemoryBackend *backend = MEMORY_BACKEND(obj); in host_memory_backend_set_merge()
195 HostMemoryBackend *backend = MEMORY_BACKEND(obj); in host_memory_backend_get_dump()
[all …]
H A Dhostmem-file.c28 HostMemoryBackend parent_obj;
40 file_backend_memory_alloc(HostMemoryBackend *backend, Error **errp) in file_backend_memory_alloc()
107 HostMemoryBackend *backend = MEMORY_BACKEND(o); in set_mem_path()
144 HostMemoryBackend *backend = MEMORY_BACKEND(o); in file_memory_backend_set_align()
174 HostMemoryBackend *backend = MEMORY_BACKEND(o); in file_memory_backend_set_offset()
198 HostMemoryBackend *backend = MEMORY_BACKEND(o); in file_memory_backend_set_pmem()
221 HostMemoryBackend *backend = MEMORY_BACKEND(obj); in file_memory_backend_set_readonly()
247 HostMemoryBackend *backend = MEMORY_BACKEND(obj); in file_memory_backend_set_rom()
261 HostMemoryBackend *backend = MEMORY_BACKEND(obj); in file_backend_unparent()
H A Dhostmem-epc.c21 sgx_epc_backend_memory_alloc(HostMemoryBackend *backend, Error **errp) in sgx_epc_backend_memory_alloc()
46 HostMemoryBackend *m = MEMORY_BACKEND(obj); in sgx_epc_backend_instance_init()
H A Dhostmem-shm.c22 HostMemoryBackend parent_obj;
26 shm_backend_memory_alloc(HostMemoryBackend *backend, Error **errp) in shm_backend_memory_alloc()
H A Dhostmem-memfd.c25 HostMemoryBackend parent_obj;
33 memfd_backend_memory_alloc(HostMemoryBackend *backend, Error **errp) in memfd_backend_memory_alloc()
H A Dhostmem-ram.c20 ram_backend_memory_alloc(HostMemoryBackend *backend, Error **errp) in ram_backend_memory_alloc()
/openbmc/qemu/hw/i386/
H A Dsgx-epc.c58 HostMemoryBackend *hostmem; in sgx_epc_realize()
95 HostMemoryBackend *hostmem = MEMORY_BACKEND(epc->hostmem); in sgx_epc_unrealize()
123 HostMemoryBackend *hostmem; in sgx_epc_md_get_memory_region()
H A Dsgx.c119 HostMemoryBackend *hostmem; in sgx_epc_reset()
/openbmc/qemu/include/qemu/
H A Dtypedefs.h54 typedef struct HostMemoryBackend HostMemoryBackend; typedef
/openbmc/qemu/include/hw/cxl/
H A Dcxl_device.h544 HostMemoryBackend *hostmem; /* deprecated */
545 HostMemoryBackend *hostvmem;
546 HostMemoryBackend *hostpmem;
547 HostMemoryBackend *lsa;
590 HostMemoryBackend *host_dc;
/openbmc/qemu/include/hw/i386/
H A Dhostmem-epc.h25 HostMemoryBackend parent_obj;
/openbmc/qemu/include/hw/virtio/
H A Dvirtio-pmem.h34 HostMemoryBackend *memdev;
H A Dvirtio-mem.h71 HostMemoryBackend *memdev;
/openbmc/qemu/hw/virtio/
H A Dvirtio-pmem.c72 HostMemoryBackend *backend = MEMORY_BACKEND(pmem->memdev); in virtio_pmem_flush()
161 TYPE_MEMORY_BACKEND, HostMemoryBackend *),
/openbmc/qemu/include/hw/mem/
H A Dpc-dimm.h52 HostMemoryBackend *hostmem;
/openbmc/qemu/hw/ppc/
H A Dspapr_nvdimm.c193 HostMemoryBackend *hostmem = dimm->hostmem; in spapr_dt_nvdimm()
452 HostMemoryBackend *backend; in flush_worker_cb()
500 HostMemoryBackend *backend = MEMORY_BACKEND(PC_DIMM(s_nvdimm)->hostmem); in spapr_nvdimm_flush_post_load()
665 HostMemoryBackend *backend = NULL; in h_scm_flush()
871 HostMemoryBackend *backend = MEMORY_BACKEND(PC_DIMM(dimm)->hostmem); in type_init()
/openbmc/qemu/hw/mem/
H A Dnvdimm.c139 HostMemoryBackend *hostmem = dimm->hostmem; in nvdimm_prepare_memory_region()
150 HostMemoryBackend *hostmem = dimm->hostmem; in nvdimm_prepare_memory_region()
H A Dcxl_type3.c1221 HostMemoryBackend *), /* for backward compatibility */
1223 TYPE_MEMORY_BACKEND, HostMemoryBackend *),
1225 TYPE_MEMORY_BACKEND, HostMemoryBackend *),
1227 HostMemoryBackend *),
1232 TYPE_MEMORY_BACKEND, HostMemoryBackend *),
H A Dpc-dimm.c159 TYPE_MEMORY_BACKEND, HostMemoryBackend *),
/openbmc/qemu/include/hw/
H A Dboards.h119 HostMemoryBackend *backend);
412 HostMemoryBackend *memdev;
/openbmc/qemu/hw/display/
H A Dvirtio-gpu-udmabuf.c99 HostMemoryBackend *backend = MEMORY_BACKEND(obj); in find_memory_backend_type()
/openbmc/qemu/hw/acpi/
H A Derst.c159 HostMemoryBackend *hostmem;
1016 TYPE_MEMORY_BACKEND, HostMemoryBackend *),
/openbmc/qemu/hw/misc/
H A Divshmem.c96 HostMemoryBackend *hostmem; /* with interrupts */
1028 HostMemoryBackend *),

12