Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/iommu/intel/iommu.c context_present_cache_flush() -> (struct iommu_flush)->flush_context()
| 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 | 3 | fm | 0 |
| PARAM_VALUE | 4 | type | 6917529027641081856 |
| DATA_SOURCE | 0 | iommu | $0 |
| CONTAINER | 0 | -0-544+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | sid | 0-u16max[c] |
| LOCK2 | 0 | &iommu->lock | |
| TYPE_LOCK | (struct intel_iommu)->lock |
drivers/iommu/intel/iommu.c copied_context_tear_down() -> (struct iommu_flush)->flush_context()
| 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 | 3 | fm | 0 |
| PARAM_VALUE | 4 | type | 6917529027641081856 |
| CAPPED_DATA | 1 | did | 1 |
| DATA_SOURCE | 0 | iommu | $0 |
| DATA_SOURCE | 1 | did | r context_domain_id |
| CONTAINER | 0 | -0-544+0 | $(-1) |
| PARAM_COMPARE | 1 | did | < $0->max_domain_id |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | sid | 0-u16max[c] |
| LOCK2 | 0 | &iommu->lock | |
| TYPE_LOCK | (struct intel_iommu)->lock |
drivers/iommu/intel/iommu.c iommu_flush_all() -> (struct iommu_flush)->flush_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 1 | did | 0 |
| PARAM_VALUE | 2 | sid | 0 |
| PARAM_VALUE | 3 | fm | 0 |
| PARAM_VALUE | 4 | type | 2305843009213693952 |
| CONTAINER | 0 | -0-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_context()
| 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 | sid | 0 |
| PARAM_VALUE | 3 | fm | 0 |
| PARAM_VALUE | 4 | type | 2305843009213693952 |
| CAPPED_DATA | 0 | iommu->root_entry | 1 |
| DATA_SOURCE | 0 | iommu | $0 |
| CONTAINER | 0 | -0-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_context()
| 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 | 1 | did | 0 |
| PARAM_VALUE | 3 | fm | 0 |
| PARAM_VALUE | 4 | type | 6917529027641081856 |
| CONTAINER | 0 | -0-544+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | sid | 0-u16max[c] |
| LOCK2 | 0 | &iommu->lock | |
| TYPE_LOCK | (struct intel_iommu)->lock |
drivers/iommu/intel/pasid.c device_pasid_table_setup() -> (struct iommu_flush)->flush_context()
| 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 | 3 | fm | 0 |
| PARAM_VALUE | 4 | type | 6917529027641081856 |
| CONTAINER | 0 | -0-544+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | sid | 0-u16max[c] |
drivers/iommu/intel/pasid.c intel_context_flush_no_pasid() -> (struct iommu_flush)->flush_context()
| 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 | 3 | fm | 0 |
| PARAM_VALUE | 4 | type | 6917529027641081856 |
| DATA_SOURCE | 1 | did | $2 |
| DATA_SOURCE | 2 | sid | $3 |
| CONTAINER | 0 | -0-544+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | sid | 0-u16max[c] |