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_write_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_findwriteunit() -> nftl_write_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_write_oob()

Type Parameter Key Value
PARAM_VALUE 1 offs 0-4294967295
PARAM_VALUE 2 len 8
PARAM_VALUE 3 retlen 4413818412275949568
PARAM_VALUE 4 buf 7083049421680574472
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_write_oob()

Type Parameter Key Value
PARAM_VALUE 1 offs 0-4294967295
PARAM_VALUE 2 len 8
PARAM_VALUE 3 retlen 4413818412275949568
PARAM_VALUE 4 buf 7083049421680574472
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/nftlmount.c NFTL_formatblock() -> nftl_write_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 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
CAPPED_DATA 0 mtd 1
CAPPED_DATA 1 offs 1
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 check_and_mark_free_block() -> nftl_write_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
CAPPED_DATA 0 mtd 1
CAPPED_DATA 1 offs 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 mtd->erasesize
LOCK2 global &mtd_table_mutex

drivers/mtd/nftlmount.c check_sectors_in_chain() -> nftl_write_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
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 mtd->erasesize
LOCK2 global &mtd_table_mutex