Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/net/ethernet/mellanox/mlxsw/pci.c mlxsw_cmd_exec_in() -> mlxsw_cmd_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mlxsw_core | 4096-ptr_max |
| PARAM_VALUE | 1 | opcode | 19,22,256,513,4095 |
| PARAM_VALUE | 2 | opcode_mod | 0-1 |
| PARAM_VALUE | 3 | in_mod | 0-s32max |
| PARAM_VALUE | 4 | out_mbox_direct | 0 |
| PARAM_VALUE | 5 | reset_ok | 0 |
| PARAM_VALUE | 6 | in_mbox | 4096-ptr_max |
| PARAM_VALUE | 7 | in_mbox_size | 4096 |
| PARAM_VALUE | 8 | out_mbox | 0 |
| PARAM_VALUE | 9 | out_mbox_size | 0 |
| BUF_SIZE | 6 | in_mbox | 4096 |
| BUF_SIZE | 6 | in_mbox | 4096 |
| CAPPED_DATA | 3 | in_mod | 1 |
| DATA_SOURCE | 0 | mlxsw_core | $0 |
| DATA_SOURCE | 1 | opcode | $1 |
| DATA_SOURCE | 2 | opcode_mod | $2 |
| DATA_SOURCE | 3 | in_mod | $3 |
| DATA_SOURCE | 6 | in_mbox | $4 |
| DATA_SOURCE | 7 | in_mbox_size | $5 |
| HARD_MAX | 1 | opcode | 4095 |
| HARD_MAX | 2 | opcode_mod | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 3 | in_mod | |
| UNITS | 3 | in_mod | unit_array_size |
| HALF_LOCKED2 | &devlink->lock |
drivers/net/ethernet/mellanox/mlxsw/pci.c mlxsw_cmd_exec_none() -> mlxsw_cmd_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | opcode | 20,23,514,4094 |
| PARAM_VALUE | 2 | opcode_mod | 0-1 |
| PARAM_VALUE | 4 | out_mbox_direct | 0 |
| PARAM_VALUE | 5 | reset_ok | 0 |
| PARAM_VALUE | 6 | in_mbox | 0 |
| PARAM_VALUE | 7 | in_mbox_size | 0 |
| PARAM_VALUE | 8 | out_mbox | 0 |
| PARAM_VALUE | 9 | out_mbox_size | 0 |
| DATA_SOURCE | 0 | mlxsw_core | $0 |
| DATA_SOURCE | 1 | opcode | $1 |
| DATA_SOURCE | 2 | opcode_mod | $2 |
| DATA_SOURCE | 3 | in_mod | $3 |
| HARD_MAX | 1 | opcode | 4094 |
| HARD_MAX | 2 | opcode_mod | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 3 | in_mod | |
| UNITS | 3 | in_mod | unit_array_size |
| HALF_LOCKED2 | &devlink->lock |
drivers/net/ethernet/mellanox/mlxsw/pci.c mlxsw_cmd_exec_out() -> mlxsw_cmd_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mlxsw_core | 4096-ptr_max |
| PARAM_VALUE | 1 | opcode | 3-4,6 |
| PARAM_VALUE | 2 | opcode_mod | 0 |
| PARAM_VALUE | 3 | in_mod | 0 |
| PARAM_VALUE | 4 | out_mbox_direct | 0 |
| PARAM_VALUE | 5 | reset_ok | 0 |
| PARAM_VALUE | 6 | in_mbox | 0 |
| PARAM_VALUE | 7 | in_mbox_size | 0 |
| PARAM_VALUE | 8 | out_mbox | 4096-ptr_max |
| PARAM_VALUE | 9 | out_mbox_size | 4096 |
| BUF_SIZE | 0 | mlxsw_core->bus_priv | s32min-(-1),1-s32max |
| BUF_SIZE | 8 | out_mbox | 4096 |
| BUF_SIZE | 8 | out_mbox | 4096 |
| DATA_SOURCE | 0 | mlxsw_core | $0 |
| DATA_SOURCE | 1 | opcode | $1 |
| DATA_SOURCE | 2 | opcode_mod | $2 |
| DATA_SOURCE | 3 | in_mod | $3 |
| DATA_SOURCE | 4 | out_mbox_direct | $4 |
| DATA_SOURCE | 8 | out_mbox | $5 |
| DATA_SOURCE | 9 | out_mbox_size | $6 |
| HARD_MAX | 1 | opcode | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &devlink->lock |
drivers/net/ethernet/mellanox/mlxsw/core.c mlxsw_cmd_access_reg() -> mlxsw_cmd_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mlxsw_core | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_core->driver->fini | 3846187509075423232,9129637400446324736 |
| PARAM_VALUE | 0 | mlxsw_core->driver->port_split | 0,2228089816263217152 |
| PARAM_VALUE | 0 | mlxsw_core->driver->port_unsplit | 0,7687809388709376000 |
| PARAM_VALUE | 0 | mlxsw_core->driver->profile | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_core->driver->profile->max_lag | 0,128 |
| PARAM_VALUE | 0 | mlxsw_core->emad.use_emad | 0 |
| PARAM_VALUE | 0 | mlxsw_core->emad_wq->flags | 0-4294967295 |
| PARAM_VALUE | 0 | mlxsw_core->emad_wq->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | mlxsw_core->emad_wq->nr_drainers | s32min-s32max |
| PARAM_VALUE | 0 | mlxsw_core->emad_wq->work_color | s32min-s32max |
| PARAM_VALUE | 0 | mlxsw_core->emad_wq->wq_dev | 0-s64max |
| PARAM_VALUE | 0 | mlxsw_core->env->max_eeprom_len | 0-255 |
| PARAM_VALUE | 0 | mlxsw_core->env->max_module_count | 0-255 |
| PARAM_VALUE | 0 | mlxsw_core->env->num_of_slots | 0-255 |
| PARAM_VALUE | 0 | mlxsw_core->thermal->polling_delay | s32min-s32max |
| PARAM_VALUE | 0 | mlxsw_core->thermal->tzdev | 0-s64max |
| PARAM_VALUE | 1 | opcode | 64 |
| PARAM_VALUE | 2 | opcode_mod | 0 |
| PARAM_VALUE | 3 | in_mod | 0 |
| PARAM_VALUE | 4 | out_mbox_direct | 0 |
| PARAM_VALUE | 6 | in_mbox | 4096-ptr_max |
| PARAM_VALUE | 7 | in_mbox_size | 4096 |
| PARAM_VALUE | 8 | out_mbox | 4096-ptr_max |
| PARAM_VALUE | 9 | out_mbox_size | 4096 |
| BUF_SIZE | 0 | mlxsw_core | s32min,(-1),4,24,40,64,168-s32max |
| BUF_SIZE | 0 | mlxsw_core | s32min,(-1),4,24,40,64,168-s32max |
| BUF_SIZE | 0 | mlxsw_core->bus_priv | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | mlxsw_core->emad_wq | (-1),512,8712 |
| BUF_SIZE | 0 | mlxsw_core->health.fw_fatal | (-1),120 |
| BUF_SIZE | 6 | in_mbox | 4096 |
| BUF_SIZE | 6 | in_mbox | 4096 |
| BUF_SIZE | 8 | out_mbox | 4096 |
| BUF_SIZE | 8 | out_mbox | 4096 |
| DATA_SOURCE | 0 | mlxsw_core | $0 |
| DATA_SOURCE | 5 | reset_ok | $1 |
| DATA_SOURCE | 6 | in_mbox | $2 |
| DATA_SOURCE | 8 | out_mbox | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | mlxsw_core->emad_wq->rescuer->task->dl.pi_se->dl_runtime | |
| NO_OVERFLOW_SIMPLE | 0 | mlxsw_core->linecards->count | |
| NO_OVERFLOW_SIMPLE | 0 | mlxsw_core->max_ports | |
| HALF_LOCKED2 | 0 | &mlxsw_core->irq_event_handler_lock |
drivers/net/ethernet/mellanox/mlxsw/core.c mlxsw_cmd_exec_out() -> mlxsw_cmd_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mlxsw_core | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_core->bus_priv->cmd.lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | mlxsw_core->bus_priv->cmd.lock->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | mlxsw_core->bus_priv->cmd.lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | mlxsw_core->irq_event_handler_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | opcode | 257 |
| PARAM_VALUE | 2 | opcode_mod | 0 |
| PARAM_VALUE | 3 | in_mod | 0-99 |
| PARAM_VALUE | 4 | out_mbox_direct | 0 |
| PARAM_VALUE | 5 | reset_ok | 0 |
| PARAM_VALUE | 6 | in_mbox | 0 |
| PARAM_VALUE | 7 | in_mbox_size | 0 |
| PARAM_VALUE | 8 | out_mbox | 4096-ptr_max |
| PARAM_VALUE | 9 | out_mbox_size | 4096 |
| BUF_SIZE | 0 | mlxsw_core->bus_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 8 | out_mbox | 4096 |
| BUF_SIZE | 8 | out_mbox | 4096 |
| DATA_SOURCE | 0 | mlxsw_core | $0 |
| DATA_SOURCE | 1 | opcode | $1 |
| DATA_SOURCE | 2 | opcode_mod | $2 |
| DATA_SOURCE | 3 | in_mod | $3 |
| DATA_SOURCE | 4 | out_mbox_direct | $4 |
| DATA_SOURCE | 8 | out_mbox | $5 |
| DATA_SOURCE | 9 | out_mbox_size | $6 |
| MEM_ZERO | 8 | out_mbox | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &devlink->lock |
drivers/net/ethernet/mellanox/mlxsw/i2c.c mlxsw_cmd_exec_out() -> mlxsw_cmd_exec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mlxsw_core | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_core->irq_event_handler_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | opcode | 4 |
| PARAM_VALUE | 2 | opcode_mod | 0 |
| PARAM_VALUE | 3 | in_mod | 0 |
| PARAM_VALUE | 4 | out_mbox_direct | 0 |
| PARAM_VALUE | 5 | reset_ok | 0 |
| PARAM_VALUE | 6 | in_mbox | 0 |
| PARAM_VALUE | 7 | in_mbox_size | 0 |
| PARAM_VALUE | 8 | out_mbox | 4096-ptr_max |
| PARAM_VALUE | 9 | out_mbox_size | 4096 |
| BUF_SIZE | 0 | mlxsw_core->bus_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 8 | out_mbox | 4096 |
| BUF_SIZE | 8 | out_mbox | 4096 |
| DATA_SOURCE | 0 | mlxsw_core | $0 |
| DATA_SOURCE | 1 | opcode | $1 |
| DATA_SOURCE | 2 | opcode_mod | $2 |
| DATA_SOURCE | 3 | in_mod | $3 |
| DATA_SOURCE | 4 | out_mbox_direct | $4 |
| DATA_SOURCE | 8 | out_mbox | $5 |
| DATA_SOURCE | 9 | out_mbox_size | $6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &devlink->lock |