Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/iommu/vsi-iommu.c vsi_iommu_attach_device() -> vsi_iommu_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| BUF_SIZE | 0 | iommu | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | iommu | s32min-(-1),1-s32max |
| DATA_SOURCE | 1 | domain | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| UNITS | 0 | iommu | unit_byte |
| LOCK2 | &vsi_domain->lock | ||
| LOCK2 | flags | ||
| LOCK2 | 0 | &iommu->lock | |
| TYPE_LOCK | (struct vsi_iommu)->lock | ||
| TYPE_LOCK | (struct vsi_iommu_domain)->lock |
drivers/iommu/vsi-iommu.c vsi_iommu_resume() -> vsi_iommu_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 1 | domain | 1-u64max |
| BUF_SIZE | 0 | iommu | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | iommu | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | iommu->num_clocks | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| UNITS | 0 | iommu | unit_byte |
| LOCK2 | &vsi_domain->lock | ||
| LOCK2 | flags | ||
| LOCK2 | 0 | &iommu->lock | |
| TYPE_LOCK | (struct vsi_iommu)->lock | ||
| TYPE_LOCK | (struct vsi_iommu_domain)->lock |