Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/mtd/mtdswap.c mtdswap_discard() -> mtdswap_store_eb()

Type Parameter Key Value
PARAM_VALUE 0 d 4096-ptr_max
PARAM_VALUE 0 d->page_data 4096-ptr_max
PARAM_VALUE 1 eb 4096-ptr_max
BUF_SIZE 0 d 264,944
BUF_SIZE 0 d 264,944
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dev->lock
HALF_LOCKED2 __tag_set->srcu
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct mtd_blktrans_dev)->lock

drivers/mtd/mtdswap.c mtdswap_map_free_block() -> mtdswap_store_eb()

Type Parameter Key Value
PARAM_VALUE 0 d 4096-ptr_max
PARAM_VALUE 0 d->curr_write 4096-ptr_max
PARAM_VALUE 0 d->curr_write->root 0
PARAM_VALUE 0 d->curr_write_pos 0
PARAM_VALUE 0 d->mtd 4096-ptr_max
PARAM_VALUE 0 d->trees 4096-ptr_max
PARAM_VALUE 1 eb 1-u64max
BUF_SIZE 0 d 264,944
BUF_SIZE 0 d 264,944
CAPPED_DATA 0 d->pages_per_eblk 1
DATA_SOURCE 0 d $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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_store_eb()

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 1 eb 4096-ptr_max
BUF_SIZE 0 d 264,944
BUF_SIZE 0 d 264,944
FUZZY_MAX 0 d->spare_eblks 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dev->lock
HALF_LOCKED2 __tag_set->srcu
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct mtd_blktrans_dev)->lock