Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/iommu/intel/perf.c, line 18 (as a function)
- drivers/iommu/intel/perf.h, line 57 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/iommu/intel/dmar.c qi_submit_sync() -> dmar_latency_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 0 |
| BUF_SIZE | 0 | iommu->ir_domain | (-1),376-s32max |
| BUF_SIZE | 0 | iommu->ir_domain->msi_parent_ops | (-1),40 |
| BUF_SIZE | 0 | iommu->ir_table | (-1),16 |
| DATA_SOURCE | 0 | iommu | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | iommu | unit_byte |
| HALF_LOCKED2 | &domain->cache_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &irq_2_ir_lock | ||
| HALF_LOCKED2 | 0 | &iommu->lock |
drivers/iommu/intel/dmar.c qi_submit_sync() -> dmar_latency_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 1 |
| BUF_SIZE | 0 | iommu->ir_domain | (-1),376-s32max |
| BUF_SIZE | 0 | iommu->ir_domain->msi_parent_ops | (-1),40 |
| BUF_SIZE | 0 | iommu->ir_table | (-1),16 |
| DATA_SOURCE | 0 | iommu | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | iommu | unit_byte |
| HALF_LOCKED2 | &domain->cache_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &irq_2_ir_lock | ||
| HALF_LOCKED2 | 0 | &iommu->lock |
drivers/iommu/intel/dmar.c qi_submit_sync() -> dmar_latency_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 2 |
| BUF_SIZE | 0 | iommu->ir_domain | (-1),376-s32max |
| BUF_SIZE | 0 | iommu->ir_domain->msi_parent_ops | (-1),40 |
| BUF_SIZE | 0 | iommu->ir_table | (-1),16 |
| DATA_SOURCE | 0 | iommu | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | iommu | unit_byte |
| HALF_LOCKED2 | &domain->cache_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &irq_2_ir_lock | ||
| HALF_LOCKED2 | 0 | &iommu->lock |
drivers/iommu/intel/perf.c dmar_latency_disable() -> dmar_latency_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 0-2 |
| DATA_SOURCE | 0 | iommu | $0 |
| DATA_SOURCE | 1 | type | $1 |
| HARD_MAX | 1 | type | 2 |
| LOCK2 | rcu_read |
drivers/iommu/intel/perf.c dmar_latency_enable() -> dmar_latency_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 0-2 |
| DATA_SOURCE | 0 | iommu | $0 |
| DATA_SOURCE | 1 | type | $1 |
| HARD_MAX | 1 | type | 2 |
| LOCK2 | rcu_read |
drivers/iommu/intel/perf.c dmar_latency_snapshot() -> dmar_latency_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 0-2 |
| DATA_SOURCE | 0 | iommu | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| LOCK2 | flags | ||
| LOCK2 | global &latency_lock | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/iommu/intel/perf.c dmar_latency_update() -> dmar_latency_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 0-2 |
| BUF_SIZE | 0 | iommu->ir_domain | (-1),376-s32max |
| BUF_SIZE | 0 | iommu->ir_domain->msi_parent_ops | (-1),40 |
| BUF_SIZE | 0 | iommu->ir_table | (-1),16 |
| DATA_SOURCE | 0 | iommu | $0 |
| DATA_SOURCE | 1 | type | $1 |
| HARD_MAX | 1 | type | 2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | iommu | unit_byte |
| HALF_LOCKED2 | &domain->cache_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &irq_2_ir_lock | ||
| HALF_LOCKED2 | 0 | &iommu->lock |