Documented in 1 files:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/ntb/ntb_transport.c
- drivers/ntb/test/ntb_msi_test.c
- drivers/ntb/test/ntb_perf.c, line 277
- drivers/ntb/test/ntb_tool.c, line 1203
Smatch caller information:
drivers/ntb/ntb_transport.c ntb_transport_setup_qp_peer_msi() -> ntb_peer_spad_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pidx | 0 |
| PARAM_VALUE | 2 | sidx | s32min-2147483646 |
| CAPPED_DATA | 2 | sidx | 1 |
| CONSTRAINT | 2 | sidx | <1897 |
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ntb->ctx_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | irqflags |
drivers/ntb/ntb_transport.c ntb_transport_setup_qp_peer_msi() -> ntb_peer_spad_read()
| 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_read | 0,225386872410976256,2916816232129855488,3612029530770116608,4143506622372024320,5847224091939446784 |
| PARAM_VALUE | 1 | pidx | 0 |
| PARAM_VALUE | 2 | sidx | (-2147483647)-s32max |
| CAPPED_DATA | 2 | sidx | 1 |
| 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_spad_cmd_send() -> ntb_peer_spad_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ntb->ops->peer_spad_read | 0,225386872410976256,2916816232129855488,3612029530770116608,4143506622372024320,5847224091939446784 |
| PARAM_VALUE | 1 | pidx | 0-254 |
| UNITS | 1 | pidx | unit_array_size |
| HALF_LOCKED2 | &pool->lock |
drivers/ntb/test/ntb_msi_test.c ntb_msit_copy_peer_desc() -> ntb_peer_spad_read()
| 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 | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->db_read | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->peer_spad_read | 0,225386872410976256,2916816232129855488,3612029530770116608,4143506622372024320,5847224091939446784 |
| PARAM_VALUE | 1 | pidx | 0-63 |
| CAPPED_DATA | 2 | sidx | 1 |
| DATA_SOURCE | 1 | pidx | $1 |
| TASK_NOT_RUNNING | |||
| LOCK2 | &ntb->ctx_lock | ||
| LOCK2 | irqflags | ||
| TYPE_LOCK | (struct ntb_dev)->ctx_lock |
drivers/ntb/test/ntb_msi_test.c ntb_msit_copy_peer_desc() -> ntb_peer_spad_read()
| 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 | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->db_read | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->peer_spad_read | 0,225386872410976256,2916816232129855488,3612029530770116608,4143506622372024320,5847224091939446784 |
| PARAM_VALUE | 1 | pidx | 0-63 |
| CAPPED_DATA | 2 | sidx | 1 |
| DATA_SOURCE | 1 | pidx | $1 |
| TASK_NOT_RUNNING | |||
| LOCK2 | &ntb->ctx_lock | ||
| LOCK2 | irqflags | ||
| TYPE_LOCK | (struct ntb_dev)->ctx_lock |
drivers/ntb/test/ntb_msi_test.c ntb_msit_db_event() -> ntb_peer_spad_read()
| 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 | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->db_read | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->peer_spad_read | 0,225386872410976256,2916816232129855488,3612029530770116608,4143506622372024320,5847224091939446784 |
| PARAM_VALUE | 1 | pidx | 0-63 |
| PARAM_VALUE | 2 | sidx | 0 |
| TASK_NOT_RUNNING | |||
| LOCK2 | &ntb->ctx_lock | ||
| LOCK2 | irqflags | ||
| TYPE_LOCK | (struct ntb_dev)->ctx_lock |
drivers/ntb/test/ntb_tool.c tool_peer_spad_read() -> ntb_peer_spad_read()
| 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_read | 225386872410976256,2916816232129855488,3612029530770116608,4143506622372024320,5847224091939446784 |
| UNITS | 1 | pidx | unit_array_size |
| UNITS | 2 | sidx | unit_array_size |