Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/ntb/ntb_transport.c ntb_transport_link_work() -> ntb_transport_setup_qp_peer_msi()

Type Parameter Key Value
PARAM_VALUE 0 nt 4096-ptr_max
PARAM_VALUE 0 nt->link_is_up 1
PARAM_VALUE 0 nt->mw_count 0-s32max
PARAM_VALUE 0 nt->ndev 4096-ptr_max
PARAM_VALUE 0 nt->ndev->ops 4096-ptr_max
PARAM_VALUE 0 nt->ndev->ops->peer_spad_write 0,4079965994737197056,4209643071653740544,4854236880108380160,6883140719573549056,8335059707764551680
PARAM_VALUE 0 nt->ndev->ops->spad_read 4096-ptr_max
PARAM_VALUE 0 nt->ndev->pdev->dev.msi.data->__iter_idx 0-s64max
PARAM_VALUE 0 nt->qp_count 1-s32max
PARAM_VALUE 0 nt->qp_vec 4096-ptr_max
PARAM_VALUE 1 qp_num 0-2147483646
CAPPED_DATA 0 nt->mw_count 1
CAPPED_DATA 0 nt->qp_count 1
CAPPED_DATA 1 qp_num 1
PARAM_COMPARE 1 qp_num < $0->qp_count
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 &pool->lock

drivers/ntb/ntb_transport.c ntb_transport_msi_peer_desc_changed() -> ntb_transport_setup_qp_peer_msi()

Type Parameter Key Value
PARAM_VALUE 0 nt 4096-ptr_max
PARAM_VALUE 0 nt->ndev 4096-ptr_max
PARAM_VALUE 0 nt->ndev->ops 4096-ptr_max
PARAM_VALUE 0 nt->ndev->ops->db_read 4096-ptr_max
PARAM_VALUE 0 nt->qp_count 1-u32max
PARAM_VALUE 1 qp_num 0-s32max
BUF_SIZE 0 nt 216,224-30704
BUF_SIZE 0 nt 216,224-30704
CAPPED_DATA 1 qp_num 1
DATA_SOURCE 0 nt $0
PARAM_COMPARE 1 qp_num < $0->qp_count
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &ntb->ctx_lock
LOCK2 irqflags
TYPE_LOCK (struct ntb_dev)->ctx_lock