Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/mtd/inftlmount.c INFTL_mount() -> inftl_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 3739275604116963328
PARAM_VALUE 4 buf 8102306095625490432
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/inftlmount.c INFTL_mount() -> inftl_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 3739275604116963328
PARAM_VALUE 4 buf 7839079117734408192
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/inftlmount.c check_free_sectors() -> inftl_read_oob()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 3 retlen 1164346010668294144
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
NO_OVERFLOW_SIMPLE 1 offs
UNITS 1 offs unit_byte
UNITS 2 len unit_byte
HALF_LOCKED2 &mbd->lock
HALF_LOCKED2 global &mtd_table_mutex

drivers/mtd/inftlmount.c find_boot_record() -> inftl_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 7874585531966853120
PARAM_VALUE 3 *retlen 512
PARAM_VALUE 4 buf 1538980840755482624
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/inftlcore.c INFTL_deleteblock() -> inftl_read_oob()

Type Parameter Key Value
PARAM_VALUE 2 len 8
PARAM_VALUE 3 retlen 2614042561279496192
PARAM_VALUE 4 buf 1548298580768071680
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/inftlcore.c INFTL_deleteblock() -> inftl_read_oob()

Type Parameter Key Value
PARAM_VALUE 2 len 8
PARAM_VALUE 3 retlen 2614042561279496192
PARAM_VALUE 4 buf 1548298580768071680
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/inftlcore.c INFTL_findwriteunit() -> inftl_read_oob()

Type Parameter Key Value
PARAM_VALUE 2 len 8
PARAM_VALUE 3 retlen 1627647603739353088
PARAM_VALUE 4 buf 8122504675895193600
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/inftlcore.c INFTL_findwriteunit() -> inftl_read_oob()

Type Parameter Key Value
PARAM_VALUE 1 offs 0-4294967295
PARAM_VALUE 2 len 8
PARAM_VALUE 3 retlen 1627647603739353088
PARAM_VALUE 4 buf 4447716077781471240
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/inftlcore.c INFTL_foldchain() -> inftl_read_oob()

Type Parameter Key Value
PARAM_VALUE 1 offs 0-4294967295
PARAM_VALUE 2 len 16
PARAM_VALUE 3 retlen 7621436733790285824
PARAM_VALUE 4 buf 3445685997104369664
BUF_SIZE 4 buf 16
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/inftlcore.c INFTL_trydeletechain() -> inftl_read_oob()

Type Parameter Key Value
PARAM_VALUE 1 offs 0-4294967295
PARAM_VALUE 2 len 8
PARAM_VALUE 3 retlen 1169445506040164352
PARAM_VALUE 4 buf 4549469072781385728
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/inftlcore.c inftl_readblock() -> inftl_read_oob()

Type Parameter Key Value
PARAM_VALUE 2 len 8
PARAM_VALUE 3 retlen 2300405089780654080
PARAM_VALUE 4 buf 3175900492970242048
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