Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/mtd/mtdswap.c mtdswap_move_block() -> mtdswap_write_block()

Type Parameter Key Value
PARAM_VALUE 0 d 4096-ptr_max
PARAM_VALUE 0 d->pages_per_eblk 1-u32max
PARAM_VALUE 0 d->revmap 4096-ptr_max
PARAM_VALUE 0 d->spare_eblks 2-u32max
PARAM_VALUE 3 bp 2307297857408053248
PARAM_VALUE 4 gc_context 1
BUF_SIZE 0 d 264,944
BUF_SIZE 0 d 264,944
BUF_SIZE 1 buf 4096
DATA_SOURCE 0 d $0
DATA_SOURCE 3 bp $2
FUZZY_MAX 0 d->spare_eblks 2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dev->lock
HALF_LOCKED2 __tag_set->srcu
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct mtd_blktrans_dev)->lock

drivers/mtd/mtdswap.c mtdswap_writesect() -> mtdswap_write_block()

Type Parameter Key Value
PARAM_VALUE 0 d 4096-ptr_max
PARAM_VALUE 0 d->page_data 4096-ptr_max
PARAM_VALUE 0 d->spare_eblks 2-u32max
PARAM_VALUE 3 bp 7488544006957236224
PARAM_VALUE 4 gc_context 0
BUF_SIZE 0 d 264,944
BUF_SIZE 0 d 264,944
DATA_SOURCE 1 buf $2
DATA_SOURCE 2 page $1 [m]
FUZZY_MAX 0 d->spare_eblks 2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dev->lock
HALF_LOCKED2 __tag_set->srcu
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct mtd_blktrans_dev)->lock