Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/dma/idxd/cdev.c idxd_cdev_open() -> iommu_sva_unbind_device()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
PARAM_VALUE 0 handle->handle.domain 4096-ptr_max
PARAM_VALUE 0 handle->handle.domain->mm 4096-ptr_max
BUF_SIZE 0 handle (-1),24
BUF_SIZE 0 handle (-1),24
BUF_SIZE 0 handle->dev (-1),1616
DATA_SOURCE 0 handle r iommu_sva_bind_device
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &wq->wq_lock
TYPE_LOCK (struct idxd_wq)->wq_lock

drivers/dma/idxd/cdev.c idxd_file_dev_release() -> iommu_sva_unbind_device()

Type Parameter Key Value
PARAM_VALUE 0 handle 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &subsys->su_mutex

drivers/misc/uacce/uacce.c uacce_bind_queue() -> iommu_sva_unbind_device()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
PARAM_VALUE 0 handle->handle.domain 4096-ptr_max
PARAM_VALUE 0 handle->handle.domain->mm 4096-ptr_max
BUF_SIZE 0 handle (-1),24
BUF_SIZE 0 handle (-1),24
DATA_SOURCE 0 handle r iommu_sva_bind_device
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &uacce->mutex
TYPE_LOCK (struct uacce_device)->mutex

drivers/misc/uacce/uacce.c uacce_unbind_queue() -> iommu_sva_unbind_device()

Type Parameter Key Value
PARAM_VALUE 0 handle 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &uacce->mutex
TYPE_LOCK (struct uacce_device)->mutex

drivers/accel/amdxdna/amdxdna_pci_drv.c amdxdna_sva_fini() -> iommu_sva_unbind_device()

Type Parameter Key Value
PARAM_VALUE 0 handle 1-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &xdna->client_lock
LOCK2 &xdna->dev_lock
TYPE_LOCK (struct amdxdna_dev)->client_lock
TYPE_LOCK (struct amdxdna_dev)->dev_lock

drivers/accel/amdxdna/amdxdna_pci_drv.c amdxdna_sva_init() -> iommu_sva_unbind_device()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
PARAM_VALUE 0 handle->handle.domain 4096-ptr_max
PARAM_VALUE 0 handle->handle.domain->mm 4096-ptr_max
BUF_SIZE 0 handle (-1),24
BUF_SIZE 0 handle (-1),24
DATA_SOURCE 0 handle r iommu_sva_bind_device
CAPABLE 0 21
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/uio/uio_pci_generic_sva.c uio_pci_sva_release() -> iommu_sva_unbind_device()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &idev->info_lock
TYPE_LOCK (struct uio_device)->info_lock