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_to_msg()

Type Parameter Key Value
PARAM_VALUE 0 to 4096-ptr_max
PARAM_VALUE 1 from 4096-ptr_max
PARAM_VALUE 3 token 1-255
BUF_SIZE 0 to (-1),56
BUF_SIZE 0 to (-1),56
BUF_SIZE 1 from (-1)-4194576
BUF_SIZE 1 from (-1)-4194576
CAPPED_DATA 0 to->len 1
CAPPED_DATA 2 size 1
DATA_SOURCE 0 to r alloc_msg
DATA_SOURCE 1 from $1
DATA_SOURCE 2 size $2 [m]
DATA_SOURCE 3 token r alloc_token
BIT_INFO 0 to->len 0x0,0x7fffffff
NOSPEC 0 to->len
NOSPEC 2 size
NOSPEC 2 size
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 to->len 17-2097152[c]
USER_DATA 1 *from s64min-s64max
USER_DATA 2 size 17-2097152[c]
NO_OVERFLOW_SIMPLE 0 to->len
UNITS 2 size unit_byte
BYTE_COUNT 1 ==from2 8050
USER_PTR 1 from
HALF_LOCKED2 &dev->cmd.vars.throttle_sem
HALF_LOCKED2 &dev->cmd.vars.unprivileged_sem
HALF_LOCKED2 &dev->mutex