Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/iommu/dma-iommu.c __iommu_dma_free() -> dma_common_find_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpu_addr | 1-u64max |
| CAPPED_DATA | 0 | cpu_addr | 1 |
| DATA_SOURCE | 0 | cpu_addr | $2 |
drivers/iommu/dma-iommu.c iommu_dma_get_sgtable() -> dma_common_find_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | cpu_addr | (-1)-s32max |
| BUF_SIZE | 0 | cpu_addr | (-1)-s32max |
| DATA_SOURCE | 0 | cpu_addr | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | cpu_addr | unit_byte |
| HALF_LOCKED2 | &ccdc->ioctl_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &stat->ioctl_lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &qdev_mutex |
drivers/iommu/dma-iommu.c iommu_dma_mmap() -> dma_common_find_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | cpu_addr | (-1),1-s32max |
| BUF_SIZE | 0 | cpu_addr | (-1),1-s32max |
| DATA_SOURCE | 0 | cpu_addr | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | cpu_addr | unit_byte |
| HALF_LOCKED2 | &dev->attach_lock | ||
| HALF_LOCKED2 | &fbi->mm_lock | ||
| HALF_LOCKED2 | &file->device->disassociate_srcu | ||
| HALF_LOCKED2 | &file->disassociation_lock | ||
| HALF_LOCKED2 | &idev->info_lock | ||
| HALF_LOCKED2 | &info->mm_lock | ||
| HALF_LOCKED2 | &q->mutex |