Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/cxl/acpi.c, line 669
- drivers/cxl/core/pci.c, line 71
- drivers/cxl/core/port.c, line 1283
- tools/testing/cxl/test/cxl.c, line 1554
- tools/testing/cxl/test/mock.c, line 209
Smatch caller information:
drivers/cxl/core/pci.c devm_cxl_add_dport_by_dev() -> devm_cxl_add_dport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | port->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | port->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | port->dev.driver | 1-u64max |
| PARAM_VALUE | 0 | port->dev.iommu_group->owner_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | port->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 1 | dport_dev | 4096-6838092367675105279,6838092367675105281-ptr_max |
| PARAM_VALUE | 1 | dport_dev->bus | 9023697146540859392 |
| PARAM_VALUE | 2 | port_id | 0-s32max |
| DATA_SOURCE | 0 | port | $0 |
| DATA_SOURCE | 1 | dport_dev | $1 |
| DATA_SOURCE | 2 | port_id | r pci_get_port_num |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &port->dev.mutex | |
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &parent_port->dev.mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/cxl/acpi.c add_host_bridge_dport() -> devm_cxl_add_dport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 3 | component_reg_phys | u64max |
| DATA_SOURCE | 0 | port | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &add_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &seq->lock | ||
| HALF_LOCKED2 | &skt->skt_mutex | ||
| HALF_LOCKED2 | &tb->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &core_lock | ||
| HALF_LOCKED2 | global &pi_mutex | ||
| HALF_LOCKED2 | global &pwrseq_sem | ||
| HALF_LOCKED2 | global ®istration_lock | ||
| HALF_LOCKED2 | global &vdpa_dev_lock | ||
| HALF_LOCKED2 | global &xenwatch_mutex |