Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hwtracing/stm/core.c stm_char_write() -> stm_write()

Type Parameter Key Value
PARAM_VALUE 0 stm 4096-ptr_max
PARAM_VALUE 0 stm->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 stm->dev.class 0,4096-ptr_max
PARAM_VALUE 0 stm->dev.power.request 0-4
PARAM_VALUE 0 stm->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 stm->dev.power.wakeirq 0,4096-ptr_max
PARAM_VALUE 0 stm->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 stm->dev.type 0,4096-ptr_max
PARAM_VALUE 1 output 4096-ptr_max
PARAM_VALUE 1 output->nr_chans 1-u32max
PARAM_VALUE 2 chan 0
PARAM_VALUE 3 buf 4096-ptr_max
PARAM_VALUE 4 count 0-4095
PARAM_VALUE 5 source 0
BUF_SIZE 3 buf 1-4096
BUF_SIZE 3 buf 1-4096
CAPPED_DATA 4 count 1
CAPPED_DATA 4 count 1
DATA_SOURCE 3 buf r _kmalloc_noprof
DATA_SOURCE 4 count $2 [m]
FUZZY_MAX 4 count 4095
NOSPEC 4 count
NOSPEC 4 count
HARD_MAX 4 count 4095
USER_DATA 3 *buf 0-255
USER_DATA 4 count 0-4095[c]
UNITS 4 count unit_byte
USER_PTR 3 buf

drivers/hwtracing/stm/core.c stm_source_write() -> stm_write()

Type Parameter Key Value
PARAM_VALUE 0 stm 1-u64max
PARAM_VALUE 1 output 4096-ptr_max
PARAM_VALUE 1 output->nr_chans 1-u32max
PARAM_VALUE 2 chan 0
PARAM_VALUE 5 source 4096-ptr_max
PARAM_VALUE 5 source->src 4096-ptr_max
PARAM_VALUE 5 source->src->output.nr_chans 1-u32max
BUF_SIZE 3 buf (-1),1,7,49,85,256,512,2048
BUF_SIZE 3 buf (-1),1,7,49,85,256,512,2048
DATA_SOURCE 2 chan $1
DATA_SOURCE 3 buf $2
DATA_SOURCE 4 count $3
DATA_SOURCE 5 source $0
STR_LEN 0 stm (-1),6
STR_LEN 1 output (-1),6
STR_LEN 3 buf (-1),6
STR_LEN 5 source (-1),6
RX_PATH
TASK_NOT_RUNNING
UNITS 4 count unit_byte
LOCK2 global &stm_source_srcu