Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/mtd/mtdcore.c mtd_cls_suspend() -> mtd_suspend()

Type Parameter Key Value
PARAM_VALUE 0 mtd 1-u64max
BUF_SIZE 0 mtd s32min-(-2),1-s32max
BUF_SIZE 0 mtd s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mtd unit_byte

drivers/mtd/mtdconcat.c concat_suspend() -> mtd_suspend()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &_dev->mutex

drivers/mtd/maps/physmap-core.c physmap_flash_shutdown() -> mtd_suspend()

Type Parameter Key Value
PARAM_VALUE 0 mtd 1-u64max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &_dev->mutex
HALF_LOCKED2 &parent->mutex
HALF_LOCKED2 global &system_transition_mutex
TYPE_LOCK (struct device)->mutex