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/pio.c set_threshold() -> sc_set_cr_threshold()

Type Parameter Key Value
PARAM_VALUE 0 sc 4096-ptr_max
PARAM_VALUE 1 new_threshold 0-s32max
CAPPED_DATA 1 new_threshold 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/infiniband/hw/hfi1/chip.c set_send_length() -> sc_set_cr_threshold()

Type Parameter Key Value
CAPPED_DATA 1 new_threshold 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &ppd->hls_lock
TYPE_LOCK (struct hfi1_pportdata)->hls_lock

drivers/infiniband/hw/hfi1/chip.c set_send_length() -> sc_set_cr_threshold()

Type Parameter Key Value
CAPPED_DATA 1 new_threshold 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &ppd->hls_lock
TYPE_LOCK (struct hfi1_pportdata)->hls_lock