Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

sound/drivers/opl4/opl4_proc.c snd_opl4_mem_proc_read() -> snd_opl4_read_memory()

Type Parameter Key Value
PARAM_VALUE 1 buf 1-u64max
PARAM_VALUE 2 offset 0-1000000000
PARAM_VALUE 3 size 0-2147479552
BUF_SIZE 0 opl4 s32min-(-2),1-s32max
BUF_SIZE 0 opl4 s32min-(-2),1-s32max
BUF_SIZE 1 buf 0-2147479552
BUF_SIZE 1 buf 0-2147479552
CAPPED_DATA 2 offset 1
CAPPED_DATA 3 size 1
DATA_SOURCE 1 buf r vmalloc_noprof
DATA_SOURCE 2 offset $5
DATA_SOURCE 3 size $4
NOCHECK_CALL
USER_DATA 2 offset 0-1000000000[c]
USER_DATA 3 size 1-2147479552[c]
NO_OVERFLOW_SIMPLE 2 offset
NO_OVERFLOW_SIMPLE 3 size
UNITS 0 opl4 unit_byte
BYTE_COUNT 1 ==buf3 8050

sound/drivers/opl4/yrw801.c snd_yrw801_detect() -> snd_opl4_read_memory()

Type Parameter Key Value
PARAM_VALUE 0 opl4 1-u64max
PARAM_VALUE 1 buf 3015172396901572608
PARAM_VALUE 2 offset 4608
PARAM_VALUE 3 size 15
BUF_SIZE 1 buf 15
DATA_SOURCE 0 opl4 $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

sound/drivers/opl4/yrw801.c snd_yrw801_detect() -> snd_opl4_read_memory()

Type Parameter Key Value
PARAM_VALUE 0 opl4 4096-ptr_max
PARAM_VALUE 1 buf 3015172396901572608
PARAM_VALUE 2 offset 2097150
PARAM_VALUE 3 size 2
BUF_SIZE 1 buf 15
DATA_SOURCE 0 opl4 $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL