Documented in 1 files:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/ntb/msi.c
- drivers/ntb/ntb_transport.c, line 768
- drivers/ntb/test/ntb_perf.c, line 562
- drivers/ntb/test/ntb_tool.c, line 626
Smatch caller information:
drivers/ntb/msi.c ntb_msi_clear_mws() -> ntb_mw_clear_trans()
| 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 | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->db_valid_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->link_disable | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->mw_clear_trans | 0,889376605413658624,5728823901377802240 |
| PARAM_VALUE | 0 | ntb->ops->peer_port_count | 0,3302194409103257600 |
| PARAM_VALUE | 0 | ntb->ops->port_number | 0,4096-ptr_max |
| PARAM_VALUE | 1 | pidx | 0-254 |
| PARAM_VALUE | 2 | widx | 0-s32max |
| CAPPED_DATA | 1 | pidx | 1 |
| DATA_SOURCE | 0 | ntb | $0 |
| DATA_SOURCE | 2 | widx | r ntb_peer_highest_mw_idx |
| CONSTRAINT | 1 | pidx | <1889 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/ntb/msi.c ntb_msi_setup_mws() -> ntb_mw_clear_trans()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ntb | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->msi | 1-u64max |
| PARAM_VALUE | 0 | ntb->ops | 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 | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->pdev->dev.msi.data | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ntb->pdev->dev.msi.data->__iter_idx | 0-s64max |
| PARAM_VALUE | 1 | pidx | 0-s32max |
| PARAM_VALUE | 2 | widx | 0-s32max |
| CAPPED_DATA | 1 | pidx | 1 |
| DATA_SOURCE | 0 | ntb | $0 |
| DATA_SOURCE | 2 | widx | r ntb_peer_highest_mw_idx |
| NOCHECK_CALL | |||
| LOCK2 | &_T->lock->msi.data->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/ntb/ntb_transport.c ntb_free_mw() -> ntb_mw_clear_trans()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ntb | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->mw_set_trans | 0,842518136555724800,3085076618938568704,3660088755932938240,5572014855872364544,6157707328061571072,6317455383581306880,9128674569704988672 |
| PARAM_VALUE | 0 | ntb->ops->peer_spad_write | 0,4079965994737197056,4209643071653740544,4854236880108380160,6883140719573549056,8335059707764551680 |
| PARAM_VALUE | 0 | ntb->pdev->dev.msi.data->__iter_idx | 0-s64max |
| PARAM_VALUE | 1 | pidx | 0 |
| DATA_SOURCE | 2 | widx | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/ntb/test/ntb_perf.c perf_free_inbuf() -> ntb_mw_clear_trans()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ntb | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->mw_set_trans | 0,842518136555724800,3085076618938568704,3660088755932938240,5572014855872364544,6157707328061571072,6317455383581306880,9128674569704988672 |
| PARAM_VALUE | 0 | ntb->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 1 | pidx | 0-254 |
| PARAM_VALUE | 2 | widx | 0-255 |
| CAPPED_DATA | 1 | pidx | 1 |
| UNITS | 1 | pidx | unit_array_size |
| UNITS | 2 | widx | unit_array_size |
| HALF_LOCKED2 | &pool->lock |
drivers/ntb/test/ntb_tool.c tool_free_mw() -> ntb_mw_clear_trans()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ntb->ctx_ops->db_event | 0,868702929300471808,2075627810892173312,4181182437596090368,5741736033489731584,6480358351476830208 |
| PARAM_VALUE | 0 | ntb->ctx_ops->link_event | 0,602355539050242048,2562276202271940608,5234194995259924480,6800371433181839360,7485608792049762304 |
| PARAM_VALUE | 0 | ntb->ctx_ops->msg_event | 0,167457229910126592,2424244236432859136 |
| PARAM_VALUE | 0 | ntb->pdev->dev.cma_area->nranges | s32min-s32max |
| DATA_SOURCE | 1 | pidx | $1 |
| DATA_SOURCE | 2 | widx | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | pidx | |
| NO_OVERFLOW_SIMPLE | 2 | widx | |
| UNITS | 1 | pidx | unit_array_size |
| UNITS | 2 | widx | unit_array_size |