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
- drivers/ntb/test/ntb_tool.c, line 1183
Smatch caller information:
drivers/ntb/ntb_transport.c ntb_transport_link_cleanup() -> ntb_spad_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ntb | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->spad_count | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 0 |
| CAPPED_DATA | 1 | sidx | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/ntb/ntb_transport.c ntb_transport_setup_qp_msi() -> ntb_spad_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | sidx | s32min-2147483646 |
| PARAM_VALUE | 2 | val | 0 |
| CAPPED_DATA | 1 | sidx | 1 |
| CONSTRAINT | 1 | sidx | <1897 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock |
drivers/ntb/ntb_transport.c ntb_transport_setup_qp_msi() -> ntb_spad_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ntb | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | sidx | (-2147483647)-s32max |
| PARAM_VALUE | 2 | val | 0 |
| CAPPED_DATA | 1 | sidx | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock |
drivers/ntb/ntb_transport.c ntb_transport_setup_qp_msi() -> ntb_spad_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ntb | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | sidx | s32min-2147483646 |
| CAPPED_DATA | 1 | sidx | 1 |
| CONSTRAINT | 1 | sidx | <1897 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/ntb/ntb_transport.c ntb_transport_setup_qp_msi() -> ntb_spad_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ntb | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->spad_write | 4096-ptr_max |
| PARAM_VALUE | 1 | sidx | (-2147483647)-s32max |
| CAPPED_DATA | 1 | sidx | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | val | unit_array_size |
| HALF_LOCKED2 | _T->lock |
drivers/ntb/test/ntb_perf.c perf_disable_service() -> ntb_spad_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ntb | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ctx | 0 |
| PARAM_VALUE | 0 | ntb->ctx_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ntb->ctx_ops | 0 |
| PARAM_VALUE | 0 | ntb->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->db_set_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->msg_set_mask | 0,4126700995385352192 |
| PARAM_VALUE | 2 | val | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/ntb/test/ntb_perf.c perf_enable_service() -> ntb_spad_write()
| 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 |
| PARAM_VALUE | 0 | ntb->ops->spad_count | 4096-ptr_max |
| PARAM_VALUE | 1 | sidx | 0-s32max |
| PARAM_VALUE | 2 | val | u32max |
| CAPPED_DATA | 1 | sidx | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/ntb/test/ntb_perf.c perf_spad_cmd_recv() -> ntb_spad_write()
| 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_vector_mask | 0,3108742188891217920,3164587416544976896,4689014525894905856,8050215414864912384,8947203081465241600 |
| PARAM_VALUE | 0 | ntb->ops->msg_read_sts | 0,7815581614722723840 |
| PARAM_VALUE | 0 | ntb->ops->spad_read | 4096-ptr_max |
| PARAM_VALUE | 2 | val | u32max |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ntb->ctx_lock | ||
| LOCK2 | irqflags | ||
| TYPE_LOCK | (struct ntb_dev)->ctx_lock |
drivers/ntb/test/ntb_msi_test.c ntb_msit_desc_changed() -> ntb_spad_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPPED_DATA | 1 | sidx | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_T->lock->msi.data->mutex | ||
| HALF_LOCKED2 | &vdev->memory_lock |
drivers/ntb/test/ntb_msi_test.c ntb_msit_desc_changed() -> ntb_spad_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ntb | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops | 4096-ptr_max |
| CAPPED_DATA | 1 | sidx | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | val | unit_array_size |
| HALF_LOCKED2 | &_T->lock->msi.data->mutex | ||
| HALF_LOCKED2 | &vdev->memory_lock |
drivers/ntb/test/ntb_msi_test.c ntb_msit_probe() -> ntb_spad_write()
| 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_count | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->spad_is_unsafe | 0,5276262572034433024 |
| PARAM_VALUE | 1 | sidx | 0 |
| PARAM_VALUE | 2 | val | u32max |
| DATA_SOURCE | 0 | ntb | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/ntb/test/ntb_msi_test.c ntb_msit_setup_work() -> ntb_spad_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ntb | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->msi | 4096-ptr_max |
| CAPPED_DATA | 1 | sidx | 1 |
| HALF_LOCKED2 | &pool->lock |
drivers/ntb/test/ntb_msi_test.c ntb_msit_setup_work() -> ntb_spad_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ntb | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->msi | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->spad_write | 4096-ptr_max |
| CAPPED_DATA | 1 | sidx | 1 |
| UNITS | 2 | val | unit_array_size |
| HALF_LOCKED2 | &pool->lock |
drivers/ntb/test/ntb_msi_test.c ntb_msit_setup_work() -> ntb_spad_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ntb | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->msi | 4096-ptr_max |
| PARAM_VALUE | 1 | sidx | 0 |
| PARAM_VALUE | 2 | val | 0-s32max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/ntb/test/ntb_tool.c tool_spad_write() -> ntb_spad_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ntb | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->spad_write | 774381530570702848,1090374108537520128,2299563746827464704,3434810906381299712,7742718790016897024 |
| USER_DATA | 2 | val | 0-u32max |
| UNITS | 1 | sidx | unit_array_size |