Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/cxl/core/region.c cxl_region_attach() -> cxl_find_dport_by_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 0,4096-ptr_max |
| DATA_SOURCE | 0 | port | r cxlrd_to_port |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | dport_dev | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/cxl/core/region.c cxl_region_attach() -> cxl_find_dport_by_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 0,4096-ptr_max |
| DATA_SOURCE | 0 | port | r cxlrd_to_port |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | dport_dev | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/cxl/core/port.c add_port_attach_ep() -> cxl_find_dport_by_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | dport_dev | 4096-6838092367675105279,6838092367675105281-ptr_max |
| DATA_SOURCE | 0 | port | r find_cxl_port_by_uport |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | dport_dev | unit_byte |
| LOCK2 | 0 | &port->dev.mutex | |
| HALF_LOCKED2 | &dev->mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/cxl/core/port.c dport_exists() -> cxl_find_dport_by_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->dev.dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | port->dev.dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 0 | port->dev.dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | port->dev.dma_io_tlb_mem->force_bounce | 0-1 |
| PARAM_VALUE | 0 | port->dev.dma_io_tlb_mem->nslabs | 0-s64max |
| PARAM_VALUE | 0 | port->dev.dma_io_tlb_mem->phys_limit | 0-s64max |
| PARAM_VALUE | 0 | port->dev.driver | 1-u64max |
| PARAM_VALUE | 0 | port->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 1 | dport_dev | 4096-6838092367675105279,6838092367675105281-ptr_max |
| DATA_SOURCE | 0 | port | $0 |
| DATA_SOURCE | 1 | dport_dev | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | dport_dev | unit_byte |
| LOCK2 | 0 | &port->dev.mutex | |
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &parent_port->dev.mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/cxl/core/port.c find_or_add_dport() -> cxl_find_dport_by_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | dport_dev | 4096-6838092367675105279,6838092367675105281-ptr_max |
| PARAM_VALUE | 1 | dport_dev->parent | 1-u64max |
| CAPPED_DATA | 0 | port->dev.parent | 1 |
| DATA_SOURCE | 0 | port | $0 |
| DATA_SOURCE | 1 | dport_dev | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | dport_dev | unit_byte |
| LOCK2 | 0 | &port->dev.mutex | |
| HALF_LOCKED2 | &dev->mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/cxl/core/port.c match_port_by_dport() -> cxl_find_dport_by_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 0,4096-ptr_max |
| DATA_SOURCE | 0 | port | r to_cxl_port |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | dport_dev | unit_byte |
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | &generic_phy->mutex | ||
| HALF_LOCKED2 | &ns->subsys->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &seq->lock | ||
| HALF_LOCKED2 | &sfile->lock | ||
| HALF_LOCKED2 | &tb->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &component_mutex | ||
| HALF_LOCKED2 | global &hmem_resource_lock | ||
| HALF_LOCKED2 | global &iommu_probe_device_lock | ||
| HALF_LOCKED2 | global &pi_mutex | ||
| HALF_LOCKED2 | global &vdpa_dev_lock |
drivers/cxl/acpi.c add_host_bridge_uport() -> cxl_find_dport_by_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| 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 |