Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/mtd/tests/stresstest.c do_write() -> mtdtest_write()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 1 addr s64min-9223372032559808512
PARAM_VALUE 2 size 0-s32max,18446744071562067968-u64max
UNITS 1 addr unit_byte
UNITS 2 size unit_byte

drivers/mtd/tests/nandbiterrs.c write_page() -> mtdtest_write()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 3 buf 0,16,4096-ptr_max
UNITS 2 size unit_byte

drivers/mtd/tests/speedtest.c write_eraseblock() -> mtdtest_write()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 3 buf 0,16,4096-ptr_max
UNITS 2 size unit_byte

drivers/mtd/tests/speedtest.c write_eraseblock_by_2pages() -> mtdtest_write()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 2 size 0-s32max,18446744071562067968-u64max
CAPPED_DATA 2 size 1
CAPPED_DATA 2 size 1
BIT_INFO 2 size 0x0,0x7fffffff
BIT_INFO 2 size 0x0,0x7fffffff

drivers/mtd/tests/speedtest.c write_eraseblock_by_2pages() -> mtdtest_write()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 2 size 0,2-s32max,18446744071562067968-u64max

drivers/mtd/tests/speedtest.c write_eraseblock_by_page() -> mtdtest_write()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 2 size 0,2-s32max,18446744071562067968-u64max
PARAM_VALUE 3 buf 0,16,4096-u64max

drivers/mtd/tests/pagetest.c erasecrosstest() -> mtdtest_write()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 2 size 0-s32max,18446744071562067968-u64max
PARAM_VALUE 3 buf 0,16,4096-ptr_max
STR_LEN 0 mtd 27

drivers/mtd/tests/pagetest.c erasecrosstest() -> mtdtest_write()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 1 addr 0-s64max
PARAM_VALUE 2 size 0-s32max,18446744071562067968-u64max
PARAM_VALUE 3 buf 0,16,4096-ptr_max
CAPPED_DATA 2 size 1
STR_LEN 0 mtd 27

drivers/mtd/tests/pagetest.c erasetest() -> mtdtest_write()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 2 size 0-s32max,18446744071562067968-u64max
PARAM_VALUE 3 buf 0,16,4096-ptr_max

drivers/mtd/tests/pagetest.c write_eraseblock() -> mtdtest_write()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 3 buf 0,16,4096-ptr_max
UNITS 2 size unit_byte