Home
last modified time | relevance | path

Searched refs:nregions (Results 1 – 8 of 8) sorted by relevance

/qemu/subprojects/libvhost-user/
H A Dlibvhost-user.c205 int high = dev->nregions - 1; in vu_gpa_to_mem_region()
261 for (i = 0; i < dev->nregions; i++) { in qva_to_va()
278 for (i = 0; i < dev->nregions; i++) { in vu_remove_all_mem_regs()
283 dev->nregions = 0; in vu_remove_all_mem_regs()
386 int high = dev->nregions - 1; in _vu_add_mem_reg()
477 dev->nregions++; in _vu_add_mem_reg()
869 for (i = 0; i < dev->nregions; i++) { in generate_faults()
1062 assert(idx < dev->nregions); in vu_rem_mem_reg()
1066 dev->nregions--; in vu_rem_mem_reg()
1100 for (i = 0; i < memory->nregions; i++) { in vu_set_mem_table_exec()
[all …]
H A Dlibvhost-user.h143 uint32_t nregions; member
402 uint32_t nregions; member
/qemu/hw/virtio/
H A Dvhost-user.c129 uint32_t nregions; member
519 for (i = 0; i < dev->mem->nregions; ++i) { in vhost_user_fill_set_mem_table_msg()
546 msg->payload.memory.nregions = *fd_num; in vhost_user_fill_set_mem_table_msg()
554 msg->hdr.size = sizeof(msg->payload.memory.nregions); in vhost_user_fill_set_mem_table_msg()
594 for (j = 0; j < dev->mem->nregions; j++) { in scrub_shadow_regions()
636 for (i = 0; i < dev->mem->nregions; i++) { in scrub_shadow_regions()
906 if (u->region_rb_len < dev->mem->nregions) { in vhost_user_set_mem_table_postcopy()
909 dev->mem->nregions); in vhost_user_set_mem_table_postcopy()
914 u->region_rb_len = dev->mem->nregions; in vhost_user_set_mem_table_postcopy()
966 region_i < dev->mem->nregions; in vhost_user_set_mem_table_postcopy()
[all …]
H A Dtrace-events19 …ault_handler(const char *name, uint64_t fault_address, int nregions) "%s: @0x%"PRIx64" nregions:%d"
46 vhost_vdpa_set_mem_table(void *dev, uint32_t nregions, uint32_t padding) "dev: %p nregions: %"PRIu3…
H A Dvhost.c212 for (i = 0; i < dev->mem->nregions; ++i) { in vhost_sync_dirty_bitmap()
299 for (i = 0; i < dev->mem->nregions; ++i) { in vhost_get_log_size()
667 dev->mem->nregions = dev->n_mem_sections; in vhost_commit()
671 used_shared_memslots = dev->mem->nregions; in vhost_commit()
673 used_memslots = dev->mem->nregions; in vhost_commit()
692 for (i = 0; i < dev->mem->nregions; i++) { in vhost_commit()
1196 for (i = 0; i < hdev->mem->nregions; i++) { in vhost_memory_region_lookup()
H A Dvhost-vdpa.c789 trace_vhost_vdpa_set_mem_table(dev, mem->nregions, mem->padding); in vhost_vdpa_set_mem_table()
793 for (i = 0; i < mem->nregions; i++) { in vhost_vdpa_set_mem_table()
/qemu/include/standard-headers/linux/
H A Dvhost_types.h124 uint32_t nregions; member
/qemu/tests/qtest/
H A Dvhost-user-test.c102 uint32_t nregions; member
262 g_assert_cmpint(s->fds_num, ==, s->memory.nregions); in wait_for_fds()
267 for (i = 0; i < s->memory.nregions; ++i) { in wait_for_fds()
734 for (i = 0; i < s->memory.nregions; ++i) { in get_log_size()