Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/mtd/mtdcore.c __get_mtd_device() -> (struct mtd_info)->_put_device()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 0 mtd->_put_device 1-u64max
PARAM_VALUE 0 mtd->owner 4096-ptr_max
PARAM_VALUE 0 mtd->owner->refcnt.counter 0-s32max
PARAM_VALUE 0 mtd->parent 0
PARAM_VALUE 0 mtd->parent->parent 0
BUF_SIZE 0 mtd (-1),2448,2984
BUF_SIZE 0 mtd (-1),2448,2984
DATA_SOURCE 0 mtd r mtd_get_master
CONTAINER 0 -336+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &disk->open_mutex
HALF_LOCKED2 global &mtd_table_mutex

drivers/mtd/mtdcore.c __put_mtd_device() -> (struct mtd_info)->_put_device()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 0 mtd->_put_device 1-u64max
PARAM_VALUE 0 mtd->owner 0,4096-ptr_max
PARAM_VALUE 0 mtd->owner->refcnt.counter 0-s32max
PARAM_VALUE 0 mtd->parent 0
PARAM_VALUE 0 mtd->parent->parent 0
BUF_SIZE 0 mtd (-1),64,2448,2984
BUF_SIZE 0 mtd (-1),64,2448,2984
CAPPED_DATA 0 mtd 1
DATA_SOURCE 0 mtd r mtd_get_master
CONTAINER 0 -336+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &disk->open_mutex
HALF_LOCKED2 &old->lock
HALF_LOCKED2 global &mtd_table_mutex