Searched refs:nas (Results 1 – 6 of 6) sorted by relevance
120 for (i = 0; i < vdpasim->dev_attr.nas; i++) in vdpasim_do_reset()283 dev_attr->ngroups, dev_attr->nas, in vdpasim_create()311 vdpasim->iommu = kmalloc_array(vdpasim->dev_attr.nas, in vdpasim_create()316 for (i = 0; i < vdpasim->dev_attr.nas; i++) in vdpasim_create()604 if (asid >= vdpasim->dev_attr.nas) in vdpasim_set_group_asid()630 if (asid >= vdpasim->dev_attr.nas) in vdpasim_set_map()661 if (asid >= vdpasim->dev_attr.nas) in vdpasim_dma_map()677 if (asid >= vdpasim->dev_attr.nas) in vdpasim_dma_unmap()705 for (i = 0; i < vdpasim->dev_attr.nas; i++) in vdpasim_free()
45 u32 nas; member
254 dev_attr.nas = VDPASIM_NET_AS_NUM; in vdpasim_net_dev_add()
380 dev_attr.nas = VDPASIM_BLK_AS_NUM; in vdpasim_blk_dev_add()
109 if (asid >= v->vdpa->nas) in vhost_vdpa_alloc_as()555 if (s.num >= vdpa->nas) in vhost_vdpa_vring_ioctl()677 if (copy_to_user(argp, &v->vdpa->nas, sizeof(v->vdpa->nas))) in vhost_vdpa_unlocked_ioctl()1196 for (asid = 0; asid < v->vdpa->nas; asid++) { in vhost_vdpa_cleanup()1378 (vdpa->ngroups > 1 || vdpa->nas > 1)) in vhost_vdpa_probe()
154 unsigned int ngroups, unsigned int nas, in __vdpa_alloc_device() argument188 vdev->nas = nas; in __vdpa_alloc_device()