Documented in 1 files:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/ntb/ntb_transport.c, line 1324
- drivers/ntb/test/ntb_msi_test.c, line 394
- drivers/ntb/test/ntb_perf.c
- drivers/ntb/test/ntb_pingpong.c
- include/linux/ntb.h, line 1032
Smatch caller information:
drivers/ntb/ntb_transport.c ntb_db_vector_mask() -> ntb_db_valid_mask()
| 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_read | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->db_vector_mask | 0 |
| DATA_SOURCE | 0 | ntb | $0 |
| TASK_NOT_RUNNING | |||
| LOCK2 | &ntb->ctx_lock | ||
| LOCK2 | irqflags | ||
| TYPE_LOCK | (struct ntb_dev)->ctx_lock |
drivers/ntb/ntb_transport.c ntb_transport_probe() -> ntb_db_valid_mask()
| 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_mw_get_addr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->peer_port_count | 0,3302194409103257600 |
| PARAM_VALUE | 0 | ntb->ops->spad_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 ntb_db_vector_mask() -> ntb_db_valid_mask()
| 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_vector_mask | 0 |
| DATA_SOURCE | 0 | ntb | $0 |
| TASK_NOT_RUNNING | |||
| LOCK2 | &ntb->ctx_lock | ||
| LOCK2 | irqflags | ||
| TYPE_LOCK | (struct ntb_dev)->ctx_lock |
drivers/ntb/test/ntb_perf.c perf_enable_service() -> ntb_db_valid_mask()
| 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->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_db_valid_mask()
| 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 |
| PARAM_VALUE | 0 | ntb->ops->spad_count | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/ntb/test/ntb_pingpong.c pp_check_ntb() -> ntb_db_valid_mask()
| 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->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_mask_events() -> ntb_db_valid_mask()
| 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_remove() -> ntb_db_valid_mask()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ntb | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->link_disable | 4096-ptr_max |
| DATA_SOURCE | 0 | ntb | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/ntb/test/ntb_tool.c ntb_db_vector_mask() -> ntb_db_valid_mask()
| 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_vector_mask | 0 |
| DATA_SOURCE | 0 | ntb | $0 |
| TASK_NOT_RUNNING | |||
| LOCK2 | &ntb->ctx_lock | ||
| LOCK2 | irqflags | ||
| TYPE_LOCK | (struct ntb_dev)->ctx_lock |