Lines Matching full:backend
2 * QEMU Host Memory Backend
23 #define TYPE_MEMORY_BACKEND "memory-backend"
30 * name of backend that uses mmap on the anonymous RAM
33 #define TYPE_MEMORY_BACKEND_RAM "memory-backend-ram"
38 * name of backend that uses mmap on a file descriptor
40 #define TYPE_MEMORY_BACKEND_FILE "memory-backend-file"
42 #define TYPE_MEMORY_BACKEND_MEMFD "memory-backend-memfd"
53 * alloc: Allocate memory from backend.
55 * @backend: the #HostMemoryBackend.
60 bool (*alloc)(HostMemoryBackend *backend, Error **errp);
67 * @size: amount of memory backend provides
68 * @mr: MemoryRegion representing host memory belonging to backend
88 bool host_memory_backend_mr_inited(HostMemoryBackend *backend);
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);
94 char *host_memory_backend_get_name(HostMemoryBackend *backend);