Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/mtd/chips/cfi_cmdset_0001.c do_erase_oneblock() -> inval_cache_and_wait_for_operation()

Type Parameter Key Value
PARAM_VALUE 0 map 4096-ptr_max
PARAM_VALUE 0 map->fldrv_priv 4096-ptr_max
PARAM_VALUE 1 chip 4096-ptr_max
PARAM_VALUE 1 chip->erase_suspended 0
PARAM_VALUE 1 chip->in_progress_block_mask 0-s32max,18446744071562067968-u64max
PARAM_VALUE 1 chip->mutex.dep_map->name 0-255
PARAM_VALUE 1 chip->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 chip->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 chip->state 4
PARAM_VALUE 1 chip->write_suspended 0
BUF_SIZE 0 map s32min-(-2),1-s32max
BUF_SIZE 0 map s32min-(-2),1-s32max
CAPPED_DATA 1 &chip->mutex 1
DATA_SOURCE 0 map $0
DATA_SOURCE 1 chip $1
DATA_SOURCE 2 cmd_adr $2
DATA_SOURCE 3 inval_adr $2
DATA_SOURCE 4 inval_len $3
BIT_INFO 1 chip->in_progress_block_mask 0x0,0xffffffff
RX_PATH
TASK_NOT_RUNNING
LOCK2 1 &chip->mutex
TYPE_LOCK (struct flchip)->mutex

drivers/mtd/chips/cfi_cmdset_0001.c do_write_buffer() -> inval_cache_and_wait_for_operation()

Type Parameter Key Value
PARAM_VALUE 0 map 4096-ptr_max
PARAM_VALUE 0 map->fldrv_priv 4096-ptr_max
PARAM_VALUE 1 chip 4096-ptr_max
PARAM_VALUE 1 chip->erase_suspended 1
PARAM_VALUE 1 chip->mutex.dep_map->name 0-255
PARAM_VALUE 1 chip->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 chip->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 chip->oldstate 4,18
PARAM_VALUE 1 chip->priv->erasing->state 0-12,14-4294967295
PARAM_VALUE 1 chip->priv->lock.dep_map->name 0-255
PARAM_VALUE 1 chip->priv->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 chip->priv->lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 chip->priv->writing->state 0-12,14-4294967295
PARAM_VALUE 1 chip->state 8
PARAM_VALUE 3 inval_adr 0
PARAM_VALUE 4 inval_len 0
PARAM_VALUE 5 chip_op_time 0
PARAM_VALUE 6 chip_op_time_max 0
BUF_SIZE 0 map s32min-(-2),1-s32max
BUF_SIZE 0 map s32min-(-2),1-s32max
CAPPED_DATA 1 &chip->mutex 1
DATA_SOURCE 0 map $0
DATA_SOURCE 1 chip $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 map unit_byte
LOCK2 1 &chip->mutex
TYPE_LOCK (struct flchip)->mutex

drivers/mtd/chips/cfi_cmdset_0001.c do_write_buffer() -> inval_cache_and_wait_for_operation()

Type Parameter Key Value
PARAM_VALUE 0 map 4096-ptr_max
PARAM_VALUE 0 map->fldrv_priv 4096-ptr_max
PARAM_VALUE 0 map->read 4096-ptr_max
PARAM_VALUE 1 chip 4096-ptr_max
PARAM_VALUE 1 chip->mutex.dep_map->name 0-255
PARAM_VALUE 1 chip->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 chip->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 chip->oldstate 4,18
PARAM_VALUE 1 chip->priv->erasing->state 0-12,14-4294967295
PARAM_VALUE 1 chip->priv->lock.dep_map->name 0-255
PARAM_VALUE 1 chip->priv->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 chip->priv->lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 chip->priv->writing->state 0-12,14-4294967295
PARAM_VALUE 1 chip->state 7
PARAM_VALUE 1 chip->write_suspended 0
BUF_SIZE 0 map s32min-(-2),1-s32max
BUF_SIZE 0 map s32min-(-2),1-s32max
CAPPED_DATA 1 &chip->mutex 1
CAPPED_DATA 4 inval_len 1
DATA_SOURCE 0 map $0
DATA_SOURCE 1 chip $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 map unit_byte
LOCK2 1 &chip->mutex
TYPE_LOCK (struct flchip)->mutex

