Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/ntb/hw/intel/ntb_hw_gen1.c, line 2003
- drivers/ntb/hw/intel/ntb_hw_gen3.c, line 610
- drivers/ntb/hw/intel/ntb_hw_gen4.c, line 584
Smatch caller information:
drivers/ntb/msi.c ntb_link_is_up() -> (struct ntb_dev_ops)->link_is_up()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ntb | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->msi | 1-u64max |
| PARAM_VALUE | 0 | ntb->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->link_is_up | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->mw_set_trans | 0,842518136555724800,3085076618938568704,3660088755932938240,5572014855872364544,6157707328061571072,6317455383581306880,9128674569704988672 |
| PARAM_VALUE | 0 | ntb->ops->peer_port_count | 0,3302194409103257600 |
| PARAM_VALUE | 0 | ntb->ops->port_number | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->spad_read | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ntb->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->pdev->dev.msi.data | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ntb->pdev->dev.msi.data->__iter_idx | 0-s64max |
| PARAM_VALUE | 1 | speed | 0 |
| PARAM_VALUE | 2 | width | 0 |
| DATA_SOURCE | 0 | ntb | $0 |
| DATA_SOURCE | 1 | speed | $1 |
| DATA_SOURCE | 2 | width | $2 |
| CONTAINER | 0 | -32-1632+0 | $(-1) |
| LOCK2 | &_T->lock->msi.data->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/ntb/ntb_transport.c ntb_link_is_up() -> (struct ntb_dev_ops)->link_is_up()
| 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->ops->port_number | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->spad_read | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ntb->pdev->dev.msi.data->__iter_idx | 0-s64max |
| PARAM_VALUE | 1 | speed | 0 |
| PARAM_VALUE | 2 | width | 0 |
| DATA_SOURCE | 0 | ntb | $0 |
| DATA_SOURCE | 1 | speed | $1 |
| DATA_SOURCE | 2 | width | $2 |
| CONTAINER | 0 | -32-1632+0 | $(-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 ntb_link_is_up() -> (struct ntb_dev_ops)->link_is_up()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ntb | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops->msg_clear_sts | 0,5948340505003462656 |
| PARAM_VALUE | 0 | ntb->ops->peer_msg_write | 0,311281681569370112 |
| PARAM_VALUE | 0 | ntb->ops->peer_spad_read | 0,225386872410976256,2916816232129855488,3612029530770116608,4143506622372024320,5847224091939446784 |
| PARAM_VALUE | 0 | ntb->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 1 | speed | 0 |
| PARAM_VALUE | 2 | width | 0 |
| DATA_SOURCE | 0 | ntb | $0 |
| DATA_SOURCE | 1 | speed | $1 |
| DATA_SOURCE | 2 | width | $2 |
| CONTAINER | 0 | -32-1632+0 | $(-1) |
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/ntb/test/ntb_pingpong.c ntb_link_is_up() -> (struct ntb_dev_ops)->link_is_up()
| 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_set_mask | 4096-ptr_max |
| PARAM_VALUE | 1 | speed | 0 |
| PARAM_VALUE | 2 | width | 0 |
| DATA_SOURCE | 0 | ntb | $0 |
| DATA_SOURCE | 1 | speed | $1 |
| DATA_SOURCE | 2 | width | $2 |
| CONTAINER | 0 | -32-1632+0 | $(-1) |
| TASK_NOT_RUNNING | |||
| LOCK2 | &ntb->ctx_lock | ||
| LOCK2 | irqflags | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ntb_dev)->ctx_lock |
drivers/ntb/test/ntb_msi_test.c ntb_link_is_up() -> (struct ntb_dev_ops)->link_is_up()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ntb | 4096-ptr_max |
| PARAM_VALUE | 0 | ntb->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | speed | 0 |
| PARAM_VALUE | 2 | width | 0 |
| DATA_SOURCE | 0 | ntb | $0 |
| DATA_SOURCE | 1 | speed | $1 |
| DATA_SOURCE | 2 | width | $2 |
| CONTAINER | 0 | -32-1632+0 | $(-1) |
| TASK_NOT_RUNNING | |||
| LOCK2 | &ntb->ctx_lock | ||
| LOCK2 | irqflags | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ntb_dev)->ctx_lock |
drivers/ntb/test/ntb_tool.c ntb_link_is_up() -> (struct ntb_dev_ops)->link_is_up()
| 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_is_up | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ntb->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 1 | speed | 0,8665852373068890112 |
| PARAM_VALUE | 2 | width | 0,4703521798794510336 |
| DATA_SOURCE | 0 | ntb | $0 |
| DATA_SOURCE | 1 | speed | $1 |
| DATA_SOURCE | 2 | width | $2 |
| CONTAINER | 0 | -32-1632+0 | $(-1) |
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ntb->ctx_lock | ||
| HALF_LOCKED2 | irqflags |