Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/mtd/nand/raw/nand_base.c nand_isbad_bbm() -> mtd_check_expert_analysis_mode()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &chip->controller->lock
HALF_LOCKED2 &chip->lock
HALF_LOCKED2 &spinand->lock

drivers/mtd/nand/core.c nanddev_isbad() -> mtd_check_expert_analysis_mode()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &spinand->lock
HALF_LOCKED2 &master->master.chrdev_lock
TYPE_LOCK (struct spinand_device)->lock

drivers/mtd/nand/raw/nand_bbt.c nand_isbad_bbt() -> mtd_check_expert_analysis_mode()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &this->controller->lock
LOCK2 &this->lock
TYPE_LOCK (struct nand_chip)->lock
TYPE_LOCK (struct nand_controller)->lock