Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/mtd/tests/oobtest.c mtd_oobtest_init() -> memcmpshowoffset()

Type Parameter Key Value
PARAM_VALUE 0 addr 0-17179864885032705
PARAM_VALUE 1 offset 0
PARAM_VALUE 2 cs 16,4096-ptr_max
PARAM_VALUE 3 ct 16,4096-ptr_max
PARAM_VALUE 4 count 0-u32max
BUF_SIZE 2 cs 0-u32max
BUF_SIZE 2 cs 0-u32max
BUF_SIZE 3 ct 0-4000000
BUF_SIZE 3 ct 0-4000000
DATA_SOURCE 2 cs r _kmalloc_noprof
DATA_SOURCE 3 ct r _kmalloc_noprof
UNITS 0 addr unit_byte

drivers/mtd/tests/oobtest.c verify_eraseblock() -> memcmpshowoffset()

Type Parameter Key Value
PARAM_VALUE 0 addr 0-s64max
PARAM_VALUE 1 offset 0
PARAM_VALUE 2 cs 0,16,4096-ptr_max
PARAM_VALUE 3 ct 4096-ptr_max
PARAM_VALUE 3 *ct 0-255
PARAM_VALUE 4 count 0-s32max,18446744071562067968-u64max
CAPPED_DATA 4 count 1
UNITS 3 ct unit_byte
UNITS 4 count unit_byte

drivers/mtd/tests/oobtest.c verify_eraseblock() -> memcmpshowoffset()

Type Parameter Key Value
PARAM_VALUE 0 addr 0-s64max
PARAM_VALUE 1 offset 0-41
PARAM_VALUE 2 cs 0-41,4096-ptr_max
PARAM_VALUE 2 *cs 0-255
PARAM_VALUE 3 ct 4096-ptr_max
PARAM_VALUE 3 *ct 0-255
PARAM_VALUE 4 count 0-s32max,18446744071562067968-u64max
CAPPED_DATA 4 count 1
UNITS 1 offset unit_byte
UNITS 2 cs unit_byte
UNITS 3 ct unit_byte
UNITS 4 count unit_byte

drivers/mtd/tests/oobtest.c verify_eraseblock_in_one_go() -> memcmpshowoffset()

Type Parameter Key Value
PARAM_VALUE 1 offset 0
PARAM_VALUE 2 cs 0-ptr_max
PARAM_VALUE 2 *cs 0-255
PARAM_VALUE 3 ct 0-ptr_max
PARAM_VALUE 3 *ct 0-255
PARAM_VALUE 4 count 0-u32max
UNITS 4 count unit_byte