Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/mtd/chips/cfi_util.c cfi_read_pri() -> cfi_qry_mode_off()

Type Parameter Key Value
PARAM_VALUE 0 base 0
PARAM_VALUE 1 map 4096-ptr_max
PARAM_VALUE 1 map->fldrv->destroy 0,3684723919616573440,4812393320224821248,7515468094658064384,8701399485634662400
PARAM_VALUE 1 map->fldrv->module 0
PARAM_VALUE 1 map->fldrv->name 4096-ptr_max
PARAM_VALUE 1 map->fldrv->probe 0,1162949730130006016,2469954764432539648,5724982611443769344,6630152179801403392,6840914442532052992,8576460216543268864
PARAM_VALUE 1 map->fldrv_priv 4096-ptr_max
PARAM_VALUE 1 map->map_priv_1->p_dev->dev.kobj.kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 1 map->map_priv_1->p_dev->socket->ops_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 map->map_priv_1->p_dev->socket->ops_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 1 map->map_priv_1->p_dev->socket->ops_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 1 map->map_priv_1->p_dev->socket->ops_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 map->read 4096-ptr_max
PARAM_VALUE 1 map->size 1-u64max
PARAM_VALUE 1 map->write 4096-ptr_max
PARAM_VALUE 2 cfi 4096-ptr_max
BUF_SIZE 1 map->name s32min,(-10),(-1),1-s32max
BUF_SIZE 2 cfi 128-s32max
BUF_SIZE 2 cfi 128-s32max
CAPPED_DATA 1 map->size 1
DATA_SOURCE 1 map $0
STR_LEN 0 base 11,19
STR_LEN 1 map 11,19
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 map->map_priv_1->offset 0-4294967295[c]
HOST_DATA 1 map->map_priv_2 0

drivers/mtd/hyperbus/hbmc-am654.c am654_hbmc_calibrate() -> cfi_qry_mode_off()

Type Parameter Key Value
PARAM_VALUE 0 base 0
PARAM_VALUE 1 map 4096-ptr_max
PARAM_VALUE 1 map->bankwidth 2
PARAM_VALUE 1 map->copy_from 3856063133584355328,8544884423314911232
PARAM_VALUE 1 map->copy_to 2115896094559264768,3292578779776602112
PARAM_VALUE 1 map->device_node 4096-ptr_max
PARAM_VALUE 1 map->map_priv_1->p_dev->dev.kobj.kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 1 map->map_priv_1->p_dev->socket->ops_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 map->read 470154965457731584,2672950670229086208
PARAM_VALUE 1 map->virt 4096-ptr_max
PARAM_VALUE 1 map->write 1177264742123679744,1782832137485565952
PARAM_VALUE 2 cfi 6839077991429304320
PARAM_VALUE 2 cfi->device_type 2
PARAM_VALUE 2 cfi->interleave 1
BUF_SIZE 1 map 144
MEM_ZERO 1 map
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/mtd/chips/cfi_probe.c cfi_chip_setup() -> cfi_qry_mode_off()

