Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/mtd/tests/torturetest.c report_corrupt() -> countdiffs()

Type Parameter Key Value
PARAM_VALUE 0 buf 16,4096-ptr_max
PARAM_VALUE 1 check_buf 0,16,4096-ptr_max
PARAM_VALUE 2 offset 0,2-4294967294
PARAM_VALUE 3 len 0,2-u32max
PARAM_VALUE 4 bytesp 1966318024689954816
PARAM_VALUE 5 bitsp 2265672349831221248
BUF_SIZE 0 buf 0-s32max
BUF_SIZE 0 buf 0-s32max
CAPPED_DATA 2 offset 1
DATA_SOURCE 0 buf $1
DATA_SOURCE 1 check_buf $0
UNITS 2 offset unit_byte

drivers/mtd/tests/torturetest.c report_corrupt() -> countdiffs()

Type Parameter Key Value
PARAM_VALUE 0 buf 16,4096-ptr_max
PARAM_VALUE 1 check_buf 0,16,4096-ptr_max
PARAM_VALUE 2 offset 0,2-4294967294
PARAM_VALUE 3 len 0,2-u32max
PARAM_VALUE 4 bytesp 1966318024689954816
PARAM_VALUE 4 *bytesp 0
PARAM_VALUE 5 bitsp 2265672349831221248
PARAM_VALUE 5 *bitsp 0
BUF_SIZE 0 buf 0-s32max
BUF_SIZE 0 buf 0-s32max
CAPPED_DATA 2 offset 1
DATA_SOURCE 0 buf $1
DATA_SOURCE 1 check_buf $0
UNITS 2 offset unit_byte