Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/infiniband/hw/hfi1/user_sdma.c hfi1_user_sdma_process_request() -> egress_pkey_check()

Type Parameter Key Value
PARAM_VALUE 0 ppd 4096-ptr_max
PARAM_VALUE 1 slid 0-u16max
PARAM_VALUE 3 sc5 0-31
PARAM_VALUE 4 s_pkey_index (-1)
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 slid 0-u16max
USER_DATA 2 pkey 0-u16max
USER_DATA 3 sc5 0-31[c]
LOCK2 &fd->pq_srcu
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct hfi1_filedata)->pq_srcu

drivers/infiniband/hw/hfi1/verbs.c hfi1_verbs_send() -> egress_pkey_check()

Type Parameter Key Value
PARAM_VALUE 1 slid 0-16777215
TASK_NOT_RUNNING
UNITS 4 s_pkey_index unit_array_size
HALF_LOCKED2 &pool->lock