Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/mtd/chips/cfi_cmdset_0001.c cfi_intelext_restore_locks() -> cfi_intelext_unlock()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 0 mtd->_resume 1-u64max
PARAM_VALUE 0 mtd->eraseregions 4096-ptr_max
PARAM_VALUE 0 mtd->flags 8192-u32max
PARAM_VALUE 0 mtd->master.suspended 1
PARAM_VALUE 0 mtd->numeraseregions 1-s32max
PARAM_VALUE 0 mtd->parent 0
PARAM_VALUE 0 mtd->parent->parent 0
PARAM_VALUE 0 mtd->priv 4096-ptr_max
PARAM_VALUE 2 len 0-u32max
BUF_SIZE 0 mtd s32min-(-1),1-s32max
BUF_SIZE 0 mtd s32min-(-1),1-s32max
DATA_SOURCE 0 mtd $0
BIT_INFO 0 mtd->flags 0x2000,0xffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 ofs unit_byte
UNITS 2 len unit_byte
HALF_LOCKED2 &_dev->mutex

drivers/mtd/mtdcore.c mtd_unlock() -> (struct mtd_info)->_unlock()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 0 mtd->_unlock 1-u64max
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
DATA_SOURCE 2 len $2 [m]
CONTAINER 0 -256+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 ofs s64min-s64max[c]
USER_DATA 2 len 0-18446744065119617025[c]
HALF_LOCKED2 &master->master.chrdev_lock
HALF_LOCKED2 global &mtd_table_mutex