Documented in 1 files:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/ntb/ntb_transport.c
- drivers/ntb/test/ntb_msi_test.c, line 125
- drivers/ntb/test/ntb_perf.c, line 253
- drivers/ntb/test/ntb_pingpong.c, line 121
- drivers/ntb/test/ntb_tool.c
- include/linux/ntb.h, line 832
Smatch caller information:
drivers/ntb/msi.c ntb_mw_get_align() -> ntb_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 |
| LOCK2 | &_T->lock->msi.data->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/ntb/ntb_transport.c ntb_mw_get_align() -> ntb_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->spad_read | 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 |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/ntb/ntb_transport.c ntb_transport_event_callback() -> ntb_link_is_up()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | speed | 0 |
| PARAM_VALUE | 2 | width | 0 |
| TASK_NOT_RUNNING | |||
| LOCK2 | &ntb->ctx_lock | ||
| LOCK2 | irqflags | ||
| HALF_LOCKED2 | &dev->mutex | ||
| TYPE_LOCK | (struct ntb_dev)->ctx_lock |
drivers/ntb/ntb_transport.c ntb_transport_link_work() -> ntb_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 |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/ntb/test/ntb_perf.c ntb_mw_get_align() -> ntb_link_is_up()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | speed | 0 |
| PARAM_VALUE | 2 | width | 0 |
| DATA_SOURCE | 0 | ntb | $0 |
| HALF_LOCKED2 | &pool->lock |
drivers/ntb/test/ntb_perf.c perf_link_is_up() -> ntb_link_is_up()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ntb->ctx_lock | ||
| HALF_LOCKED2 | irqflags |
drivers/ntb/test/ntb_pingpong.c pp_find_next_peer() -> ntb_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 |
| 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_msit_link_event() -> ntb_link_is_up()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | speed | 0 |
| PARAM_VALUE | 2 | width | 0 |
| TASK_NOT_RUNNING | |||
| LOCK2 | &ntb->ctx_lock | ||
| LOCK2 | irqflags | ||
| HALF_LOCKED2 | &dev->mutex | ||
| TYPE_LOCK | (struct ntb_dev)->ctx_lock |
drivers/ntb/test/ntb_tool.c ntb_mw_get_align() -> ntb_link_is_up()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
drivers/ntb/test/ntb_tool.c tool_link_event() -> ntb_link_is_up()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | speed | 8665852373068890112 |
| PARAM_VALUE | 2 | width | 4703521798794510336 |
| TASK_NOT_RUNNING | |||
| LOCK2 | &ntb->ctx_lock | ||
| LOCK2 | irqflags | ||
| HALF_LOCKED2 | &dev->mutex | ||
| TYPE_LOCK | (struct ntb_dev)->ctx_lock |
drivers/ntb/test/ntb_tool.c tool_peer_link_event_write() -> ntb_link_is_up()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | speed | 0 |
| PARAM_VALUE | 2 | width | 0 |
drivers/ntb/test/ntb_tool.c tool_peer_link_event_write() -> ntb_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 | 4096-ptr_max |
| PARAM_VALUE | 1 | speed | 0 |
| PARAM_VALUE | 2 | width | 0 |
| TASK_NOT_RUNNING |
drivers/ntb/test/ntb_tool.c tool_peer_link_event_write() -> ntb_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 | 4096-ptr_max |
| PARAM_VALUE | 1 | speed | 0 |
| PARAM_VALUE | 2 | width | 0 |
| TASK_NOT_RUNNING |
drivers/ntb/test/ntb_tool.c tool_peer_link_read() -> ntb_link_is_up()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | speed | 0 |
| PARAM_VALUE | 2 | width | 0 |