Documented in 1 files:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/ntb/hw/amd/ntb_hw_amd.c
- drivers/ntb/ntb_transport.c
- drivers/ntb/test/ntb_msi_test.c
- drivers/ntb/test/ntb_perf.c, line 293
- drivers/ntb/test/ntb_pingpong.c, line 183
Smatch caller information:
drivers/ntb/ntb_transport.c ntb_transport_msi_desc_changed() -> ntb_peer_db_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_T->lock->msi.data->mutex | ||
| HALF_LOCKED2 | &vdev->memory_lock |
drivers/ntb/ntb_transport.c ntb_tx_copy_callback() -> ntb_peer_db_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ioat_chan->cleanup_lock | ||
| HALF_LOCKED2 | &mv_chan->lock | ||
| HALF_LOCKED2 | &pd_chan->lock | ||
| HALF_LOCKED2 | &plxdev->ring_lock | ||
| HALF_LOCKED2 | &swdma_chan->complete_lock | ||
| HALF_LOCKED2 | &td_chan->lock | ||
| HALF_LOCKED2 | bh |
drivers/ntb/hw/amd/ntb_hw_amd.c amd_ntb_pci_remove() -> ntb_peer_db_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ntb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/ntb/hw/amd/ntb_hw_amd.c amd_ntb_pci_shutdown() -> ntb_peer_db_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ntb->ctx_ops | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->mutex | ||
| HALF_LOCKED2 | &parent->mutex | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/ntb/test/ntb_perf.c perf_spad_cmd_send() -> ntb_peer_db_set()
| 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 | 0 | ntb->ops->peer_spad_write | 0,4079965994737197056,4209643071653740544,4854236880108380160,6883140719573549056,8335059707764551680 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/ntb/test/ntb_pingpong.c pp_ping() -> ntb_peer_db_set()
| 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_msg_write | 0,311281681569370112 |
| PARAM_VALUE | 0 | ntb->ops->peer_port_number | 0,6980690763528646656 |
| PARAM_VALUE | 0 | ntb->ops->peer_spad_write | 0,4079965994737197056,4209643071653740544,4854236880108380160,6883140719573549056,8335059707764551680 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &pp->lock | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct pp_ctx)->lock |
drivers/ntb/test/ntb_msi_test.c ntb_msit_desc_changed() -> ntb_peer_db_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ntb | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops | 4096-ptr_max |
| 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_setup_work() -> ntb_peer_db_set()
| 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 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |