Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/iommu/intel/iommu.c context_setup_pass_through() -> context_present()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | context | 4096-ptr_max |
| DATA_SOURCE | 0 | context | r iommu_context_addr |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &iommu->lock | ||
| TYPE_LOCK | (struct intel_iommu)->lock |
drivers/iommu/intel/iommu.c copy_context_table() -> context_present()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | context | 3202906944496635904 |
| LOCK2 | global &dmar_global_lock |
drivers/iommu/intel/iommu.c dmar_fault_dump_ptes() -> context_present()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | context | 4096-ptr_max |
| DATA_SOURCE | 0 | context | r iommu_context_addr |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags |
drivers/iommu/intel/iommu.c dmar_fault_dump_ptes() -> context_present()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | context | 4096-ptr_max |
| DATA_SOURCE | 0 | context | r iommu_context_addr |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags |
drivers/iommu/intel/iommu.c domain_context_mapping_one() -> context_present()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | context | 4096-ptr_max |
| DATA_SOURCE | 0 | context | r iommu_context_addr |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &iommu->lock | ||
| HALF_LOCKED2 | &group->mutex | ||
| TYPE_LOCK | (struct intel_iommu)->lock |
drivers/iommu/intel/debugfs.c ctx_tbl_walk() -> context_present()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | context | 4096-ptr_max |
| DATA_SOURCE | 0 | context | r iommu_context_addr |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &iommu->lock | ||
| LOCK2 | &m->lock | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct intel_iommu)->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/iommu/intel/debugfs.c domain_translation_struct_show() -> context_present()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | context | 4096-ptr_max |
| DATA_SOURCE | 0 | context | r iommu_context_addr |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &iommu->lock | ||
| LOCK2 | &m->lock | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct intel_iommu)->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/iommu/intel/pasid.c device_pasid_table_setup() -> context_present()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | context | 4096-ptr_max |
| DATA_SOURCE | 0 | context | r iommu_context_addr |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &iommu->lock | ||
| TYPE_LOCK | (struct intel_iommu)->lock |