Searched refs:nregions (Results 1 – 3 of 3) sorted by relevance
61 __u32 nregions; member
383 memory->nregions = 0; in vhost_dev_reset_owner()453 for (i = 0; i < mem->nregions; ++i) { in vq_memory_access_ok()547 if (mem.nregions > VHOST_MEMORY_MAX_NREGIONS) in vhost_set_memory()549 newmem = kmalloc(size + mem.nregions * sizeof *m->regions, GFP_KERNEL); in vhost_set_memory()555 mem.nregions * sizeof *m->regions)) { in vhost_set_memory()870 for (i = 0; i < mem->nregions; ++i) { in find_region()
123 dev->mem->nregions = 1; in vdev_info_init()