Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/net/ethernet/mellanox/mlxsw/core.c, line 2709
- drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c
Smatch caller information:
drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c mlxsw_sp_sb_occ_max_clear() -> mlxsw_reg_trans_query()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mlxsw_core | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_core->driver->sb_occ_max_clear | 9022238909403557888 |
| PARAM_VALUE | 1 | reg | 882393190769102848 |
| PARAM_VALUE | 2 | payload | 4096-ptr_max |
| PARAM_VALUE | 3 | bulk_list | 7560356406569689088 |
| PARAM_VALUE | 3 | bulk_list->next | 7560356406569689088 |
| PARAM_VALUE | 3 | bulk_list->prev | 4096-ptr_max |
| PARAM_VALUE | 4 | cb | 0 |
| PARAM_VALUE | 5 | cb_priv | 0 |
| BUF_SIZE | 2 | payload | 1052 |
| BUF_SIZE | 2 | payload | 1052 |
| DATA_SOURCE | 0 | mlxsw_core | $0 |
| DATA_SOURCE | 2 | payload | r _kmalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c mlxsw_sp_sb_occ_snapshot() -> mlxsw_reg_trans_query()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mlxsw_core | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_core->driver->sb_occ_snapshot | 7497470605722095616 |
| PARAM_VALUE | 1 | reg | 882393190769102848 |
| PARAM_VALUE | 2 | payload | 4096-ptr_max |
| PARAM_VALUE | 3 | bulk_list | 5955046806685773824 |
| PARAM_VALUE | 3 | bulk_list->next | 5955046806685773824 |
| PARAM_VALUE | 3 | bulk_list->prev | 4096-ptr_max |
| PARAM_VALUE | 5 | cb_priv | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 2 | payload | 1052 |
| BUF_SIZE | 2 | payload | 1052 |
| DATA_SOURCE | 0 | mlxsw_core | $0 |
| DATA_SOURCE | 2 | payload | r _kmalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c mlxsw_sp_sb_pm_occ_clear() -> mlxsw_reg_trans_query()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 2546878359503290368 |
| PARAM_VALUE | 2 | payload | 2423270637684555776 |
| PARAM_VALUE | 3 | bulk_list | 7560356406569689088 |
| PARAM_VALUE | 3 | bulk_list->next | 7560356406569689088 |
| PARAM_VALUE | 3 | bulk_list->prev | 4096-ptr_max |
| PARAM_VALUE | 4 | cb | 0 |
| PARAM_VALUE | 5 | cb_priv | 0 |
| BUF_SIZE | 2 | payload | 40 |
| DATA_SOURCE | 3 | bulk_list | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c mlxsw_sp_sb_pm_occ_query() -> mlxsw_reg_trans_query()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 2546878359503290368 |
| PARAM_VALUE | 2 | payload | 5362173511892230144 |
| PARAM_VALUE | 3 | bulk_list | 5955046806685773824 |
| PARAM_VALUE | 3 | bulk_list->next | 5955046806685773824 |
| PARAM_VALUE | 3 | bulk_list->prev | 4096-ptr_max |
| PARAM_VALUE | 5 | cb_priv | 4096-18446744073709547520 |
| BUF_SIZE | 2 | payload | 40 |
| DATA_SOURCE | 3 | bulk_list | $3 |
| DATA_SOURCE | 5 | cb_priv | r mlxsw_sp_sb_pm_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |