Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/net/ethernet/huawei/hinic/hinic_ethtool.c, line 869
- drivers/net/ethernet/huawei/hinic/hinic_main.c, line 953
Smatch caller information:
drivers/net/ethernet/huawei/hinic/hinic_main.c hinic_refresh_nic_cfg() -> hinic_set_hw_pause_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwdev->func_to_io.nic_cfg.cfg_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hwdev->func_to_io.nic_cfg.cfg_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hwdev->func_to_io.nic_cfg.cfg_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hwdev->func_to_io.nic_cfg.cfg_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hwdev->func_to_io.nic_cfg.cfg_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | hwdev->func_to_io.nic_cfg.cfg_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | hwdev->hwif | 4096-ptr_max |
| PARAM_VALUE | 1 | pause_info | 758040808052109312 |
| PARAM_VALUE | 1 | pause_info->auto_neg | 0 |
| PARAM_VALUE | 1 | pause_info->func_id | 0 |
| PARAM_VALUE | 1 | pause_info->rsvd1 | 0 |
| PARAM_VALUE | 1 | pause_info->status | 0 |
| PARAM_VALUE | 1 | pause_info->version | 0 |
| NOCHECK_CALL | |||
| LOCK2 | &nic_cfg->cfg_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hinic_nic_cfg)->cfg_mutex |
drivers/net/ethernet/huawei/hinic/hinic_ethtool.c hinic_set_pauseparam() -> hinic_set_hw_pause_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwdev->func_to_io.nic_cfg.cfg_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hwdev->func_to_io.nic_cfg.cfg_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hwdev->func_to_io.nic_cfg.cfg_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hwdev->func_to_io.nic_cfg.cfg_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hwdev->func_to_io.nic_cfg.cfg_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | hwdev->func_to_io.nic_cfg.cfg_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | hwdev->hwif | 4096-ptr_max |
| PARAM_VALUE | 1 | pause_info | 2962205290664030208 |
| PARAM_VALUE | 1 | pause_info->auto_neg | 0 |
| PARAM_VALUE | 1 | pause_info->func_id | 0 |
| PARAM_VALUE | 1 | pause_info->rsvd1 | 0 |
| PARAM_VALUE | 1 | pause_info->status | 0 |
| PARAM_VALUE | 1 | pause_info->version | 0 |
| CAPPED_DATA | 0 | &hwdev->func_to_io.nic_cfg.cfg_mutex | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | pause_info->rx_pause | 0-u32max |
| USER_DATA | 1 | pause_info->tx_pause | 0-u32max |
| LOCK2 | 0 | &hwdev->func_to_io.nic_cfg.cfg_mutex | |
| TYPE_LOCK | (struct hinic_nic_cfg)->cfg_mutex |