Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/mtd/mtdcore.c mtd_suspend() -> (struct mtd_info)->_suspend()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 0 mtd->_suspend 1-u64max
PARAM_VALUE 0 mtd->master.suspended 0
PARAM_VALUE 0 mtd->parent 0
PARAM_VALUE 0 mtd->parent->parent 0
BUF_SIZE 0 mtd s32min-(-1),1-s32max
BUF_SIZE 0 mtd s32min-(-1),1-s32max
DATA_SOURCE 0 mtd r mtd_get_master
CONTAINER 0 -304+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fsm->lock

drivers/mtd/mtdconcat.c mtd_suspend() -> (struct mtd_info)->_suspend()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 0 mtd->_suspend 1-u64max
PARAM_VALUE 0 mtd->master.suspended 0
PARAM_VALUE 0 mtd->parent 0
PARAM_VALUE 0 mtd->parent->parent 0
DATA_SOURCE 0 mtd r mtd_get_master
CONTAINER 0 -304+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &_dev->mutex

drivers/mtd/maps/physmap-core.c mtd_suspend() -> (struct mtd_info)->_suspend()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 0 mtd->_suspend 1-u64max
PARAM_VALUE 0 mtd->master.suspended 0
PARAM_VALUE 0 mtd->parent 0
PARAM_VALUE 0 mtd->parent->parent 0
DATA_SOURCE 0 mtd r mtd_get_master
CONTAINER 0 -304+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 &_dev->mutex
HALF_LOCKED2 &parent->mutex
HALF_LOCKED2 global &system_transition_mutex
TYPE_LOCK (struct device)->mutex