Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/mellanox/mlx5/core/cmd.c cmd_exec() -> mlx5_copy_from_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | from | 4096-ptr_max |
| PARAM_VALUE | 1 | from->next | 0,4096-ptr_max |
| PARAM_VALUE | 1 | from->next->buf | 4096-ptr_max |
| PARAM_VALUE | 1 | from->next->next | 0,4096-ptr_max |
| BUF_SIZE | 0 | to | (-1)-2097152 |
| BUF_SIZE | 0 | to | (-1)-2097152 |
| BUF_SIZE | 1 | from | 56 |
| DATA_SOURCE | 0 | to | $3 |
| DATA_SOURCE | 1 | from | r mlx5_alloc_cmd_msg |
| DATA_SOURCE | 2 | size | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | from->len | 17-2097152[c] |
| USER_DATA | 2 | size | 17-2097152[c][u] |
| UNITS | 2 | size | unit_byte |
| BYTE_COUNT | 0 | ==to2 | 8050 |
| USER_PTR | 0 | to | |
| HALF_LOCKED2 | &dev->cmd.vars.throttle_sem | ||
| HALF_LOCKED2 | &dev->cmd.vars.unprivileged_sem | ||
| HALF_LOCKED2 | &dev->mutex |
drivers/net/ethernet/mellanox/mlx5/core/cmd.c mlx5_cmd_comp_handler() -> mlx5_copy_from_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | from | 4096-ptr_max |
| BUF_SIZE | 0 | to | 1-2097152 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | size | unit_byte |