Type Parameter Key Value
PARAM_VALUE 0 base 0
PARAM_VALUE 1 map 4096-ptr_max
PARAM_VALUE 1 map->map_priv_1->p_dev->dev.kobj.kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 1 map->map_priv_1->p_dev->socket->ops_mutex.dep_map->name 0-255
PARAM_VALUE 1 map->map_priv_1->p_dev->socket->ops_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 map->map_priv_1->p_dev->socket->ops_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 1 map->map_priv_1->p_dev->socket->ops_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 map->read 4096-ptr_max
PARAM_VALUE 1 map->size 1-u64max
PARAM_VALUE 1 map->write 4096-ptr_max
PARAM_VALUE 2 cfi 4102008556276412416
PARAM_VALUE 2 cfi->cfi_mode 1
PARAM_VALUE 2 cfi->cfiq 4096-ptr_max
PARAM_VALUE 2 cfi->cfiq->A_ADR 0
PARAM_VALUE 2 cfi->cfiq->A_ID 0
PARAM_VALUE 2 cfi->cfiq->EraseRegionInfo 0
PARAM_VALUE 2 cfi->cfiq->InterfaceDesc 0
PARAM_VALUE 2 cfi->cfiq->MaxBufWriteSize 0
PARAM_VALUE 2 cfi->cfiq->NumEraseRegions 0
PARAM_VALUE 2 cfi->cfiq->P_ADR 0
PARAM_VALUE 2 cfi->cfiq->P_ID 0
PARAM_VALUE 2 cfi->chipshift 0,27-30
PARAM_VALUE 2 cfi->cmdset_priv 0
PARAM_VALUE 2 cfi->device_type s32min-4
PARAM_VALUE 2 cfi->id 0-u16max
PARAM_VALUE 2 cfi->interleave 1-2,4,8
PARAM_VALUE 2 cfi->mfr 0-u16max
PARAM_VALUE 2 cfi->numchips 0
BUF_SIZE 1 map->name s32min,(-10),(-1),1-s32max
BUF_SIZE 2 cfi->cfiq 33-1049
DATA_SOURCE 1 map $0
DATA_SOURCE 2 cfi $1
MEM_ZERO 2 cfi
MEM_ZERO 2 cfi->cfiq
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 map->map_priv_1->offset 0-4294967295[c]
HOST_DATA 1 map->map_priv_2 0

drivers/mtd/chips/cfi_probe.c cfi_probe_chip() -> cfi_qry_mode_off()

Type Parameter Key Value
PARAM_VALUE 1 map 4096-ptr_max
PARAM_VALUE 1 map->map_priv_1->p_dev->socket->ops_mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 map->map_priv_1->p_dev->socket->ops_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 map->map_priv_1->p_dev->socket->ops_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 map->map_priv_1->p_dev->socket->ops_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 1 map->read 4096-ptr_max
PARAM_VALUE 1 map->size 1-u64max
PARAM_VALUE 1 map->write 4096-ptr_max
PARAM_VALUE 2 cfi 4102008556276412416
PARAM_VALUE 2 cfi->cfi_mode 0-1
PARAM_VALUE 2 cfi->cfiq 4096-ptr_max
PARAM_VALUE 2 cfi->chipshift 27-30
PARAM_VALUE 2 cfi->cmdset_priv 0
PARAM_VALUE 2 cfi->device_type s32min-4
PARAM_VALUE 2 cfi->id 0-u16max
PARAM_VALUE 2 cfi->interleave 1-2,4,8
PARAM_VALUE 2 cfi->mfr 0-u16max
PARAM_VALUE 2 cfi->numchips s32min-(-1),1-s32max
BUF_SIZE 1 map->name s32min,(-10),(-1),1-s32max
CAPPED_DATA 1 map->size 1
DATA_SOURCE 1 map $0
DATA_SOURCE 2 cfi $3
BIT_INFO 0 base 0x0,0xffffffff
MEM_ZERO 2 cfi
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 map->map_priv_1->offset 0-4294967295[c]
HOST_DATA 1 map->map_priv_2 0

drivers/mtd/chips/cfi_probe.c cfi_probe_chip() -> cfi_qry_mode_off()

Type Parameter Key Value
PARAM_VALUE 1 map 4096-ptr_max
PARAM_VALUE 1 map->map_priv_1->p_dev->socket->ops_mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 map->map_priv_1->p_dev->socket->ops_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 map->map_priv_1->p_dev->socket->ops_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 map->map_priv_1->p_dev->socket->ops_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 1 map->read 4096-ptr_max
PARAM_VALUE 1 map->size 1-u64max
PARAM_VALUE 1 map->write 4096-ptr_max
PARAM_VALUE 2 cfi 4102008556276412416
PARAM_VALUE 2 cfi->cfi_mode 0-1
PARAM_VALUE 2 cfi->cfiq 4096-ptr_max
PARAM_VALUE 2 cfi->chipshift 27-30
PARAM_VALUE 2 cfi->cmdset_priv 0
PARAM_VALUE 2 cfi->device_type s32min-4
PARAM_VALUE 2 cfi->id 0-u16max
PARAM_VALUE 2 cfi->interleave 1-2,4,8
PARAM_VALUE 2 cfi->mfr 0-u16max
PARAM_VALUE 2 cfi->numchips s32min-(-1),1-s32max
BUF_SIZE 1 map->name s32min,(-10),(-1),1-s32max
CAPPED_DATA 1 map->size 1
DATA_SOURCE 0 base $1
DATA_SOURCE 1 map $0
DATA_SOURCE 2 cfi $3
PARAM_COMPARE 0 base < $1->size
MEM_ZERO 2 cfi
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 map->map_priv_1->offset 0-4294967295[c]
HOST_DATA 1 map->map_priv_2 0

