Documented in 1 files:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/ntb/msi.c
- drivers/ntb/ntb_transport.c, line 1259
- drivers/ntb/test/ntb_msi_test.c
- drivers/ntb/test/ntb_perf.c, line 1396
- drivers/ntb/test/ntb_pingpong.c
- drivers/ntb/test/ntb_tool.c, line 443
- include/linux/ntb.h
Smatch caller information:
drivers/ntb/msi.c ntb_logical_port_number() -> ntb_peer_port_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->peer_port_number | 0,6980690763528646656 |
| PARAM_VALUE | 0 | ntb->ops->port_number | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ntb->pdev->dev.msi.data->__iter_idx | 0-s64max |
| DATA_SOURCE | 0 | ntb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &_T->lock->msi.data->mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/ntb/msi.c ntb_logical_port_number() -> ntb_peer_port_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->peer_port_number | 0,6980690763528646656 |
| PARAM_VALUE | 0 | ntb->ops->port_number | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ntb->pdev->dev.msi.data->__iter_idx | 0-s64max |
| DATA_SOURCE | 0 | ntb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &_T->lock->msi.data->mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/ntb/msi.c ntb_msi_clear_mws() -> ntb_peer_port_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 | 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 |
| DATA_SOURCE | 0 | ntb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/ntb/msi.c ntb_msi_clear_mws() -> ntb_peer_port_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 | 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 |
| DATA_SOURCE | 0 | ntb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/ntb/msi.c ntb_msi_init() -> ntb_peer_port_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_clear_mask | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->db_is_unsafe | 0,4115102582843609088 |
| PARAM_VALUE | 0 | ntb->ops->mw_set_trans | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->peer_mw_count | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->peer_port_count | 0,3302194409103257600 |
| PARAM_VALUE | 0 | ntb->ops->spad_count | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->spad_is_unsafe | 0,5276262572034433024 |
| PARAM_VALUE | 0 | ntb->ops->spad_write | 0,4096-ptr_max |
| DATA_SOURCE | 0 | ntb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/ntb/msi.c ntb_msi_setup_mws() -> ntb_peer_port_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ntb | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->msi | 1-u64max |
| PARAM_VALUE | 0 | ntb->ops->link_is_up | 0,4096-ptr_max |
| 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 |
| DATA_SOURCE | 0 | ntb | $0 |
| LOCK2 | &_T->lock->msi.data->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/ntb/msi.c ntb_msi_setup_mws() -> ntb_peer_port_count()
| 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 | 4096-ptr_max |
| 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 |
| DATA_SOURCE | 0 | ntb | $0 |
| LOCK2 | &_T->lock->msi.data->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/ntb/msi.c ntb_msi_setup_mws() -> ntb_peer_port_count()
| 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_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 |
| DATA_SOURCE | 0 | ntb | $0 |
| LOCK2 | &_T->lock->msi.data->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/ntb/msi.c ntb_msi_setup_mws() -> ntb_peer_port_count()
| 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 | 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_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 |
| DATA_SOURCE | 0 | ntb | $0 |
| LOCK2 | &_T->lock->msi.data->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/ntb/msi.c ntb_peer_resource_idx() -> ntb_peer_port_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 |
| DATA_SOURCE | 0 | ntb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &_T->lock->msi.data->mutex |
drivers/ntb/ntb_transport.c ntb_transport_probe() -> ntb_peer_port_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_is_unsafe | 0,4115102582843609088 |
| PARAM_VALUE | 0 | ntb->ops->mw_set_trans | 842518136555724800,3085076618938568704,3660088755932938240,5572014855872364544,6157707328061571072,6317455383581306880,9128674569704988672 |
| PARAM_VALUE | 0 | ntb->ops->peer_mw_count | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->spad_is_unsafe | 0,5276262572034433024 |
| DATA_SOURCE | 0 | ntb | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/ntb/test/ntb_perf.c perf_create_data() -> ntb_peer_port_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 |
| DATA_SOURCE | 0 | ntb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/ntb/test/ntb_pingpong.c pp_check_ntb() -> ntb_peer_port_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_is_unsafe | 0,4115102582843609088 |
| PARAM_VALUE | 0 | ntb->ops->spad_is_unsafe | 0,5276262572034433024 |
| DATA_SOURCE | 0 | ntb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/ntb/test/ntb_pingpong.c pp_init_flds() -> ntb_peer_port_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->ops | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/ntb/test/ntb_msi_test.c ntb_msit_create_dbgfs() -> ntb_peer_port_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->msi | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->peer_port_count | 0,3302194409103257600 |
| PARAM_VALUE | 0 | ntb->pdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/ntb/test/ntb_msi_test.c ntb_msit_create_dbgfs() -> ntb_peer_port_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->msi | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->peer_port_count | 0,3302194409103257600 |
| PARAM_VALUE | 0 | ntb->pdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/ntb/test/ntb_msi_test.c ntb_msit_probe() -> ntb_peer_port_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ntb | 4096-ptr_max |
| DATA_SOURCE | 0 | ntb | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/ntb/test/ntb_msi_test.c ntb_msit_remove() -> ntb_peer_port_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 | 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->peer_port_count | 0,3302194409103257600 |
| PARAM_VALUE | 0 | ntb->ops->port_number | 0,4096-ptr_max |
| DATA_SOURCE | 0 | ntb | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/ntb/test/ntb_msi_test.c ntb_msit_remove() -> ntb_peer_port_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 | 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->peer_port_count | 0,3302194409103257600 |
| PARAM_VALUE | 0 | ntb->ops->port_number | 0,4096-ptr_max |
| DATA_SOURCE | 0 | ntb | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/ntb/test/ntb_tool.c tool_init_peers() -> ntb_peer_port_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ntb | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->dev.devres_head.prev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |