Lines Matching refs:u32
42 u32 id;
55 u32 nvqs;
61 u32 batch_asid;
70 u64 last, u32 asid);
72 static inline u32 iotlb_to_asid(struct vhost_iotlb *iotlb) in iotlb_to_asid()
79 static struct vhost_vdpa_as *asid_to_as(struct vhost_vdpa *v, u32 asid) in asid_to_as()
91 static struct vhost_iotlb *asid_to_iotlb(struct vhost_vdpa *v, u32 asid) in asid_to_iotlb()
101 static struct vhost_vdpa_as *vhost_vdpa_alloc_as(struct vhost_vdpa *v, u32 asid) in vhost_vdpa_alloc_as()
124 u32 asid) in vhost_vdpa_find_alloc_as()
134 static int vhost_vdpa_remove_as(struct vhost_vdpa *v, u32 asid) in vhost_vdpa_remove_as()
248 u32 device_id; in vhost_vdpa_get_device_id()
277 u32 nvqs = v->nvqs; in vhost_vdpa_set_status()
474 static long vhost_vdpa_set_config_call(struct vhost_vdpa *v, u32 __user *argp) in vhost_vdpa_set_config_call()
503 static long vhost_vdpa_get_iova_range(struct vhost_vdpa *v, u32 __user *argp) in vhost_vdpa_get_iova_range()
515 static long vhost_vdpa_get_config_size(struct vhost_vdpa *v, u32 __user *argp) in vhost_vdpa_get_config_size()
519 u32 size; in vhost_vdpa_get_config_size()
529 static long vhost_vdpa_get_vqs_count(struct vhost_vdpa *v, u32 __user *argp) in vhost_vdpa_get_vqs_count()
579 u32 idx; in vhost_vdpa_vring_ioctl()
582 r = get_user(idx, (u32 __user *)argp); in vhost_vdpa_vring_ioctl()
797 struct vhost_iotlb_map *map, u32 asid) in vhost_vdpa_general_unmap()
809 u64 start, u64 last, u32 asid) in vhost_vdpa_pa_unmap()
832 u64 start, u64 last, u32 asid) in vhost_vdpa_va_unmap()
848 u64 last, u32 asid) in vhost_vdpa_iotlb_unmap()
858 static int perm_to_iommu_flags(u32 perm) in perm_to_iommu_flags()
881 u64 iova, u64 size, u64 pa, u32 perm, void *opaque) in vhost_vdpa_map()
886 u32 asid = iotlb_to_asid(iotlb); in vhost_vdpa_map()
920 u32 asid = iotlb_to_asid(iotlb); in vhost_vdpa_unmap()
933 u64 iova, u64 size, u64 uaddr, u32 perm) in vhost_vdpa_va_map()
984 u64 iova, u64 size, u64 uaddr, u32 perm) in vhost_vdpa_pa_map()
1130 static int vhost_vdpa_process_iotlb_msg(struct vhost_dev *dev, u32 asid, in vhost_vdpa_process_iotlb_msg()
1277 u32 asid; in vhost_vdpa_cleanup()
1296 u32 i, nvqs; in vhost_vdpa_open()
1342 u32 i; in vhost_vdpa_clean_irq()