drivers/mtd/chips/cfi_probe.c cfi_probe_chip() -> cfi_qry_mode_off()

Type Parameter Key Value
PARAM_VALUE 1 map 4096-ptr_max
PARAM_VALUE 1 map->map_priv_1->p_dev->socket->ops_mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 map->map_priv_1->p_dev->socket->ops_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 map->map_priv_1->p_dev->socket->ops_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 map->map_priv_1->p_dev->socket->ops_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 1 map->read 4096-ptr_max
PARAM_VALUE 1 map->size 1-u64max
PARAM_VALUE 1 map->write 4096-ptr_max
PARAM_VALUE 2 cfi 4102008556276412416
PARAM_VALUE 2 cfi->cfi_mode 0-1
PARAM_VALUE 2 cfi->cfiq 4096-ptr_max
PARAM_VALUE 2 cfi->chipshift 27-30
PARAM_VALUE 2 cfi->cmdset_priv 0
PARAM_VALUE 2 cfi->device_type s32min-4
PARAM_VALUE 2 cfi->id 0-u16max
PARAM_VALUE 2 cfi->interleave 1-2,4,8
PARAM_VALUE 2 cfi->mfr 0-u16max
BUF_SIZE 1 map->name s32min,(-10),(-1),1-s32max
CAPPED_DATA 1 map->size 1
DATA_SOURCE 0 base $1
DATA_SOURCE 1 map $0
DATA_SOURCE 2 cfi $3
PARAM_COMPARE 0 base < $1->size
MEM_ZERO 2 cfi
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 map->map_priv_1->offset 0-4294967295[c]
HOST_DATA 1 map->map_priv_2 0

drivers/mtd/chips/cfi_cmdset_0002.c cfi_amdstd_otp_walk() -> cfi_qry_mode_off()

Type Parameter Key Value
PARAM_VALUE 1 map 4096-ptr_max
PARAM_VALUE 1 map->fldrv_priv 4096-ptr_max
PARAM_VALUE 1 map->map_priv_1->p_dev->dev.kobj.kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 1 map->map_priv_1->p_dev->socket->ops_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 map->map_priv_1->p_dev->socket->ops_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 1 map->read 4096-ptr_max
PARAM_VALUE 1 map->write 4096-ptr_max
PARAM_VALUE 2 cfi 4096-ptr_max
PARAM_VALUE 2 cfi->chips 4096-ptr_max
PARAM_VALUE 2 cfi->device_type 1-2
PARAM_VALUE 2 cfi->id 8830
PARAM_VALUE 2 cfi->mfr 137
PARAM_VALUE 2 cfi->numchips 1-s32max
BUF_SIZE 1 map s32min-(-2),1-s32max
BUF_SIZE 1 map s32min-(-2),1-s32max
BUF_SIZE 2 cfi 128-s32max
BUF_SIZE 2 cfi 128-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 map->map_priv_1->offset 0-4294967295[c]
HOST_DATA 1 *map->priv->page_buf 0-255
HOST_DATA 1 *map->priv->verify_buf 0-255
USER_DATA 1 *map->priv->page_buf 0-255
UNITS 0 base unit_byte
UNITS 1 map unit_byte
LOCK2 &chip->mutex
HALF_LOCKED2 &master->master.chrdev_lock
TYPE_LOCK (struct flchip)->mutex