Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/mtd/nand/raw/nand_base.c nand_detect() -> nand_set_defaults()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->base.ops->erase 0,2145616741012197376,5355711976263086080
PARAM_VALUE 0 chip->base.ops->isbad 0,4230751433069776896,8612460838360965120
PARAM_VALUE 0 chip->buf_align 1-u64max
PARAM_VALUE 0 chip->controller 4096-ptr_max
PARAM_VALUE 0 chip->controller->lock.dep_map->name 0-255
PARAM_VALUE 0 chip->controller->lock.first_waiter 0
PARAM_VALUE 0 chip->controller->lock.magic 4096-ptr_max
PARAM_VALUE 0 chip->controller->lock.osq.tail.counter 0
PARAM_VALUE 0 chip->controller->lock.owner.counter 0
PARAM_VALUE 0 chip->controller->ops 0,4096-ptr_max
PARAM_VALUE 0 chip->cur_cs (-1)-0
PARAM_VALUE 0 chip->current_interface_config 4096-ptr_max
PARAM_VALUE 0 chip->id.data 4096-ptr_max
PARAM_VALUE 0 chip->id.len 0-8
PARAM_VALUE 0 chip->legacy.chip_delay s32min-(-1),1-s32max
PARAM_VALUE 0 chip->legacy.cmdfunc 1-u64max
PARAM_VALUE 0 chip->legacy.read_buf 1-u64max
PARAM_VALUE 0 chip->legacy.read_byte 1-u64max
PARAM_VALUE 0 chip->legacy.select_chip 1-u64max
PARAM_VALUE 0 chip->legacy.waitfunc 1-u64max
PARAM_VALUE 0 chip->legacy.write_buf 1-u64max
PARAM_VALUE 0 chip->legacy.write_byte 1-u64max
PARAM_VALUE 0 chip->lock.dep_map->name 0-255
PARAM_VALUE 0 chip->lock.first_waiter 0
PARAM_VALUE 0 chip->lock.magic 4096-ptr_max
PARAM_VALUE 0 chip->lock.osq.tail.counter 0
PARAM_VALUE 0 chip->lock.owner.counter 0
PARAM_VALUE 0 chip->manufacturer.desc 0,4096-ptr_max
PARAM_VALUE 0 chip->parameters.model 4096-ptr_max
PARAM_VALUE 0 chip->priv->cmd_complete.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 chip->priv->cmd_complete.wait.lock.magic 3735899821
PARAM_VALUE 0 chip->priv->cmd_complete.wait.lock.owner (-1)
PARAM_VALUE 0 chip->priv->cmd_complete.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 chip->priv->cmd_complete.wait.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 chip->priv->command 0,4-5,16,22-23,25,54,80,96,112,128,133,144,185,208,236,238-239,255,4294967295
PARAM_VALUE 0 chip->priv->comp_controller.done 0-4294967293,4294967295
PARAM_VALUE 0 chip->priv->comp_controller.wait.lock.owner (-1)
PARAM_VALUE 0 chip->priv->comp_controller.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 chip->priv->comp_nand.done 0-4294967293,4294967295
PARAM_VALUE 0 chip->priv->comp_nand.wait.lock.owner (-1)
PARAM_VALUE 0 chip->priv->comp_nand.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 chip->priv->curr_command 0,4-5,16,22-23,25,54,80,96,112,128,133,144,185,208,236,238-239,255,4294967295
PARAM_VALUE 0 chip->resume_wq.head.next 4096-ptr_max
PARAM_VALUE 0 chip->resume_wq.head.next->next 4096-ptr_max
PARAM_VALUE 0 chip->resume_wq.head.prev 4096-ptr_max
PARAM_VALUE 0 chip->resume_wq.head.prev->next 4096-ptr_max
PARAM_VALUE 0 chip->resume_wq.head.prev->prev 4096-ptr_max
BUF_SIZE 0 chip (-1),4088
BUF_SIZE 0 chip (-1),4088
BUF_SIZE 0 chip->badblock_pattern (-1),72
BUF_SIZE 0 chip->bbt_md (-1),72
BUF_SIZE 0 chip->bbt_td (-1),72,144
BUF_SIZE 0 chip->legacy.dummy_controller.ops (-1),32
BUF_SIZE 0 chip->priv (-1),4008
CAPPED_DATA 0 chip->id.len 1
DATA_SOURCE 0 chip $0
BIT_INFO 0 chip->options 0x80000,0xffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 chip->controller->controller_wp 0
HOST_DATA 0 chip->controller->lock.osq.tail.counter 0
HOST_DATA 0 chip->controller->lock.owner.counter 0
HOST_DATA 0 chip->controller->supported_op.cont_read 0-1
HOST_DATA 0 chip->controller->supported_op.data_only_read 0-1
HOST_DATA 0 chip->priv->curr_column s32min-s32max[c]
HOST_DATA 0 chip->priv->curr_page_addr 1-s32max[c]
HOST_DATA 0 chip->priv->offset 0-s32max[c]
HALF_LOCKED2 &pool->lock

drivers/mtd/nand/raw/nand_base.c nand_scan_ident() -> nand_set_defaults()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->cur_cs (-1)
PARAM_VALUE 0 chip->current_interface_config 3208620764460953600
PARAM_VALUE 0 chip->lock.dep_map->name 0-255
PARAM_VALUE 0 chip->lock.first_waiter 0
PARAM_VALUE 0 chip->lock.magic 4096-ptr_max
PARAM_VALUE 0 chip->lock.osq.tail.counter 0
PARAM_VALUE 0 chip->lock.owner.counter 0
PARAM_VALUE 0 chip->resume_wq.head.next 4096-ptr_max
PARAM_VALUE 0 chip->resume_wq.head.next->next 4096-ptr_max
PARAM_VALUE 0 chip->resume_wq.head.prev 4096-ptr_max
PARAM_VALUE 0 chip->resume_wq.head.prev->next 4096-ptr_max
PARAM_VALUE 0 chip->resume_wq.head.prev->prev 4096-ptr_max
BUF_SIZE 0 chip (-1),4088
BUF_SIZE 0 chip (-1),4088
BUF_SIZE 0 chip->badblock_pattern (-1),72
BUF_SIZE 0 chip->bbt_md (-1),72
BUF_SIZE 0 chip->bbt_td (-1),72,144
BUF_SIZE 0 chip->controller (-1),168
BUF_SIZE 0 chip->controller->ops (-1),32
BUF_SIZE 0 chip->current_interface_config 1152
BUF_SIZE 0 chip->legacy.dummy_controller.ops (-1),32
BUF_SIZE 0 chip->priv (-1),4008
DATA_SOURCE 0 chip $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 chip->controller->controller_wp 0-1
HOST_DATA 0 chip->controller->lock.osq.tail.counter 0
HOST_DATA 0 chip->controller->lock.owner.counter 0
HOST_DATA 0 chip->controller->supported_op.cont_read 0-1
HOST_DATA 0 chip->controller->supported_op.data_only_read 0-1
HALF_LOCKED2 &pool->lock