drivers/mtd/chips/cfi_cmdset_0001.c do_write_oneword() -> inval_cache_and_wait_for_operation()

Type Parameter Key Value
PARAM_VALUE 0 map 4096-ptr_max
PARAM_VALUE 0 map->fldrv_priv 4096-ptr_max
PARAM_VALUE 1 chip 4096-ptr_max
PARAM_VALUE 1 chip->erase_suspended 1
PARAM_VALUE 1 chip->mutex.dep_map->name 0-255
PARAM_VALUE 1 chip->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 chip->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 chip->oldstate 4,18
PARAM_VALUE 1 chip->priv->erasing->state 0-12,14-4294967295
PARAM_VALUE 1 chip->priv->lock.dep_map->name 0-255
PARAM_VALUE 1 chip->priv->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 chip->priv->lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 chip->priv->writing->state 0-12,14-4294967295
PARAM_VALUE 1 chip->state 7,9
PARAM_VALUE 1 chip->write_suspended 0
BUF_SIZE 0 map s32min-(-2),1-s32max
BUF_SIZE 0 map s32min-(-2),1-s32max
CAPPED_DATA 1 chip 1
CAPPED_DATA 1 &chip->mutex 1
DATA_SOURCE 0 map $0
DATA_SOURCE 1 chip $1
DATA_SOURCE 2 cmd_adr $2
DATA_SOURCE 3 inval_adr $2
RX_PATH
TASK_NOT_RUNNING
UNITS 0 map unit_byte
UNITS 2 cmd_adr unit_byte
UNITS 3 inval_adr unit_byte
UNITS 4 inval_len unit_byte
LOCK2 1 &chip->mutex
HALF_LOCKED2 &master->master.chrdev_lock
TYPE_LOCK (struct flchip)->mutex

drivers/mtd/chips/cfi_cmdset_0001.c do_xxlock_oneblock() -> inval_cache_and_wait_for_operation()

Type Parameter Key Value
PARAM_VALUE 0 map 4096-ptr_max
PARAM_VALUE 0 map->fldrv_priv 4096-ptr_max
PARAM_VALUE 1 chip 4096-ptr_max
PARAM_VALUE 1 chip->erase_suspended 1
PARAM_VALUE 1 chip->mutex.dep_map->name 0-255
PARAM_VALUE 1 chip->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 chip->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 chip->oldstate 4,18
PARAM_VALUE 1 chip->priv->erasing->state 0-12,14-4294967295
PARAM_VALUE 1 chip->priv->lock.dep_map->name 0-255
PARAM_VALUE 1 chip->priv->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 chip->priv->lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 chip->priv->writing->state 0-12,14-4294967295
PARAM_VALUE 1 chip->state 15-16
PARAM_VALUE 3 inval_adr 0
PARAM_VALUE 4 inval_len 0
PARAM_VALUE 5 chip_op_time 0,1500
PARAM_VALUE 6 chip_op_time_max 0,1500000
BUF_SIZE 0 map s32min-(-2),1-s32max
BUF_SIZE 0 map s32min-(-2),1-s32max
CAPPED_DATA 1 &chip->mutex 1
DATA_SOURCE 0 map $0
DATA_SOURCE 1 chip $1
DATA_SOURCE 2 cmd_adr $2
FUZZY_MAX 1 chip->state 16
BIT_INFO 5 chip_op_time 0x0,0x5dc
HARD_MAX 1 chip->state 16
RX_PATH
TASK_NOT_RUNNING
LOCK2 1 &chip->mutex
TYPE_LOCK (struct flchip)->mutex