Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/huawei/hinic/hinic_ethtool.c hinic_get_link_ksettings() -> hinic_get_link_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwdev->hwif | 4096-ptr_max |
| PARAM_VALUE | 0 | hwdev->hwif->attr.func_idx | 0-1023 |
| PARAM_VALUE | 1 | link_mode | 4404192287418556416 |
| PARAM_VALUE | 1 | link_mode->func_id | 0 |
| PARAM_VALUE | 1 | link_mode->rsvd1 | 0 |
| PARAM_VALUE | 1 | link_mode->status | 0 |
| PARAM_VALUE | 1 | link_mode->version | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/huawei/hinic/hinic_ethtool.c hinic_is_speed_legal() -> hinic_get_link_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwdev->hwif | 4096-ptr_max |
| PARAM_VALUE | 0 | hwdev->hwif->attr.func_idx | 0-1023 |
| PARAM_VALUE | 1 | link_mode | 7314055950705299456 |
| PARAM_VALUE | 1 | link_mode->func_id | 0 |
| PARAM_VALUE | 1 | link_mode->rsvd1 | 0 |
| PARAM_VALUE | 1 | link_mode->status | 0 |
| PARAM_VALUE | 1 | link_mode->version | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |