Home
last modified time | relevance | path

Searched refs:nb_memslots (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/hw/virtio/
H A Dvirtio-mem.c557 if (idx == vmem->nb_memslots - 1) { in virtio_mem_deactivate_unplugged_memslots()
930 for (idx = 0; idx < vmem->nb_memslots; idx++) { in virtio_mem_prepare_memslots()
936 if (idx == vmem->nb_memslots - 1) { in virtio_mem_prepare_memslots()
1109 if (vmem->nb_memslots <= 1) { in virtio_mem_device_realize()
1110 vmem->nb_memslots = 1; in virtio_mem_device_realize()
1481 assert(!vmem->nb_memslots); in virtio_mem_decide_memslots()
1485 vmem->nb_memslots = 1; in virtio_mem_decide_memslots()
1502 vmem->nb_memslots = 1; in virtio_mem_decide_memslots()
1518 vmem->nb_memslots = memslots; in virtio_mem_decide_memslots()
1529 g_assert(vmem->nb_memslots); in virtio_mem_get_memslots()
[all …]
/openbmc/qemu/include/hw/virtio/
H A Dvirtio-mem.h61 uint16_t nb_memslots; member