Searched refs:nas (Results 1 - 9 of 9) sorted by relevance
/kernel/linux/linux-6.6/drivers/vdpa/vdpa_sim/ |
H A D | vdpa_sim.c | 154 for (i = 0; i < vdpasim->dev_attr.nas; i++) { in vdpasim_do_reset() 217 dev_attr->ngroups, dev_attr->nas, in vdpasim_create() 252 vdpasim->iommu = kmalloc_array(vdpasim->dev_attr.nas, in vdpasim_create() 257 vdpasim->iommu_pt = kmalloc_array(vdpasim->dev_attr.nas, in vdpasim_create() 262 for (i = 0; i < vdpasim->dev_attr.nas; i++) in vdpasim_create() 590 if (asid >= vdpasim->dev_attr.nas) in vdpasim_set_group_asid() 616 if (asid >= vdpasim->dev_attr.nas) in vdpasim_set_map() 672 if (asid >= vdpasim->dev_attr.nas) in vdpasim_dma_map() 692 if (asid >= vdpasim->dev_attr.nas) in vdpasim_dma_unmap() 722 for (i = 0; i < vdpasim->dev_attr.nas; in vdpasim_free() [all...] |
H A D | vdpa_sim.h | 45 u32 nas; member
|
H A D | vdpa_sim_net.c | 461 dev_attr.nas = VDPASIM_NET_AS_NUM; in vdpasim_net_dev_add()
|
H A D | vdpa_sim_blk.c | 423 dev_attr.nas = VDPASIM_BLK_AS_NUM; in vdpasim_blk_dev_add()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | vdpa.h | 81 * @nas: the number of address spaces 99 unsigned int nas; member 409 unsigned int ngroups, unsigned int nas, 421 * @nas: the number of address spaces 427 #define vdpa_alloc_device(dev_struct, member, parent, config, ngroups, nas, \ 430 parent, config, ngroups, nas, \
|
/kernel/linux/linux-6.6/drivers/vhost/ |
H A D | vdpa.c | 109 if (asid >= v->vdpa->nas) in vhost_vdpa_alloc_as() 611 if (s.num >= vdpa->nas) in vhost_vdpa_vring_ioctl() 740 if (copy_to_user(argp, &v->vdpa->nas, sizeof(v->vdpa->nas))) in vhost_vdpa_unlocked_ioctl() 1279 for (asid = 0; asid < v->vdpa->nas; asid++) { in vhost_vdpa_cleanup() 1462 (vdpa->ngroups > 1 || vdpa->nas > 1)) in vhost_vdpa_probe()
|
/kernel/linux/linux-5.10/net/ |
H A D | compat.c | 335 static unsigned char nas[21] = { variable 433 len = nas[call]; in COMPAT_SYSCALL_DEFINE2()
|
/kernel/linux/linux-6.6/net/ |
H A D | compat.c | 334 static unsigned char nas[21] = { variable 432 len = nas[call]; in COMPAT_SYSCALL_DEFINE2()
|
/kernel/linux/linux-6.6/drivers/vdpa/ |
H A D | vdpa.c | 146 * @nas: number of address spaces supported by this device 159 unsigned int ngroups, unsigned int nas, in __vdpa_alloc_device() 193 vdev->nas = nas; in __vdpa_alloc_device() 157 __vdpa_alloc_device(struct device *parent, const struct vdpa_config_ops *config, unsigned int ngroups, unsigned int nas, size_t size, const char *name, bool use_va) __vdpa_alloc_device() argument
|
Completed in 11 milliseconds