Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/mtd/nand/spi/core.c spinand_init() -> mtd_ooblayout_count_freebytes()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 0 mtd->_block_isbad 260154781183696896
PARAM_VALUE 0 mtd->_block_isreserved 4386178018900975616
PARAM_VALUE 0 mtd->_block_markbad 3246250314816618496
PARAM_VALUE 0 mtd->_erase 8467714905946087424
PARAM_VALUE 0 mtd->_max_bad_blocks 9070481412035076096
PARAM_VALUE 0 mtd->_read_oob 6391494701120663552
PARAM_VALUE 0 mtd->_resume 6983494204839174144
PARAM_VALUE 0 mtd->_suspend 7280270531006799872
PARAM_VALUE 0 mtd->_write_oob 740614050392137728
BUF_SIZE 0 mtd 2448
DATA_SOURCE 0 mtd r spinand_to_mtd
RX_PATH
TASK_NOT_RUNNING

drivers/mtd/nand/raw/nand_base.c nand_scan_tail() -> mtd_ooblayout_count_freebytes()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 0 mtd->ooblayout->ecc 0,4096-ptr_max
PARAM_VALUE 0 mtd->ooblayout->free 0,4096-ptr_max
BUF_SIZE 0 mtd 2448
DATA_SOURCE 0 mtd r nand_to_mtd
BIT_INFO 0 mtd->ecc_step_size 0x0,0x7fffffff
BIT_INFO 0 mtd->ecc_strength 0x0,0x7fffffff
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/mtd/nand/onenand/onenand_base.c onenand_scan() -> mtd_ooblayout_count_freebytes()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 0 mtd->dev.parent 0,4096-ptr_max
PARAM_VALUE 0 mtd->eraseregions 0,4096-ptr_max
PARAM_VALUE 0 mtd->ooblayout 236480370804027392,3572347394762399744,3869884199002972160
PARAM_VALUE 0 mtd->ooblayout->ecc 852363565877665792,4129873154768957440,6836751387214245888
PARAM_VALUE 0 mtd->ooblayout->free 820495098852958208,4390306440083038208,4940217667363753984
PARAM_VALUE 0 mtd->oobsize 0-4095
PARAM_VALUE 0 mtd->priv 4096-ptr_max
PARAM_VALUE 0 mtd->priv->chip_probe s64min-(-4096),4096-s64max
PARAM_VALUE 0 mtd->priv->chipsize 0,1048576-4293918720
PARAM_VALUE 0 mtd->priv->complete.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 mtd->priv->complete.wait.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 mtd->priv->density_mask 0-4294967295
PARAM_VALUE 0 mtd->priv->device_id 0-u16max
PARAM_VALUE 0 mtd->priv->dies 1-2
PARAM_VALUE 0 mtd->priv->erase_shift 0-4294967295
PARAM_VALUE 0 mtd->priv->options 0-4294967295
PARAM_VALUE 0 mtd->priv->page_mask 0-4294967295
PARAM_VALUE 0 mtd->priv->page_shift 0-4294967295
PARAM_VALUE 0 mtd->priv->technology 0-u16max
PARAM_VALUE 0 mtd->priv->version_id 0-u16max
PARAM_VALUE 0 mtd->priv->writesize 0-131070
PARAM_VALUE 0 mtd->size 0,1048576-4293918720
PARAM_VALUE 0 mtd->subpage_sft 0-2
PARAM_VALUE 0 mtd->writesize 0-262140
BUF_SIZE 0 mtd (-1),2984
BUF_SIZE 0 mtd (-1),2984
CAPPED_DATA 0 mtd->priv 1
DATA_SOURCE 0 mtd $0
FUZZY_MAX 0 mtd->subpage_sft 2
HARD_MAX 0 mtd->subpage_sft 2
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 mtd->erasesize 0,64-16776960[c]
HOST_DATA 0 mtd->oobsize 0-4095[c]
HOST_DATA 0 mtd->priv->device_id 0-u16max
HOST_DATA 0 mtd->priv->technology 0-u16max
HOST_DATA 0 mtd->priv->version_id 0-u16max
HOST_DATA 0 mtd->priv->writesize 0-131070
HOST_DATA 0 mtd->writesize 0-262140