Documented in 1 files:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/ntb/ntb_transport.c
- drivers/ntb/test/ntb_msi_test.c, line 329
- drivers/ntb/test/ntb_perf.c
- drivers/ntb/test/ntb_pingpong.c
- drivers/ntb/test/ntb_tool.c
Smatch caller information:
drivers/ntb/ntb_transport.c ntb_transport_link_cleanup() -> ntb_spad_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/ntb/ntb_transport.c ntb_transport_probe() -> ntb_spad_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ntb | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->msi->base_addr | 0-s64max |
| PARAM_VALUE | 0 | ntb->msi->desc_changed | 0-s64max |
| PARAM_VALUE | 0 | ntb->msi->end_addr | 0-s64max |
| 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->peer_port_count | 0,3302194409103257600 |
| PARAM_VALUE | 0 | ntb->ops->spad_is_unsafe | 0,5276262572034433024 |
| DATA_SOURCE | 0 | ntb | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/ntb/ntb_transport.c ntb_transport_setup_qp_msi() -> ntb_spad_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ntb->pdev->dev.msi.data->__iter_idx | 0-s64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/ntb/ntb_transport.c ntb_transport_setup_qp_peer_msi() -> ntb_spad_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->peer_spad_write | 0,4079965994737197056,4209643071653740544,4854236880108380160,6883140719573549056,8335059707764551680 |
| PARAM_VALUE | 0 | ntb->pdev->dev.msi.data->__iter_idx | 0-s64max |
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ntb->ctx_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | irqflags |
drivers/ntb/test/ntb_perf.c perf_enable_service() -> ntb_spad_count()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ntb | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ctx_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ntb->ctx_ops | 605517834963943424 |
| 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->dev.devres_head.prev | 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->msg_count | 0,689804918816116736 |
| PARAM_VALUE | 0 | ntb->ops->peer_mw_count | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/ntb/test/ntb_perf.c perf_init_service() -> ntb_spad_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 |
| PARAM_VALUE | 0 | ntb->ops->peer_mw_count | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/ntb/test/ntb_pingpong.c pp_check_ntb() -> ntb_spad_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->db_valid_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->peer_port_count | 0,3302194409103257600 |
| 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_check_ntb() -> ntb_spad_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->db_valid_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->msg_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 |
| DATA_SOURCE | 0 | ntb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/ntb/test/ntb_msi_test.c ntb_msit_probe() -> ntb_spad_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->peer_port_count | 0,3302194409103257600 |
| PARAM_VALUE | 0 | ntb->ops->spad_is_unsafe | 0,5276262572034433024 |
| DATA_SOURCE | 0 | ntb | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/ntb/test/ntb_tool.c tool_init_spads() -> ntb_spad_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 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/ntb/test/ntb_tool.c tool_init_spads() -> ntb_spad_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 |
| RX_PATH | |||
| TASK_NOT_RUNNING |