Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/mtd/tests/mtd_test.c, line 80
- drivers/mtd/tests/oobtest.c
- drivers/mtd/tests/pagetest.c, line 381
- drivers/mtd/tests/speedtest.c
- drivers/mtd/tests/subpagetest.c
- drivers/mtd/tests/torturetest.c, line 254
Smatch caller information:
drivers/mtd/tests/subpagetest.c mtd_subpagetest_init() -> mtdtest_erase_good_eraseblocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 1 | bbt | 16,4096-ptr_max |
| PARAM_VALUE | 2 | eb | 0 |
| PARAM_VALUE | 3 | ebcnt | 0-4000000 |
| BUF_SIZE | 1 | bbt | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 1 | bbt | 0-s32max,18446744071562067968-u64max |
| DATA_SOURCE | 0 | mtd | r get_mtd_device |
| DATA_SOURCE | 1 | bbt | r _kzalloc_noprof |
| UNITS | 3 | ebcnt | unit_byte |
drivers/mtd/tests/subpagetest.c mtd_subpagetest_init() -> mtdtest_erase_good_eraseblocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 1 | bbt | 16,4096-ptr_max |
| PARAM_VALUE | 2 | eb | 0 |
| PARAM_VALUE | 3 | ebcnt | 0-4000000 |
| BUF_SIZE | 1 | bbt | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 1 | bbt | 0-s32max,18446744071562067968-u64max |
| CAPPED_DATA | 3 | ebcnt | 1 |
| DATA_SOURCE | 0 | mtd | r get_mtd_device |
| DATA_SOURCE | 1 | bbt | r _kzalloc_noprof |
| UNITS | 3 | ebcnt | unit_byte |
drivers/mtd/tests/subpagetest.c mtd_subpagetest_init() -> mtdtest_erase_good_eraseblocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 1 | bbt | 16,4096-ptr_max |
| PARAM_VALUE | 2 | eb | 0 |
| PARAM_VALUE | 3 | ebcnt | 0-4000000 |
| BUF_SIZE | 1 | bbt | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 1 | bbt | 0-s32max,18446744071562067968-u64max |
| CAPPED_DATA | 3 | ebcnt | 1 |
| DATA_SOURCE | 0 | mtd | r get_mtd_device |
| DATA_SOURCE | 1 | bbt | r _kzalloc_noprof |
| UNITS | 3 | ebcnt | unit_byte |
drivers/mtd/tests/torturetest.c tort_init() -> mtdtest_erase_good_eraseblocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 1 | bbt | 16,4096-ptr_max |
| PARAM_VALUE | 3 | ebcnt | 0-4000000 |
| BUF_SIZE | 1 | bbt | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 1 | bbt | 0-s32max,18446744071562067968-u64max |
| DATA_SOURCE | 0 | mtd | r get_mtd_device |
| DATA_SOURCE | 1 | bbt | r _kzalloc_noprof |
drivers/mtd/tests/speedtest.c mtd_speedtest_init() -> mtdtest_erase_good_eraseblocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 1 | bbt | 16,4096-ptr_max |
| PARAM_VALUE | 2 | eb | 0 |
| PARAM_VALUE | 3 | ebcnt | 0-4000000 |
| BUF_SIZE | 1 | bbt | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 1 | bbt | 0-s32max,18446744071562067968-u64max |
| CAPPED_DATA | 3 | ebcnt | 1 |
| DATA_SOURCE | 0 | mtd | r get_mtd_device |
| DATA_SOURCE | 1 | bbt | r _kzalloc_noprof |
| UNITS | 3 | ebcnt | unit_byte |
drivers/mtd/tests/speedtest.c mtd_speedtest_init() -> mtdtest_erase_good_eraseblocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 1 | bbt | 16,4096-ptr_max |
| PARAM_VALUE | 2 | eb | 0 |
| PARAM_VALUE | 3 | ebcnt | 0-4000000 |
| BUF_SIZE | 1 | bbt | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 1 | bbt | 0-s32max,18446744071562067968-u64max |
| CAPPED_DATA | 3 | ebcnt | 1 |
| DATA_SOURCE | 0 | mtd | r get_mtd_device |
| DATA_SOURCE | 1 | bbt | r _kzalloc_noprof |
| UNITS | 3 | ebcnt | unit_byte |
drivers/mtd/tests/speedtest.c mtd_speedtest_init() -> mtdtest_erase_good_eraseblocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 1 | bbt | 16,4096-ptr_max |
| PARAM_VALUE | 2 | eb | 0 |
| PARAM_VALUE | 3 | ebcnt | 0-4000000 |
| BUF_SIZE | 1 | bbt | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 1 | bbt | 0-s32max,18446744071562067968-u64max |
| CAPPED_DATA | 3 | ebcnt | 1 |
| DATA_SOURCE | 0 | mtd | r get_mtd_device |
| DATA_SOURCE | 1 | bbt | r _kzalloc_noprof |
| UNITS | 3 | ebcnt | unit_byte |
drivers/mtd/tests/speedtest.c mtd_speedtest_init() -> mtdtest_erase_good_eraseblocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 1 | bbt | 16,4096-ptr_max |
| PARAM_VALUE | 2 | eb | 0 |
| PARAM_VALUE | 3 | ebcnt | 0-4000000 |
| BUF_SIZE | 1 | bbt | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 1 | bbt | 0-s32max,18446744071562067968-u64max |
| CAPPED_DATA | 3 | ebcnt | 1 |
| DATA_SOURCE | 0 | mtd | r get_mtd_device |
| DATA_SOURCE | 1 | bbt | r _kzalloc_noprof |
| UNITS | 3 | ebcnt | unit_byte |
drivers/mtd/tests/pagetest.c mtd_pagetest_init() -> mtdtest_erase_good_eraseblocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 1 | bbt | 16,4096-ptr_max |
| PARAM_VALUE | 2 | eb | 0 |
| PARAM_VALUE | 3 | ebcnt | 0-4000000 |
| BUF_SIZE | 1 | bbt | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 1 | bbt | 0-s32max,18446744071562067968-u64max |
| DATA_SOURCE | 0 | mtd | r get_mtd_device |
| DATA_SOURCE | 1 | bbt | r _kzalloc_noprof |
| UNITS | 3 | ebcnt | unit_byte |
drivers/mtd/tests/oobtest.c mtd_oobtest_init() -> mtdtest_erase_good_eraseblocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 1 | bbt | 16,4096-ptr_max |
| PARAM_VALUE | 2 | eb | 0 |
| PARAM_VALUE | 3 | ebcnt | 0-4000000 |
| BUF_SIZE | 1 | bbt | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 1 | bbt | 0-s32max,18446744071562067968-u64max |
| DATA_SOURCE | 0 | mtd | r get_mtd_device |
| DATA_SOURCE | 1 | bbt | r _kzalloc_noprof |
| UNITS | 3 | ebcnt | unit_byte |
drivers/mtd/tests/oobtest.c mtd_oobtest_init() -> mtdtest_erase_good_eraseblocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 1 | bbt | 16,4096-ptr_max |
| PARAM_VALUE | 2 | eb | 0 |
| PARAM_VALUE | 3 | ebcnt | 0-4000000 |
| BUF_SIZE | 1 | bbt | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 1 | bbt | 0-s32max,18446744071562067968-u64max |
| DATA_SOURCE | 0 | mtd | r get_mtd_device |
| DATA_SOURCE | 1 | bbt | r _kzalloc_noprof |
| UNITS | 3 | ebcnt | unit_byte |
drivers/mtd/tests/oobtest.c mtd_oobtest_init() -> mtdtest_erase_good_eraseblocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 1 | bbt | 16,4096-ptr_max |
| PARAM_VALUE | 2 | eb | 0 |
| PARAM_VALUE | 3 | ebcnt | 0-4000000 |
| BUF_SIZE | 1 | bbt | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 1 | bbt | 0-s32max,18446744071562067968-u64max |
| CAPPED_DATA | 3 | ebcnt | 1 |
| DATA_SOURCE | 0 | mtd | r get_mtd_device |
| DATA_SOURCE | 1 | bbt | r _kzalloc_noprof |
| UNITS | 3 | ebcnt | unit_byte |
drivers/mtd/tests/oobtest.c mtd_oobtest_init() -> mtdtest_erase_good_eraseblocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 1 | bbt | 16,4096-ptr_max |
| PARAM_VALUE | 2 | eb | 0 |
| PARAM_VALUE | 3 | ebcnt | 0-4000000 |
| BUF_SIZE | 1 | bbt | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 1 | bbt | 0-s32max,18446744071562067968-u64max |
| CAPPED_DATA | 3 | ebcnt | 1 |
| DATA_SOURCE | 0 | mtd | r get_mtd_device |
| DATA_SOURCE | 1 | bbt | r _kzalloc_noprof |
| UNITS | 3 | ebcnt | unit_byte |
drivers/mtd/tests/oobtest.c mtd_oobtest_init() -> mtdtest_erase_good_eraseblocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 1 | bbt | 4096-ptr_max |
| PARAM_VALUE | 2 | eb | 0 |
| PARAM_VALUE | 3 | ebcnt | 0-4000000 |
| BUF_SIZE | 1 | bbt | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 1 | bbt | 0-s32max,18446744071562067968-u64max |
| CAPPED_DATA | 3 | ebcnt | 1 |
| DATA_SOURCE | 0 | mtd | r get_mtd_device |
| DATA_SOURCE | 1 | bbt | r _kzalloc_noprof |
| UNITS | 3 | ebcnt | unit_byte |