Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/mtd/nand/raw/nand_base.c nand_attach() -> (struct nand_controller_ops)->attach_chip()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->badblockbits 8
PARAM_VALUE 0 chip->badblockpos 0,5
PARAM_VALUE 0 chip->base.ops->erase 4096-ptr_max
PARAM_VALUE 0 chip->base.ops->isbad 4096-ptr_max
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 4096-ptr_max
PARAM_VALUE 0 chip->controller->ops->attach_chip 4096-ptr_max
PARAM_VALUE 0 chip->controller->supported_op.data_only_read 1
PARAM_VALUE 0 chip->cur_cs s32min-(-1),1-s32max
PARAM_VALUE 0 chip->ecc.algo 0-3
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->manufacturer.desc->id 1,4,7,32,44,69,137,143,146,152,155,173,194,200,236,239
PARAM_VALUE 0 chip->parameters.model 4096-ptr_max
PARAM_VALUE 0 chip->parameters.onfi 4096-ptr_max
PARAM_VALUE 0 chip->parameters.onfi->version 10,20-23
PARAM_VALUE 0 chip->parameters.supports_set_get_features 1
PARAM_VALUE 0 chip->priv->dma_error 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
PARAM_VALUE 0 *chip->id.data 0-255
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
DATA_SOURCE 0 chip $0
CONTAINER 0 -0-152-3520+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 chip->controller->controller_wp 0-1
HOST_DATA 0 chip->controller->supported_op.cont_read 0-1
HOST_DATA 0 chip->cur_cs 1-s32max[c]
NO_OVERFLOW_SIMPLE 0 chip->cur_cs
HALF_LOCKED2 &pool->lock