Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/mtd/nftlcore.c NFTL_findwriteunit() -> nftl_read_oob()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | len | 8 |
| PARAM_VALUE | 3 | retlen | 1456733759498743808 |
| PARAM_VALUE | 4 | buf | 5324241848257802240 |
| BUF_SIZE | 4 | buf | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &mbd->lock | ||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct mtd_blktrans_dev)->lock |
drivers/mtd/nftlcore.c NFTL_findwriteunit() -> nftl_read_oob()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | offs | 0-4294967295 |
| PARAM_VALUE | 2 | len | 8 |
| PARAM_VALUE | 3 | retlen | 1456733759498743808 |
| PARAM_VALUE | 4 | buf | 3075301443861983240 |
| BUF_SIZE | 4 | buf | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &mbd->lock | ||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct mtd_blktrans_dev)->lock |
drivers/mtd/nftlcore.c NFTL_findwriteunit() -> nftl_read_oob()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 1 | offs | 0-4294967295 |
| PARAM_VALUE | 2 | len | 8 |
| PARAM_VALUE | 3 | retlen | 1456733759498743808 |
| PARAM_VALUE | 4 | buf | 3075301443861983240 |
| BUF_SIZE | 4 | buf | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &mbd->lock | ||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct mtd_blktrans_dev)->lock |
drivers/mtd/nftlcore.c NFTL_foldchain() -> nftl_read_oob()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | offs | 0-4294967295 |
| PARAM_VALUE | 2 | len | 16 |
| PARAM_VALUE | 3 | retlen | 4413818412275949568 |
| PARAM_VALUE | 4 | buf | 7083049421680574464 |
| BUF_SIZE | 4 | buf | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &mbd->lock | ||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct mtd_blktrans_dev)->lock |
drivers/mtd/nftlcore.c nftl_readblock() -> nftl_read_oob()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | len | 8 |
| PARAM_VALUE | 3 | retlen | 7638462191736799232 |
| PARAM_VALUE | 4 | buf | 5819321570788626432 |
| BUF_SIZE | 4 | buf | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mbd->lock | ||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct mtd_blktrans_dev)->lock |
drivers/mtd/nftlmount.c NFTL_formatblock() -> nftl_read_oob()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | offs | 0-4294967295 |
| PARAM_VALUE | 2 | len | 8 |
| PARAM_VALUE | 3 | retlen | 7353390878133272576 |
| PARAM_VALUE | 4 | buf | 8162474367002431488 |
| BUF_SIZE | 0 | mtd | (-1),2448,2984 |
| BUF_SIZE | 0 | mtd | (-1),2448,2984 |
| BUF_SIZE | 4 | buf | 8 |
| STR_LEN | 0 | mtd->dev.driver_data | (-1) |
| STR_LEN | 0 | mtd->name | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | mtd->erasesize | |
| HALF_LOCKED2 | &mbd->lock | ||
| HALF_LOCKED2 | global &mtd_table_mutex |
drivers/mtd/nftlmount.c NFTL_mount() -> nftl_read_oob()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 1 | offs | 0-4294967295 |
| PARAM_VALUE | 2 | len | 8 |
| PARAM_VALUE | 3 | retlen | 8684296984182194176 |
| PARAM_VALUE | 4 | buf | 33099883688202240 |
| BUF_SIZE | 0 | mtd | (-1),2448,2984 |
| BUF_SIZE | 0 | mtd | (-1),2448,2984 |
| BUF_SIZE | 4 | buf | 8 |
| CAPPED_DATA | 0 | mtd | 1 |
| STR_LEN | 0 | mtd | (-1),18 |
| STR_LEN | 0 | mtd | (-1),18 |
| STR_LEN | 0 | mtd->dev.driver_data | (-1) |
| STR_LEN | 0 | mtd->name | (-1) |
| STR_LEN | 0 | mtd->parent | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | mtd->erasesize | |
| LOCK2 | global &mtd_table_mutex |
drivers/mtd/nftlmount.c NFTL_mount() -> nftl_read_oob()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 1 | offs | 0-4294967295 |
| PARAM_VALUE | 2 | len | 8 |
| PARAM_VALUE | 3 | retlen | 8684296984182194176 |
| PARAM_VALUE | 4 | buf | 1397798591242547200 |
| BUF_SIZE | 0 | mtd | (-1),2448,2984 |
| BUF_SIZE | 0 | mtd | (-1),2448,2984 |
| BUF_SIZE | 4 | buf | 8 |
| CAPPED_DATA | 0 | mtd | 1 |
| STR_LEN | 0 | mtd | (-1),18 |
| STR_LEN | 0 | mtd | (-1),18 |
| STR_LEN | 0 | mtd->dev.driver_data | (-1) |
| STR_LEN | 0 | mtd->name | (-1) |
| STR_LEN | 0 | mtd->parent | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | mtd->erasesize | |
| LOCK2 | global &mtd_table_mutex |
drivers/mtd/nftlmount.c check_and_mark_free_block() -> nftl_read_oob()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 1 | offs | 0-4294967295 |
| PARAM_VALUE | 2 | len | 8 |
| PARAM_VALUE | 3 | retlen | 8687555601445019648 |
| PARAM_VALUE | 4 | buf | 8514326127394230272 |
| BUF_SIZE | 4 | buf | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | mtd->erasesize | |
| LOCK2 | global &mtd_table_mutex |
drivers/mtd/nftlmount.c check_free_sectors() -> nftl_read_oob()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 3 | retlen | 4415800022805553152 |
| PARAM_VALUE | 4 | buf | 4096-ptr_max |
| BUF_SIZE | 0 | mtd | (-1),2448,2984 |
| BUF_SIZE | 0 | mtd | (-1),2448,2984 |
| CAPPED_DATA | 0 | mtd | 1 |
| DATA_SOURCE | 1 | offs | $1 [m] |
| STR_LEN | 0 | mtd->dev.driver_data | (-1) |
| STR_LEN | 0 | mtd->name | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | mtd->erasesize | |
| UNITS | 1 | offs | unit_byte |
| UNITS | 2 | len | unit_byte |
| HALF_LOCKED2 | global &mtd_table_mutex |
drivers/mtd/nftlmount.c check_sectors_in_chain() -> nftl_read_oob()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 1 | offs | 0-4294967295 |
| PARAM_VALUE | 2 | len | 8 |
| PARAM_VALUE | 3 | retlen | 121569961536212992 |
| PARAM_VALUE | 4 | buf | 5374793511726010368 |
| BUF_SIZE | 4 | buf | 8 |
| CAPPED_DATA | 0 | mtd | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | mtd->erasesize | |
| LOCK2 | global &mtd_table_mutex |
drivers/mtd/nftlmount.c find_boot_record() -> nftl_read_oob()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 1 | offs | 0-4294967295 |
| PARAM_VALUE | 2 | len | 8 |
| PARAM_VALUE | 3 | retlen | 4915533084532068352 |
| PARAM_VALUE | 3 | *retlen | 512 |
| PARAM_VALUE | 4 | buf | 3015367842643337216 |
| BUF_SIZE | 4 | buf | 8 |
| CAPPED_DATA | 0 | mtd | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | mtd->erasesize | |
| LOCK2 | global &mtd_table_mutex |
drivers/mtd/nftlmount.c get_fold_mark() -> nftl_read_oob()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mtd | 4096-ptr_max |
| PARAM_VALUE | 1 | offs | 0-4294967295 |
| PARAM_VALUE | 2 | len | 8 |
| PARAM_VALUE | 3 | retlen | 6349819367821242368 |
| PARAM_VALUE | 4 | buf | 6390667535792205824 |
| BUF_SIZE | 4 | buf | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | mtd->erasesize | |
| LOCK2 | global &mtd_table_mutex |