Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/infiniband/hw/hfi1/mad.c apply_cc_state() -> get_cc_state_protected()

Type Parameter Key Value
PARAM_VALUE 0 ppd 4096-ptr_max
PARAM_VALUE 0 ppd->cc_state_lock.rlock.dep_map->name 0-255
DATA_SOURCE 0 ppd $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &ppd->cc_state_lock
TYPE_LOCK (struct hfi1_pportdata)->cc_state_lock

drivers/infiniband/hw/hfi1/init.c cleanup_device_data() -> get_cc_state_protected()

Type Parameter Key Value
PARAM_VALUE 0 ppd 4096-ptr_max
PARAM_VALUE 0 ppd->cc_state_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ppd->cca_timer 4096-ptr_max
PARAM_VALUE 0 ppd->statusp 0,4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &ppd->cc_state_lock
TYPE_LOCK (struct hfi1_pportdata)->cc_state_lock