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 nand 4096-ptr_max
PARAM_VALUE 0 nand->badblockbits 8
PARAM_VALUE 0 nand->badblockpos 0,5
PARAM_VALUE 0 nand->base.ops->erase 4096-ptr_max
PARAM_VALUE 0 nand->base.ops->isbad 4096-ptr_max
PARAM_VALUE 0 nand->buf_align 1-u64max
PARAM_VALUE 0 nand->controller 4096-ptr_max
PARAM_VALUE 0 nand->controller->lock.dep_map->name 0-255
PARAM_VALUE 0 nand->controller->lock.first_waiter 0
PARAM_VALUE 0 nand->controller->lock.magic 4096-ptr_max
PARAM_VALUE 0 nand->controller->lock.osq.tail.counter 0
PARAM_VALUE 0 nand->controller->lock.owner.counter 0
PARAM_VALUE 0 nand->controller->ops 4096-ptr_max
PARAM_VALUE 0 nand->controller->ops->attach_chip 4096-ptr_max
PARAM_VALUE 0 nand->controller->supported_op.data_only_read 1
PARAM_VALUE 0 nand->cur_cs s32min-(-1),1-s32max
PARAM_VALUE 0 nand->ecc.algo 0-3
PARAM_VALUE 0 nand->id.data 4096-ptr_max
PARAM_VALUE 0 nand->id.len 0-8
PARAM_VALUE 0 nand->legacy.chip_delay s32min-(-1),1-s32max
PARAM_VALUE 0 nand->legacy.cmdfunc 1-u64max
PARAM_VALUE 0 nand->legacy.read_buf 1-u64max
PARAM_VALUE 0 nand->legacy.read_byte 1-u64max
PARAM_VALUE 0 nand->legacy.select_chip 1-u64max
PARAM_VALUE 0 nand->legacy.waitfunc 1-u64max
PARAM_VALUE 0 nand->legacy.write_buf 1-u64max
PARAM_VALUE 0 nand->legacy.write_byte 1-u64max
PARAM_VALUE 0 nand->lock.dep_map->name 0-255
PARAM_VALUE 0 nand->lock.first_waiter 0
PARAM_VALUE 0 nand->lock.magic 4096-ptr_max
PARAM_VALUE 0 nand->lock.osq.tail.counter 0
PARAM_VALUE 0 nand->lock.owner.counter 0
PARAM_VALUE 0 nand->manufacturer.desc 0,4096-ptr_max
PARAM_VALUE 0 nand->manufacturer.desc->id 1,4,7,32,44,69,137,143,146,152,155,173,194,200,236,239
PARAM_VALUE 0 nand->parameters.model 4096-ptr_max
PARAM_VALUE 0 nand->parameters.onfi 4096-ptr_max
PARAM_VALUE 0 nand->parameters.onfi->version 10,20-23
PARAM_VALUE 0 nand->parameters.supports_set_get_features 1
PARAM_VALUE 0 nand->priv->dma_error 0
PARAM_VALUE 0 nand->resume_wq.head.next 4096-ptr_max
PARAM_VALUE 0 nand->resume_wq.head.next->next 4096-ptr_max
PARAM_VALUE 0 nand->resume_wq.head.prev 4096-ptr_max
PARAM_VALUE 0 nand->resume_wq.head.prev->next 4096-ptr_max
PARAM_VALUE 0 nand->resume_wq.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 *nand->id.data 0-255
BUF_SIZE 0 nand (-1),4088
BUF_SIZE 0 nand (-1),4088
BUF_SIZE 0 nand->badblock_pattern (-1),72
BUF_SIZE 0 nand->bbt_md (-1),72
BUF_SIZE 0 nand->bbt_td (-1),72,144
BUF_SIZE 0 nand->legacy.dummy_controller.ops (-1),32
BUF_SIZE 0 nand->priv (-1),4008
DATA_SOURCE 0 nand $0
CONTAINER 0 -0-152-3520+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 nand->controller->controller_wp 0-1
HOST_DATA 0 nand->controller->supported_op.cont_read 0-1
HOST_DATA 0 nand->cur_cs 1-s32max[c]
NO_OVERFLOW_SIMPLE 0 nand->cur_cs
HALF_LOCKED2 &pool->lock