Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/mtd/mtdchar.c mtdchar_write() -> mtd_write_user_prot_reg()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 2 len 0-4000000
PARAM_VALUE 3 retlen 2800019977808556032
PARAM_VALUE 4 buf 16,4096-ptr_max
BUF_SIZE 4 buf 0-s32max
BUF_SIZE 4 buf 0-s32max
CAPPED_DATA 2 len 1
DATA_SOURCE 4 buf r mtd_kmalloc_up_to
USER_DATA 1 to 1-1000000000[c]
USER_DATA 2 len 2-3999999[c]
USER_DATA 4 *buf 0-255
UNITS 1 to unit_byte
UNITS 2 len unit_byte
USER_PTR 4 buf