Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/ntb/hw/mscc/ntb_hw_switchtec.c switchtec_ntb_mw_set_trans() -> switchtec_ntb_mw_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ntb | 4096-ptr_max |
| PARAM_VALUE | 1 | pidx | 0 |
| DATA_SOURCE | 0 | ntb | $0 |
| DATA_SOURCE | 1 | pidx | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | pidx |
drivers/ntb/msi.c ntb_mw_count() -> (struct ntb_dev_ops)->mw_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ntb | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->db_set_mask | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->db_valid_mask | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->link_disable | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->link_is_up | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->mw_clear_trans | 0,889376605413658624,5728823901377802240 |
| PARAM_VALUE | 0 | ntb->ops->mw_set_trans | 0,842518136555724800,3085076618938568704,3660088755932938240,5572014855872364544,6157707328061571072,6317455383581306880,9128674569704988672 |
| PARAM_VALUE | 0 | ntb->ops->peer_port_count | 0,3302194409103257600 |
| PARAM_VALUE | 0 | ntb->ops->port_number | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->spad_read | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ntb->pdev->dev.msi.data->__iter_idx | 0-s64max |
| PARAM_VALUE | 1 | pidx | 0-254 |
| CAPPED_DATA | 1 | pidx | 1 |
| DATA_SOURCE | 0 | ntb | $0 |
| DATA_SOURCE | 1 | pidx | $1 |
| CONTAINER | 0 | -56-1632+0 | $(-1) |
| CONSTRAINT | 1 | pidx | <1889 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &_T->lock->msi.data->mutex |
drivers/ntb/test/ntb_tool.c ntb_mw_count() -> (struct ntb_dev_ops)->mw_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ntb | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->peer_mw_count | 4096-ptr_max |
| PARAM_VALUE | 1 | pidx | 0-254 |
| CAPPED_DATA | 1 | pidx | 1 |
| DATA_SOURCE | 0 | ntb | $0 |
| DATA_SOURCE | 1 | pidx | $1 |
| CONTAINER | 0 | -56-1632+0 | $(-1) |
| CONSTRAINT | 1 | pidx | <1888 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | pidx |