Defined in 1 files as a function:
Referenced in 4 files:
- drivers/infiniband/hw/hfi1/init.c
- drivers/infiniband/hw/hfi1/mad.c
- drivers/infiniband/hw/hfi1/rc.c, line 2712
- drivers/infiniband/hw/hfi1/sysfs.c
Smatch caller information:
drivers/infiniband/hw/hfi1/sysfs.c cc_setting_bin_read() -> get_cc_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | ppd | r hfi1_get_pportdata_kobj |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/infiniband/hw/hfi1/sysfs.c cc_table_bin_read() -> get_cc_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ppd | 4096-ptr_max |
| DATA_SOURCE | 0 | ppd | r hfi1_get_pportdata_kobj |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/infiniband/hw/hfi1/mad.c __subn_get_opa_cc_table() -> get_cc_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ppd | 4096-ptr_max |
| PARAM_VALUE | 0 | ppd->cc_max_table_entries | 1-255 |
| DATA_SOURCE | 0 | ppd | r ppd_from_ibp |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
drivers/infiniband/hw/hfi1/mad.c __subn_get_opa_cong_setting() -> get_cc_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ppd | 4096-ptr_max |
| DATA_SOURCE | 0 | ppd | r ppd_from_ibp |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
drivers/infiniband/hw/hfi1/rc.c process_becn() -> get_cc_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ppd | 4096-ptr_max |
| DATA_SOURCE | 0 | ppd | $0 |
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &packet->qp->r_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
drivers/infiniband/hw/hfi1/init.c cca_timer_fn() -> get_cc_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | irq |
drivers/infiniband/hw/hfi1/init.c set_link_ipg() -> get_cc_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ppd | 4096-ptr_max |
| PARAM_VALUE | 0 | ppd->cc_state->cong_setting.entries | 4096-ptr_max |
| CAPPED_DATA | 0 | ppd->cc_state | 1 |
| DATA_SOURCE | 0 | ppd | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &ppd->cca_timer_lock | |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct hfi1_pportdata)->cca_timer_lock |