Home
last modified time | relevance | path

Searched refs:VHOST_USER_MAX_RAM_SLOTS (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/hw/virtio/
H A Dvhost-user.c49 #define VHOST_USER_MAX_RAM_SLOTS SPAPR_MAX_RAM_SLOTS macro
52 #define VHOST_USER_MAX_RAM_SLOTS 512 macro
250 uint64_t postcopy_client_bases[VHOST_USER_MAX_RAM_SLOTS];
266 struct vhost_memory_region shadow_regions[VHOST_USER_MAX_RAM_SLOTS];
436 int fds[VHOST_USER_MAX_RAM_SLOTS]; in vhost_user_set_log_base()
577 bool found[VHOST_USER_MAX_RAM_SLOTS] = {}; in scrub_shadow_regions()
833 struct scrub_regions add_reg[VHOST_USER_MAX_RAM_SLOTS]; in vhost_user_add_remove_regions()
834 struct scrub_regions rem_reg[VHOST_USER_MAX_RAM_SLOTS]; in vhost_user_add_remove_regions()
835 uint64_t shadow_pcb[VHOST_USER_MAX_RAM_SLOTS] = {}; in vhost_user_add_remove_regions()
863 sizeof(uint64_t) * VHOST_USER_MAX_RAM_SLOTS); in vhost_user_add_remove_regions()
[all …]
/openbmc/qemu/subprojects/libvhost-user/
H A Dlibvhost-user.h39 #define VHOST_USER_MAX_RAM_SLOTS 509 macro
H A Dlibvhost-user.c966 if (dev->nregions == VHOST_USER_MAX_RAM_SLOTS) { in vu_add_mem_reg()
2049 vmsg_set_reply_u64(vmsg, VHOST_USER_MAX_RAM_SLOTS); in vu_handle_get_max_memslots()
2051 DPRINT("u64: 0x%016"PRIx64"\n", (uint64_t) VHOST_USER_MAX_RAM_SLOTS); in vu_handle_get_max_memslots()
2284 dev->regions = malloc(VHOST_USER_MAX_RAM_SLOTS * sizeof(dev->regions[0])); in vu_init()