Searched refs:use_va (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-6.6/include/linux/ |
H A D | vdpa.h | 82 * @use_va: indicate whether virtual address must be used by this device 95 bool use_va; member 411 bool use_va); 423 * @use_va: indicate whether virtual address must be used by this device 428 name, use_va) \ 433 dev_struct, member))), name, use_va)), \
|
H A D | vringh.h | 36 bool use_va; member
|
/kernel/linux/linux-6.6/drivers/vdpa/vdpa_sim/ |
H A D | vdpa_sim.c | 39 static bool use_va = true; variable 40 module_param(use_va, bool, 0444); 41 MODULE_PARM_DESC(use_va, "Enable/disable the device's ability to use VA"); 104 if (use_va && vdpasim->mm_bound) { in vdpasim_queue_ready() 177 if (use_va && mm) { in vdpasim_work_fn() 185 if (use_va && mm) { in vdpasim_work_fn() 219 dev_attr->name, use_va); in vdpasim_create()
|
/kernel/linux/linux-6.6/drivers/vhost/ |
H A D | vringh.c | 1149 if (vrh->use_va) { in iotlb_translate() 1203 if (vrh->use_va) { in copy_from_iotlb() 1249 if (vrh->use_va) { in copy_to_iotlb() 1289 if (vrh->use_va) { in getu16_iotlb() 1328 if (vrh->use_va) { in putu16_iotlb() 1412 vrh->use_va = false; in vringh_init_iotlb() 1438 vrh->use_va = true; in vringh_init_iotlb_va()
|
H A D | vdpa.c | 227 if (!vdpa->use_va || !ops->bind_mm) in vhost_vdpa_bind_mm() 238 if (!vdpa->use_va || !ops->unbind_mm) in vhost_vdpa_unbind_mm() 852 if (vdpa->use_va) in vhost_vdpa_iotlb_unmap() 908 if (!vdpa->use_va) in vhost_vdpa_map() 1122 if (vdpa->use_va) in vhost_vdpa_process_iotlb_update()
|
/kernel/linux/linux-6.6/drivers/vdpa/ |
H A D | vdpa.c | 149 * @use_va: indicate whether virtual address must be used by this device 161 bool use_va) in __vdpa_alloc_device() 173 if (use_va && !(config->dma_map || config->set_map)) in __vdpa_alloc_device() 191 vdev->use_va = use_va; 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 12 milliseconds