Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/iommu/intel/cache.c cache_tag_flush_iotlb() -> __iommu_flush_iotlb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 3 | size_order | 0-52 |
| PARAM_VALUE | 4 | type | 2305843009213693952,3458764513820540928 |
| CAPPED_DATA | 3 | size_order | 1 |
| DATA_SOURCE | 3 | size_order | $3 [m] |
| FUZZY_MAX | 4 | type | 3458764513820540928 |
| BIT_INFO | 0 | iommu->ecap | 0x0,0xfffffffffffffffd |
| BIT_INFO | 4 | type | 0x2000000000000000,0x3000000000000000 |
| BIT_INFO | 4 | type | 0x2000000000000000,0x3000000000000000 |
| HARD_MAX | 4 | type | 3458764513820540928 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | addr | 0-u64max[c] |
| LOCK2 | &domain->cache_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct dmar_domain)->cache_lock |
drivers/iommu/intel/iommu.c context_present_cache_flush() -> (struct iommu_flush)->flush_iotlb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 0 | iommu->copied_tables | 0,4096-ptr_max |
| PARAM_VALUE | 0 | iommu->ecap | 1-u64max |
| PARAM_VALUE | 0 | iommu->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | addr | 0 |
| PARAM_VALUE | 3 | size_order | 0 |
| PARAM_VALUE | 4 | type | 2305843009213693952 |
| DATA_SOURCE | 0 | iommu | $0 |
| DATA_SOURCE | 1 | did | $1 |
| CONTAINER | 0 | -8-544+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &iommu->lock | |
| TYPE_LOCK | (struct intel_iommu)->lock |
drivers/iommu/intel/iommu.c copied_context_tear_down() -> (struct iommu_flush)->flush_iotlb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 0 | iommu->copied_tables | 4096-ptr_max |
| PARAM_VALUE | 0 | iommu->ecap | 1-u64max |
| PARAM_VALUE | 0 | iommu->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | iommu->max_domain_id | 1-u64max |
| PARAM_VALUE | 2 | addr | 0 |
| PARAM_VALUE | 3 | size_order | 0 |
| PARAM_VALUE | 4 | type | 2305843009213693952 |
| CAPPED_DATA | 1 | did | 1 |
| DATA_SOURCE | 0 | iommu | $0 |
| DATA_SOURCE | 1 | did | r context_domain_id |
| CONTAINER | 0 | -8-544+0 | $(-1) |
| PARAM_COMPARE | 1 | did | < $0->max_domain_id |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &iommu->lock | |
| TYPE_LOCK | (struct intel_iommu)->lock |
drivers/iommu/intel/iommu.c iommu_flush_all() -> (struct iommu_flush)->flush_iotlb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 1 | did | 0 |
| PARAM_VALUE | 2 | addr | 0 |
| PARAM_VALUE | 3 | size_order | 0 |
| PARAM_VALUE | 4 | type | 1152921504606846976 |
| CONTAINER | 0 | -8-544+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | irq |
drivers/iommu/intel/iommu.c iommu_set_root_entry() -> (struct iommu_flush)->flush_iotlb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 0 | iommu->qi | 0,4096-ptr_max |
| PARAM_VALUE | 0 | iommu->register_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | iommu->register_lock.owner | (-1) |
| PARAM_VALUE | 0 | iommu->register_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | did | 0 |
| PARAM_VALUE | 2 | addr | 0 |
| PARAM_VALUE | 3 | size_order | 0 |
| PARAM_VALUE | 4 | type | 1152921504606846976 |
| CAPPED_DATA | 0 | iommu->root_entry | 1 |
| DATA_SOURCE | 0 | iommu | $0 |
| CONTAINER | 0 | -8-544+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &dmar_global_lock |
drivers/iommu/intel/pasid.c device_pasid_table_setup() -> (struct iommu_flush)->flush_iotlb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 0 | iommu->copied_tables | 4096-ptr_max |
| PARAM_VALUE | 0 | iommu->ecap | 1-u64max |
| PARAM_VALUE | 0 | iommu->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | iommu->qi | 0,4096-ptr_max |
| PARAM_VALUE | 0 | iommu->qi->q_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | iommu->qi->q_lock.owner | (-1) |
| PARAM_VALUE | 0 | iommu->qi->q_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | did | 0 |
| PARAM_VALUE | 2 | addr | 0 |
| PARAM_VALUE | 3 | size_order | 0 |
| PARAM_VALUE | 4 | type | 1152921504606846976 |
| CONTAINER | 0 | -8-544+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &iommu->lock | |
| TYPE_LOCK | (struct intel_iommu)->lock |
drivers/iommu/intel/pasid.c device_pasid_table_setup() -> (struct iommu_flush)->flush_iotlb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 0 | iommu->copied_tables | 0,4096-ptr_max |
| PARAM_VALUE | 0 | iommu->ecap | 1-u64max |
| PARAM_VALUE | 0 | iommu->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | did | 0 |
| PARAM_VALUE | 2 | addr | 0 |
| PARAM_VALUE | 3 | size_order | 0 |
| PARAM_VALUE | 4 | type | 2305843009213693952 |
| CONTAINER | 0 | -8-544+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/iommu/intel/pasid.c intel_context_flush_no_pasid() -> (struct iommu_flush)->flush_iotlb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 0 | iommu->copied_tables | 0,4096-ptr_max |
| PARAM_VALUE | 0 | iommu->ecap | 1-u64max |
| PARAM_VALUE | 2 | addr | 0 |
| PARAM_VALUE | 3 | size_order | 0 |
| PARAM_VALUE | 4 | type | 2305843009213693952 |
| DATA_SOURCE | 1 | did | $2 |
| CONTAINER | 0 | -8-544+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/iommu/intel/pasid.c intel_pasid_setup_dirty_tracking() -> (struct iommu_flush)->flush_iotlb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 0 | iommu->device_rbtree_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | iommu->ecap | 1-u64max |
| PARAM_VALUE | 0 | iommu->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | iommu->qi | 0,4096-ptr_max |
| PARAM_VALUE | 0 | iommu->qi->q_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | iommu->qi->q_lock.owner | (-1) |
| PARAM_VALUE | 0 | iommu->qi->q_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | *iommu->qi->desc_status | 0 |
| PARAM_VALUE | 1 | did | 0,2 |
| PARAM_VALUE | 2 | addr | 0 |
| PARAM_VALUE | 3 | size_order | 0 |
| PARAM_VALUE | 4 | type | 2305843009213693952 |
| DATA_SOURCE | 0 | iommu | $0 |
| DATA_SOURCE | 1 | did | r pasid_get_domain_id |
| CONTAINER | 0 | -8-544+0 | $(-1) |
| NOCHECK_CALL | |||
| LOCK2 | &iopt->iova_rwsem | ||
| HALF_LOCKED2 | &domain->lock | ||
| HALF_LOCKED2 | &domain->s1_lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct dmar_domain)->lock | ||
| TYPE_LOCK | (struct io_pagetable)->iova_rwsem |
drivers/iommu/intel/pasid.c intel_pasid_tear_down_entry() -> (struct iommu_flush)->flush_iotlb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 0 | iommu->device_rbtree_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | iommu->ecap | 1-u64max |
| PARAM_VALUE | 0 | iommu->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | iommu->qi | 0,4096-ptr_max |
| PARAM_VALUE | 0 | iommu->qi->q_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | iommu->qi->q_lock.owner | (-1) |
| PARAM_VALUE | 0 | iommu->qi->q_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | *iommu->qi->desc_status | 0 |
| PARAM_VALUE | 1 | did | 0,2 |
| PARAM_VALUE | 2 | addr | 0 |
| PARAM_VALUE | 3 | size_order | 0 |
| PARAM_VALUE | 4 | type | 2305843009213693952 |
| DATA_SOURCE | 0 | iommu | $0 |
| DATA_SOURCE | 1 | did | r pasid_get_domain_id |
| CONTAINER | 0 | -8-544+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &domain->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &srcu |