Home
last modified time | relevance | path

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

/linux-2.6.39/include/linux/
Dvhost.h61 __u32 nregions; member
/linux-2.6.39/drivers/vhost/
Dvhost.c383 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()
/linux-2.6.39/tools/virtio/
Dvirtio_test.c123 dev->mem->nregions = 1; in vdev_info_init()