Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/infiniband/hw/mlx5/devx.c
- drivers/net/ethernet/mellanox/mlx5/core/cmd.c, line 2268
- drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c
- drivers/vdpa/mlx5/core/resources.c, line 350
- drivers/vfio/pci/mlx5/cmd.c, line 827
Smatch caller information:
drivers/vfio/pci/mlx5/cmd.c mlx5vf_cmd_save_vhca_state() -> mlx5_cmd_exec_cb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | in | 4096-ptr_max |
| PARAM_VALUE | 2 | in_size | 32 |
| PARAM_VALUE | 3 | out | 16,4096-ptr_max |
| PARAM_VALUE | 4 | out_size | 16 |
| PARAM_VALUE | 6 | work | 4096-ptr_max |
| BUF_SIZE | 1 | in | 32 |
| BUF_SIZE | 3 | out | 16 |
| BUF_SIZE | 3 | out | 16 |
| DATA_SOURCE | 3 | out | r __kvmalloc_node_noprof |
| UNITS | 2 | in_size | unit_byte |
| UNITS | 4 | out_size | unit_byte |
| LOCK2 | &mvdev->state_mutex | ||
| TYPE_LOCK | (struct mlx5vf_pci_core_device)->state_mutex |
drivers/vdpa/mlx5/core/resources.c issue_async_cmd() -> mlx5_cmd_exec_cb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 6 | work | 4096-ptr_max |
| BUF_SIZE | 1 | in | 16,208,272 |
| BUF_SIZE | 3 | out | 16,208 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | in_size | unit_byte |
| UNITS | 4 | out_size | unit_byte |
| HALF_LOCKED2 | &mvdev->mres.lock |
drivers/infiniband/hw/mlx5/devx.c devx_async_destroy() -> mlx5_cmd_exec_cb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 3 | out | 4096-ptr_max |
| PARAM_VALUE | 4 | out_size | 16 |
| PARAM_VALUE | 6 | work | 4096-ptr_max |
| BUF_SIZE | 1 | in | 64 |
| BUF_SIZE | 3 | out | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | out_size | unit_byte |
| LOCK2 | &ufile->hw_destroy_rwsem | ||
| TYPE_LOCK | (struct ib_uverbs_file)->hw_destroy_rwsem |
drivers/infiniband/hw/mlx5/devx.c mlx5_ib_handler_MLX5_IB_METHOD_DEVX_OBJ_ASYNC_QUERY() -> mlx5_cmd_exec_cb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | in | 4096-ptr_max |
| PARAM_VALUE | 2 | in_size | (-2),0-u16max |
| PARAM_VALUE | 6 | work | 4096-ptr_max |
| BUF_SIZE | 1 | in | (-1),8 |
| BUF_SIZE | 1 | in | (-1),8 |
| DATA_SOURCE | 1 | in | r uverbs_attr_get_alloced_ptr |
| NO_OVERFLOW_SIMPLE | 4 | out_size | |
| UNITS | 4 | out_size | unit_byte |
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c mlx5e_ktls_create_tis_cb() -> mlx5_cmd_exec_cb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | in | 4096-ptr_max |
| PARAM_VALUE | 2 | in_size | 192 |
| PARAM_VALUE | 4 | out_size | 16 |
| PARAM_VALUE | 6 | work | 4096-ptr_max |
| BUF_SIZE | 1 | in | 192 |
| BUF_SIZE | 3 | out | 16 |
| DATA_SOURCE | 0 | ctx | $1 |
| DATA_SOURCE | 3 | out | $2 |
| DATA_SOURCE | 4 | out_size | $3 |
| DATA_SOURCE | 5 | callback | $4 |
| DATA_SOURCE | 6 | work | $5 |
| RX_PATH | |||
| UNITS | 2 | in_size | unit_byte |
| UNITS | 4 | out_size | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c mlx5e_ktls_destroy_tis_cb() -> mlx5_cmd_exec_cb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | in | 4096-ptr_max |
| PARAM_VALUE | 2 | in_size | 16 |
| PARAM_VALUE | 4 | out_size | 16 |
| PARAM_VALUE | 6 | work | 4096-ptr_max |
| BUF_SIZE | 1 | in | 16 |
| BUF_SIZE | 3 | out | 16 |
| DATA_SOURCE | 0 | ctx | $2 |
| DATA_SOURCE | 3 | out | $3 |
| DATA_SOURCE | 4 | out_size | $4 |
| DATA_SOURCE | 5 | callback | $5 |
| DATA_SOURCE | 6 | work | $6 |
| TASK_NOT_RUNNING | |||
| UNITS | 2 | in_size | unit_byte |
| UNITS | 4 | out_size | unit_byte |