Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/iommu/iommu-sysfs.c, line 123 (as a function)
- include/linux/iommu.h, line 1479 (as a function)
Referenced in 1 files:
Smatch caller information:
drivers/iommu/iommu.c iommu_deinit_device() -> iommu_device_unlink()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 1 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | link->dma_ops->alloc | 0,1744715142275031040,2065280936184246272,2938795245442469888 |
| PARAM_VALUE | 1 | link->dma_ops->alloc_pages_op | 0,4686288359180861440,6350905364812603392,6978773206971854848 |
| PARAM_VALUE | 1 | link->dma_ops->cache_sync | 0 |
| PARAM_VALUE | 1 | link->dma_ops->dma_supported | 0,2528523692154392576,3617072262637035520,5023592177070743552,5276104885786021888 |
| PARAM_VALUE | 1 | link->dma_ops->free | 0,4778164490434129920,7144974343242604544,7861694134817480704 |
| PARAM_VALUE | 1 | link->dma_ops->free_pages | 0,239457316199952384,5196233516945883136,7413093576918179840 |
| PARAM_VALUE | 1 | link->dma_ops->get_merge_boundary | 0 |
| PARAM_VALUE | 1 | link->dma_ops->get_required_mask | 0,7770840938859397120 |
| PARAM_VALUE | 1 | link->dma_ops->get_sgtable | 0,1322759480623644672 |
| PARAM_VALUE | 1 | link->dma_ops->map_phys | 0,2506261230157742080,4169194063996235776,4848421345171935232,6326163439792029696 |
| PARAM_VALUE | 1 | link->dma_ops->map_sg | 0,2118452656510775296,2518538481676259328,5872201013595766784,6630017431831871488 |
| PARAM_VALUE | 1 | link->dma_ops->max_mapping_size | 0,8830639662091943936 |
| PARAM_VALUE | 1 | link->dma_ops->mmap | 0,5761417605877342208,7694740394750603264 |
| PARAM_VALUE | 1 | link->dma_ops->opt_mapping_size | 0 |
| PARAM_VALUE | 1 | link->dma_ops->sync_sg_for_cpu | 0,4862850025765572608 |
| PARAM_VALUE | 1 | link->dma_ops->sync_sg_for_device | 0,3732476178258022400 |
| PARAM_VALUE | 1 | link->dma_ops->sync_single_for_cpu | 0,1155325867376779264 |
| PARAM_VALUE | 1 | link->dma_ops->sync_single_for_device | 0,8781567156597239808 |
| PARAM_VALUE | 1 | link->dma_ops->unmap_phys | 0,3634718672199266304,5690836758666383360,6257189515678003200,7756707427785986048 |
| PARAM_VALUE | 1 | link->dma_ops->unmap_sg | 0,1256335292805263360,8472845699660435456,8676762248147066880,8920167536469053440 |
| PARAM_VALUE | 1 | link->iommu | 4096-ptr_max |
| PARAM_VALUE | 1 | link->iommu->iommu_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | link->iommu_group | 1-u64max |
| PARAM_VALUE | 1 | link->iommu_group->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | link->iommu_group->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | link->iommu_group->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | link->iommu_group->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | link->iommu_group->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | link->iommu_group->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | link->iommu_group->mutex.wait_lock.owner_cpu | u32max |
| BUF_SIZE | 1 | link | (-1)-0,24-s32max |
| BUF_SIZE | 1 | link | (-1)-0,24-s32max |
| BUF_SIZE | 1 | link->bus | (-1),168 |
| BUF_SIZE | 1 | link->dma_mask | (-1),8 |
| BUF_SIZE | 1 | link->dma_parms | (-1),16 |
| BUF_SIZE | 1 | link->groups | (-1),16 |
| BUF_SIZE | 1 | link->init_name | (-1),14 |
| BUF_SIZE | 1 | link->parent | (-1),1616 |
| CAPPED_DATA | 1 | link | 1 |
| DATA_SOURCE | 1 | link | $0 |
| STR_LEN | 1 | link->parent | (-1),4-5,13 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | link->flags | 4096-u32max |
| HOST_DATA | 1 | link->iommu.max_pasids | 0-u32max |
| UNITS | 1 | link | unit_byte |
| LOCK2 | &group->mutex | ||
| HALF_LOCKED2 | global &iommu_probe_device_lock | ||
| HALF_LOCKED2 | 1 | &link->mutex | |
| TYPE_LOCK | (struct iommu_group)->mutex |
drivers/iommu/iommu.c iommu_init_device() -> iommu_device_unlink()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 0 | iommu->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | iommu->dev->kobj.sd | 4096-ptr_max |
| PARAM_VALUE | 0 | iommu->dev->kobj.sd->__parent | 0 |
| PARAM_VALUE | 1 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | link->bus | 4096-ptr_max |
| PARAM_VALUE | 1 | link->dma_ops->alloc | 0,1744715142275031040,2065280936184246272,2938795245442469888 |
| PARAM_VALUE | 1 | link->dma_ops->alloc_pages_op | 0,4686288359180861440,6350905364812603392,6978773206971854848 |
| PARAM_VALUE | 1 | link->dma_ops->cache_sync | 0 |
| PARAM_VALUE | 1 | link->dma_ops->dma_supported | 0,2528523692154392576,3617072262637035520,5023592177070743552,5276104885786021888 |
| PARAM_VALUE | 1 | link->dma_ops->free | 0,4778164490434129920,7144974343242604544,7861694134817480704 |
| PARAM_VALUE | 1 | link->dma_ops->free_pages | 0,239457316199952384,5196233516945883136,7413093576918179840 |
| PARAM_VALUE | 1 | link->dma_ops->get_merge_boundary | 0 |
| PARAM_VALUE | 1 | link->dma_ops->get_required_mask | 0,7770840938859397120 |
| PARAM_VALUE | 1 | link->dma_ops->get_sgtable | 0,1322759480623644672 |
| PARAM_VALUE | 1 | link->dma_ops->map_phys | 0,2506261230157742080,4169194063996235776,4848421345171935232,6326163439792029696 |
| PARAM_VALUE | 1 | link->dma_ops->map_sg | 0,2118452656510775296,2518538481676259328,5872201013595766784,6630017431831871488 |
| PARAM_VALUE | 1 | link->dma_ops->max_mapping_size | 0,8830639662091943936 |
| PARAM_VALUE | 1 | link->dma_ops->mmap | 0,5761417605877342208,7694740394750603264 |
| PARAM_VALUE | 1 | link->dma_ops->opt_mapping_size | 0 |
| PARAM_VALUE | 1 | link->dma_ops->sync_sg_for_cpu | 0,4862850025765572608 |
| PARAM_VALUE | 1 | link->dma_ops->sync_sg_for_device | 0,3732476178258022400 |
| PARAM_VALUE | 1 | link->dma_ops->sync_single_for_cpu | 0,1155325867376779264 |
| PARAM_VALUE | 1 | link->dma_ops->sync_single_for_device | 0,8781567156597239808 |
| PARAM_VALUE | 1 | link->dma_ops->unmap_phys | 0,3634718672199266304,5690836758666383360,6257189515678003200,7756707427785986048 |
| PARAM_VALUE | 1 | link->dma_ops->unmap_sg | 0,1256335292805263360,8472845699660435456,8676762248147066880,8920167536469053440 |
| PARAM_VALUE | 1 | link->iommu | 4096-ptr_max |
| PARAM_VALUE | 1 | link->iommu->fwspec | 0,4096-ptr_max |
| PARAM_VALUE | 1 | link->iommu->iommu_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | link->iommu_group | 0 |
| PARAM_VALUE | 1 | link->kobj.sd | 4096-ptr_max |
| BUF_SIZE | 1 | link | (-1)-0,24-s32max |
| BUF_SIZE | 1 | link | (-1)-0,24-s32max |
| BUF_SIZE | 1 | link->bus | (-1),168 |
| BUF_SIZE | 1 | link->dma_mask | (-1),8 |
| BUF_SIZE | 1 | link->dma_parms | (-1),16 |
| BUF_SIZE | 1 | link->groups | (-1),16 |
| BUF_SIZE | 1 | link->init_name | (-1),14 |
| BUF_SIZE | 1 | link->parent | (-1),1616 |
| DATA_SOURCE | 1 | link | $0 |
| STR_LEN | 1 | link->parent | (-1),4-5,13 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | link->flags | 4096-u32max |
| HOST_DATA | 1 | link->iommu.max_pasids | 0-u32max |
| UNITS | 1 | link | unit_byte |
| LOCK2 | global &iommu_probe_device_lock | ||
| HALF_LOCKED2 | 1 | &link->mutex |