Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/mtd/mtdpstore.c mtdpstore_flush_removed_do() -> mtdpstore_is_used()

Type Parameter Key Value
PARAM_VALUE 0 cxt 3653605967233236992
PARAM_VALUE 0 cxt->badmap 4096-ptr_max
PARAM_VALUE 0 cxt->mtd 4096-ptr_max
BUF_SIZE 0 cxt 264
CAPPED_DATA 0 cxt->index 1
CAPPED_DATA 0 cxt->mtd 1
DATA_SOURCE 0 cxt $0
DATA_SOURCE 1 off $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &mtd_table_mutex

drivers/mtd/mtdpstore.c mtdpstore_panic_write() -> mtdpstore_is_used()

Type Parameter Key Value
PARAM_VALUE 0 cxt 3653605967233236992
PARAM_VALUE 0 cxt->badmap 4096-ptr_max
PARAM_VALUE 0 cxt->mtd 4096-ptr_max
BUF_SIZE 0 cxt 264
CAPPED_DATA 1 off 1
CAPPED_DATA 1 off 1
DATA_SOURCE 1 off $2
RX_PATH
TASK_NOT_RUNNING
UNITS 1 off unit_byte

drivers/mtd/mtdpstore.c mtdpstore_write() -> mtdpstore_is_used()

Type Parameter Key Value
PARAM_VALUE 0 cxt 3653605967233236992
PARAM_VALUE 0 cxt->badmap 4096-ptr_max
PARAM_VALUE 0 cxt->mtd 4096-ptr_max
BUF_SIZE 0 cxt 264
CAPPED_DATA 1 off 1
CAPPED_DATA 1 off 1
DATA_SOURCE 1 off $2
RX_PATH
TASK_NOT_RUNNING
UNITS 1 off unit_byte