Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/infiniband/hw/hfi1/verbs.c hfi1_verbs_send_pio() -> sc_buffer_alloc()

Type Parameter Key Value
PARAM_VALUE 1 dw_len 2-81923
PARAM_VALUE 2 cb 0,5384937314172518400
PARAM_VALUE 3 arg 4096-ptr_max
DATA_SOURCE 3 arg $0
BIT_INFO 2 cb 0x0,0x4abb23f4e4ffc000
BIT_INFO 2 cb 0x0,0x4abb23f4e4ffc000
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/infiniband/hw/hfi1/ud.c return_cnp() -> sc_buffer_alloc()

Type Parameter Key Value
PARAM_VALUE 0 sc 1-u64max
PARAM_VALUE 1 dw_len 7,17
PARAM_VALUE 2 cb 0
PARAM_VALUE 3 arg 0
DATA_SOURCE 0 sc r qp_to_send_context
TASK_NOT_RUNNING
HALF_LOCKED2 &pkt->qp->r_lock
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/infiniband/hw/hfi1/ud.c return_cnp_16B() -> sc_buffer_alloc()

Type Parameter Key Value
PARAM_VALUE 0 sc 1-u64max
PARAM_VALUE 1 dw_len 12,22
PARAM_VALUE 2 cb 0
PARAM_VALUE 3 arg 0
DATA_SOURCE 0 sc r qp_to_send_context
TASK_NOT_RUNNING
HALF_LOCKED2 &pkt->qp->r_lock
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/infiniband/hw/hfi1/rc.c hfi1_send_rc_ack() -> sc_buffer_alloc()

Type Parameter Key Value
PARAM_VALUE 1 dw_len 8,10,12,18,20,22
PARAM_VALUE 2 cb 0
PARAM_VALUE 3 arg 0
TASK_NOT_RUNNING
HALF_LOCKED2 &packet->qp->r_lock
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read