Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c qlcnic_sysfs_clear_esw_stats() -> qlcnic_clear_esw_stats()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | func_esw | 2 |
| PARAM_VALUE | 3 | rx_tx | 0 |
| BUF_SIZE | 0 | adapter | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | adapter | s32min-(-2),1-s32max |
| DATA_SOURCE | 2 | port | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | port | 0-1 |
| UNITS | 0 | adapter | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c qlcnic_sysfs_clear_esw_stats() -> qlcnic_clear_esw_stats()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw->op_mode | 0 |
| PARAM_VALUE | 0 | adapter->pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | func_esw | 2 |
| PARAM_VALUE | 3 | rx_tx | 1 |
| BUF_SIZE | 0 | adapter | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | adapter | s32min-(-2),1-s32max |
| DATA_SOURCE | 2 | port | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | port | 0-1 |
| UNITS | 0 | adapter | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c qlcnic_sysfs_clear_port_stats() -> qlcnic_clear_esw_stats()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | func_esw | 1 |
| PARAM_VALUE | 3 | rx_tx | 0 |
| BUF_SIZE | 0 | adapter | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | adapter | s32min-(-2),1-s32max |
| CAPPED_DATA | 2 | port | 1 |
| DATA_SOURCE | 2 | port | $4 |
| PARAM_COMPARE | 0 | adapter->ahw->max_vnic_func | > $2 |
| PARAM_COMPARE | 2 | port | < $0->ahw->max_vnic_func |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | port | 0-255[c] |
| UNITS | 0 | adapter | unit_byte |
| UNITS | 2 | port | unit_array_size |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c qlcnic_sysfs_clear_port_stats() -> qlcnic_clear_esw_stats()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw->op_mode | 0 |
| PARAM_VALUE | 0 | adapter->pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | func_esw | 1 |
| PARAM_VALUE | 3 | rx_tx | 1 |
| BUF_SIZE | 0 | adapter | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | adapter | s32min-(-2),1-s32max |
| CAPPED_DATA | 2 | port | 1 |
| DATA_SOURCE | 2 | port | $4 |
| PARAM_COMPARE | 0 | adapter->ahw->max_vnic_func | > $2 |
| PARAM_COMPARE | 2 | port | < $0->ahw->max_vnic_func |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | port | 0-255[c] |
| UNITS | 0 | adapter | unit_byte |
| UNITS | 2 | port | unit_array_size |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |