Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 13 files:

Smatch caller information:

drivers/mtd/mtdswap.c mtdswap_eblk_passes() -> mtd_read_oob()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 2 ops 6988898649718255616
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dev->lock
HALF_LOCKED2 __tag_set->srcu
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct mtd_blktrans_dev)->lock

drivers/mtd/mtdswap.c mtdswap_read_oob() -> mtd_read_oob()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 2 ops 3643197084612845568
PARAM_VALUE 2 ops->datbuf 0
PARAM_VALUE 2 ops->len 0
PARAM_VALUE 2 ops->mode 1
PARAM_VALUE 2 ops->oobbuf 16,4096-ptr_max
PARAM_VALUE 2 ops->ooblen 0-u32max
PARAM_VALUE 2 ops->ooboffs 0
PARAM_VALUE 2 ops->oobretlen 0
PARAM_VALUE 2 ops->retlen 0
PARAM_VALUE 2 ops->stats 0
DATA_SOURCE 1 from $1
DATA_SOURCE 2 ops $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &mtd_table_mutex

drivers/mtd/tests/readtest.c read_eraseblock_by_page() -> mtd_read_oob()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 0 mtd->oobsize 1-u32max
PARAM_VALUE 2 ops 2690681461714812928
PARAM_VALUE 2 ops->datbuf 0
PARAM_VALUE 2 ops->len 0
PARAM_VALUE 2 ops->mode 0
PARAM_VALUE 2 ops->ooblen 1-u32max
PARAM_VALUE 2 ops->ooboffs 0
PARAM_VALUE 2 ops->oobretlen 0
PARAM_VALUE 2 ops->retlen 0
PARAM_VALUE 2 ops->stats 0

drivers/mtd/nftlcore.c nftl_read_oob() -> mtd_read_oob()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 1 from 0-s64max
PARAM_VALUE 2 ops 3221945947761111040
PARAM_VALUE 2 ops->datbuf 0
PARAM_VALUE 2 ops->len 0
PARAM_VALUE 2 ops->mode 0
PARAM_VALUE 2 ops->oobbuf 4096-ptr_max
PARAM_VALUE 2 ops->oobretlen 0
PARAM_VALUE 2 ops->retlen 0
PARAM_VALUE 2 ops->stats 0
BUF_SIZE 0 mtd (-1),2448,2984
BUF_SIZE 0 mtd (-1),2448,2984
CAPPED_DATA 1 from 1
DATA_SOURCE 0 mtd $0
STR_LEN 0 mtd->dev.driver_data (-1)
STR_LEN 0 mtd->name (-1)
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 mtd->erasesize
HALF_LOCKED2 &mbd->lock
HALF_LOCKED2 global &mtd_table_mutex

fs/jffs2/wbuf.c jffs2_check_nand_cleanmarker() -> mtd_read_oob()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 2 ops 4397239557513793536
PARAM_VALUE 2 ops->datbuf 0
PARAM_VALUE 2 ops->len 0
PARAM_VALUE 2 ops->mode 1
PARAM_VALUE 2 ops->ooblen 0-8,18446744071562067968-u64max
PARAM_VALUE 2 ops->ooboffs 0
PARAM_VALUE 2 ops->oobretlen 0
PARAM_VALUE 2 ops->retlen 0
PARAM_VALUE 2 ops->stats 0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 2 ops->ooblen
UNITS 1 from unit_byte
HALF_LOCKED2 &fc->uapi_mutex

fs/jffs2/wbuf.c jffs2_check_oob_empty() -> mtd_read_oob()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 0 mtd->type 4
PARAM_VALUE 2 ops 4481360892469739520
PARAM_VALUE 2 ops->datbuf 0
PARAM_VALUE 2 ops->len 0
PARAM_VALUE 2 ops->mode 1
PARAM_VALUE 2 ops->ooblen 0-s32max,18446744071562067968-u64max
PARAM_VALUE 2 ops->ooboffs 0
PARAM_VALUE 2 ops->oobretlen 0
PARAM_VALUE 2 ops->retlen 0
PARAM_VALUE 2 ops->stats 0
CAPPED_DATA 0 mtd 1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 from unit_byte
HALF_LOCKED2 &fc->uapi_mutex

drivers/mtd/mtdcore.c mtd_read() -> mtd_read_oob()

Type Parameter Key Value
PARAM_VALUE 0 mtd->dbg.dfs_dir->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 mtd->dbg.dfs_dir->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 mtd->dev.dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 0 mtd->dev.dma_io_tlb_mem->debugfs 0-s64max
PARAM_VALUE 0 mtd->dev.dma_io_tlb_mem->for_alloc 0-1
PARAM_VALUE 0 mtd->dev.dma_io_tlb_mem->force_bounce 0-1
PARAM_VALUE 0 mtd->dev.dma_io_tlb_mem->nslabs 0-s64max
PARAM_VALUE 0 mtd->dev.dma_io_tlb_mem->phys_limit 0-s64max
PARAM_VALUE 0 mtd->dev.kobj.parent->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 mtd->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 mtd->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 mtd->ooblayout->ecc 0,4096-ptr_max
PARAM_VALUE 0 mtd->ooblayout->free 0,4096-ptr_max
PARAM_VALUE 2 ops 4369741940042063872
PARAM_VALUE 2 ops->mode 0
PARAM_VALUE 2 ops->oobbuf 0
PARAM_VALUE 2 ops->ooblen 0
PARAM_VALUE 2 ops->ooboffs 0
PARAM_VALUE 2 ops->oobretlen 0
PARAM_VALUE 2 ops->retlen 0
PARAM_VALUE 2 ops->stats 0
BUF_SIZE 0 mtd s32min-s32max
DATA_SOURCE 0 mtd $0
DATA_SOURCE 1 from $1
STR_LEN 0 mtd (-1),5-6,18
STR_LEN 0 mtd (-1),5-6,18
STR_LEN 0 mtd->dev.driver_data (-1)
STR_LEN 0 mtd->name (-1)
STR_LEN 0 mtd->parent (-1)
NOSPEC 1 from
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 from 0-5294967294[c]
HOST_DATA 2 ops->len 0-u64max[c]
USER_DATA 1 from (-4611686014132420608)-s64max
USER_DATA 2 ops->len 0-u64max[c]
NO_OVERFLOW_SIMPLE 0 mtd->erasesize
NO_OVERFLOW_SIMPLE 0 mtd->parent->erasesize
UNITS 1 from unit_byte
USER_PTR 2 ops->datbuf
HALF_LOCKED2 &c->wbuf_sem
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &mbd->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &psi->read_mutex
HALF_LOCKED2 global &mtd_table_mutex

drivers/mtd/mtdchar.c mtdchar_read() -> mtd_read_oob()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 2 ops 283824847873286144
PARAM_VALUE 2 ops->datbuf 16,4096-ptr_max
PARAM_VALUE 2 ops->len 0-4000000
PARAM_VALUE 2 ops->mode 2
PARAM_VALUE 2 ops->oobbuf 0
PARAM_VALUE 2 ops->ooblen 0
PARAM_VALUE 2 ops->ooboffs 0
PARAM_VALUE 2 ops->oobretlen 0
PARAM_VALUE 2 ops->retlen 0
PARAM_VALUE 2 ops->stats 0
CAPPED_DATA 0 mtd 1
HOST_DATA 1 from 0-5294967294[c]
HOST_DATA 2 ops->len 2-3999999[c]
USER_DATA 1 from 0-1000000000[c]
USER_DATA 2 ops->len 2-3999999[c]
UNITS 1 from unit_byte

drivers/mtd/mtdchar.c mtdchar_read_ioctl() -> mtd_read_oob()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 2 ops 3030438529879707648
PARAM_VALUE 2 ops->datbuf 0-18446744073709551614
PARAM_VALUE 2 ops->len 0-u32max,18446744069414584321-u64max
PARAM_VALUE 2 ops->mode 0-255
PARAM_VALUE 2 ops->oobbuf 0-18446744073709551614
PARAM_VALUE 2 ops->ooblen 0-u32max,18446744071562067969-u64max
PARAM_VALUE 2 ops->ooboffs 0
PARAM_VALUE 2 ops->oobretlen 0
PARAM_VALUE 2 ops->retlen 0
PARAM_VALUE 2 ops->stats 1991994576631922688
DATA_SOURCE 0 mtd $0
USER_DATA 1 from s64min-s64max
USER_DATA 2 ops->len 0-4294967294[c]
USER_DATA 2 ops->mode 0-255
USER_DATA 2 ops->ooblen 0-4294967294[c]
UNITS 1 from unit_byte
LOCK2 &master->master.chrdev_lock
TYPE_LOCK (struct mtd_master)->chrdev_lock

drivers/mtd/mtdchar.c mtdchar_readoob() -> mtd_read_oob()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 2 ops 5825059300830539776
PARAM_VALUE 2 ops->datbuf 0
PARAM_VALUE 2 ops->len 0
PARAM_VALUE 2 ops->mode 0,2
PARAM_VALUE 2 ops->oobbuf 16,4096-ptr_max
PARAM_VALUE 2 ops->ooblen 0-4096
PARAM_VALUE 2 ops->oobretlen 0
PARAM_VALUE 2 ops->retlen 0
PARAM_VALUE 2 ops->stats 0
DATA_SOURCE 0 mtd $1
DATA_SOURCE 1 from $2 [m]
USER_DATA 1 from 0-s64max[c]
USER_DATA 2 ops->ooblen 0-4096[c]
USER_DATA 2 ops->ooboffs 0-u32max[c]
LOCK2 &master->master.chrdev_lock
TYPE_LOCK (struct mtd_master)->chrdev_lock

drivers/mtd/parsers/sharpslpart.c sharpsl_nand_read_oob() -> mtd_read_oob()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 0 mtd->dev.class->class_groups 0
PARAM_VALUE 0 mtd->dev.class->class_release 0
PARAM_VALUE 0 mtd->dev.class->dev_groups 0
PARAM_VALUE 0 mtd->dev.class->dev_release 0
PARAM_VALUE 0 mtd->dev.class->dev_uevent 0
PARAM_VALUE 0 mtd->dev.class->devnode 0
PARAM_VALUE 0 mtd->dev.class->get_ownership 0
PARAM_VALUE 0 mtd->dev.class->name 2440683486689492992
PARAM_VALUE 0 mtd->dev.class->namespace 0
PARAM_VALUE 0 mtd->dev.class->ns_type 0
PARAM_VALUE 0 mtd->dev.class->pm 1336738914307239936
PARAM_VALUE 0 mtd->dev.class->shutdown_pre 0
PARAM_VALUE 0 mtd->dev.devres_head.next->next 4096-ptr_max
PARAM_VALUE 0 mtd->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 mtd->dev.devres_head.prev->prev 4096-ptr_max
PARAM_VALUE 0 mtd->dev.dma_io_tlb_mem->phys_limit 0-s64max
PARAM_VALUE 0 mtd->dev.dma_io_tlb_pools.next->next 4096-ptr_max
PARAM_VALUE 0 mtd->dev.dma_io_tlb_pools.prev->next 4096-ptr_max
PARAM_VALUE 0 mtd->dev.dma_io_tlb_pools.prev->prev 4096-ptr_max
PARAM_VALUE 0 mtd->dev.dma_pools.next->next 4096-ptr_max
PARAM_VALUE 0 mtd->dev.dma_pools.prev->next 4096-ptr_max
PARAM_VALUE 0 mtd->dev.dma_pools.prev->prev 4096-ptr_max
PARAM_VALUE 0 mtd->dev.iommu_group->owner_cnt 0-4294967295
PARAM_VALUE 0 mtd->dev.kobj.entry.next->next 4096-ptr_max
PARAM_VALUE 0 mtd->dev.kobj.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 mtd->dev.kobj.entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 mtd->dev.kobj.ktype->child_ns_type 0,2344685749105987584,4089303432171261952,6274457576243130368,8186263191508828160
PARAM_VALUE 0 mtd->dev.kobj.ktype->get_ownership 0,754295003445952512,1770093955000758272,2031763320308453376,9073032014207823872,9089295143347961856
PARAM_VALUE 0 mtd->dev.kobj.ktype->namespace 0,4096-ptr_max
PARAM_VALUE 0 mtd->dev.kobj.parent->kset->kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 mtd->dev.kobj.parent->kset->kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 mtd->dev.kobj.parent->kset->kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 mtd->dev.kobj.parent->release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 mtd->dev.kobj.parent->release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 mtd->dev.kobj.parent->release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 mtd->dev.kobj.parent->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 mtd->dev.kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 mtd->dev.kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 mtd->dev.kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 mtd->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 mtd->dev.links.consumers.next->next 4096-ptr_max
PARAM_VALUE 0 mtd->dev.links.consumers.prev->next 4096-ptr_max
PARAM_VALUE 0 mtd->dev.links.consumers.prev->prev 4096-ptr_max
PARAM_VALUE 0 mtd->dev.links.defer_sync.next->next 4096-ptr_max
PARAM_VALUE 0 mtd->dev.links.defer_sync.prev->next 4096-ptr_max
PARAM_VALUE 0 mtd->dev.links.defer_sync.prev->prev 4096-ptr_max
PARAM_VALUE 0 mtd->dev.links.suppliers.next->next 4096-ptr_max
PARAM_VALUE 0 mtd->dev.links.suppliers.prev->next 4096-ptr_max
PARAM_VALUE 0 mtd->dev.links.suppliers.prev->prev 4096-ptr_max
PARAM_VALUE 0 mtd->dev.p->dead 0-1
PARAM_VALUE 0 mtd->dev.p->deferred_probe_reason 0-s64max
PARAM_VALUE 0 mtd->dev.parent->kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 mtd->dev.parent->kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 mtd->dev.parent->kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 mtd->dev.power.entry.next->next 4096-ptr_max
PARAM_VALUE 0 mtd->dev.power.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 mtd->dev.power.entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 mtd->dev.power.wait_queue.head.next->next 4096-ptr_max
PARAM_VALUE 0 mtd->dev.power.wait_queue.head.prev->next 4096-ptr_max
PARAM_VALUE 0 mtd->dev.power.wait_queue.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 mtd->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 mtd->dev.type->devnode 0
PARAM_VALUE 0 mtd->dev.type->groups 1157374916128129024
PARAM_VALUE 0 mtd->dev.type->name 2440683486689492992
PARAM_VALUE 0 mtd->dev.type->pm 0
PARAM_VALUE 0 mtd->dev.type->release 6356374343853568000
PARAM_VALUE 0 mtd->dev.type->uevent 0
PARAM_VALUE 0 mtd->nvmem->dev.fwnode->dev->power.set_latency_tolerance 5740181548905971712
PARAM_VALUE 0 mtd->nvmem->dev.init_name 0
PARAM_VALUE 0 mtd->nvmem->dev.iommu_group->owner_cnt 0-4294967295
PARAM_VALUE 0 mtd->nvmem->dev.kobj.ktype->child_ns_type 0,2344685749105987584,4089303432171261952,6274457576243130368,8186263191508828160
PARAM_VALUE 0 mtd->nvmem->dev.kobj.ktype->get_ownership 0,754295003445952512,1770093955000758272,2031763320308453376,9073032014207823872,9089295143347961856
PARAM_VALUE 0 mtd->nvmem->dev.kobj.ktype->release 6807155752432570368
PARAM_VALUE 0 mtd->nvmem->dev.kobj.ktype->sysfs_ops 1281724614633295872
PARAM_VALUE 0 mtd->nvmem->dev.kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 mtd->nvmem->dev.kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 mtd->nvmem->dev.kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 mtd->nvmem->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 mtd->nvmem->dev.p->klist_children.get 2213798222526185472
PARAM_VALUE 0 mtd->nvmem->dev.p->klist_children.put 3126867300421632000
PARAM_VALUE 0 mtd->nvmem->dev.p->knode_bus.n_ref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 mtd->nvmem->dev.p->knode_class.n_ref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 mtd->nvmem->dev.p->knode_parent.n_ref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 mtd->nvmem->eeprom.attr.key 0
PARAM_VALUE 0 mtd->nvmem->eeprom.attr.mode 0
PARAM_VALUE 0 mtd->nvmem->eeprom.attr.name 0
PARAM_VALUE 0 mtd->nvmem->eeprom.f_mapping 0
PARAM_VALUE 0 mtd->nvmem->eeprom.llseek 0
PARAM_VALUE 0 mtd->nvmem->eeprom.mmap 0
PARAM_VALUE 0 mtd->nvmem->eeprom.private 0
PARAM_VALUE 0 mtd->nvmem->eeprom.read 0
PARAM_VALUE 0 mtd->nvmem->eeprom.size 0
PARAM_VALUE 0 mtd->nvmem->eeprom.write 0
PARAM_VALUE 0 mtd->nvmem->fixup_dt_cell_info 0
PARAM_VALUE 0 mtd->nvmem->flags 0
PARAM_VALUE 0 mtd->nvmem->id 0-s32max
PARAM_VALUE 0 mtd->nvmem->keepout 0
PARAM_VALUE 0 mtd->nvmem->layout->dev.driver_data->d_ref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 mtd->nvmem->layout->dev.driver_data->dev.kobj.release.timer.flags 0-4294967295
PARAM_VALUE 0 mtd->nvmem->layout->dev.driver_data->dev.kobj.release.work.flags 0-4294967295
PARAM_VALUE 0 mtd->nvmem->layout->dev.driver_data->dev.kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 mtd->nvmem->layout->dev.driver_data->functions 0-u16max
PARAM_VALUE 0 mtd->nvmem->layout->dev.driver_data->present.counter s32min-s32max
PARAM_VALUE 0 mtd->nvmem->layout->dev.driver_data->resource_setup_done 0-255
PARAM_VALUE 0 mtd->nvmem->layout->dev.driver_data->state 0-4294967295
PARAM_VALUE 0 mtd->nvmem->layout->dev.iommu_group->owner_cnt 0-4294967295
PARAM_VALUE 0 mtd->nvmem->layout->dev.kobj.parent->release.timer.is_queued 0-1
PARAM_VALUE 0 mtd->nvmem->layout->dev.parent->kobj.kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 mtd->nvmem->layout->dev.parent->kobj.release.cpu s32min-s32max
PARAM_VALUE 0 mtd->nvmem->layout->dev.parent->kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 mtd->nvmem->nkeepout 0
PARAM_VALUE 0 mtd->nvmem->node.next 0
PARAM_VALUE 0 mtd->nvmem->node.prev 0
PARAM_VALUE 0 mtd->nvmem->priv s64min-(-4096),4096-s64max
PARAM_VALUE 0 mtd->nvmem->refcnt.refcount.refs.counter 1
PARAM_VALUE 0 mtd->nvmem->reg_read 3041271689549766656
PARAM_VALUE 0 mtd->nvmem->reg_write 0
PARAM_VALUE 0 mtd->nvmem->root_only 1
PARAM_VALUE 0 mtd->nvmem->stride s32min-(-1),1-s32max
PARAM_VALUE 0 mtd->nvmem->type 0
PARAM_VALUE 0 mtd->nvmem->word_size s32min-(-1),1-s32max
PARAM_VALUE 0 mtd->ooblayout->ecc 4096-ptr_max
PARAM_VALUE 0 mtd->ooblayout->free 4096-ptr_max
PARAM_VALUE 0 mtd->partitions.next->next 4096-ptr_max
PARAM_VALUE 0 mtd->partitions.prev->next 4096-ptr_max
PARAM_VALUE 0 mtd->partitions.prev->prev 4096-ptr_max
PARAM_VALUE 0 *mtd->dev.type->groups 6969876286862815232
PARAM_VALUE 1 from 0-31525193089286145
PARAM_VALUE 2 ops 7951769233612275712
PARAM_VALUE 2 ops->datbuf 0
PARAM_VALUE 2 ops->len 0
PARAM_VALUE 2 ops->mode 0
PARAM_VALUE 2 ops->oobbuf 16,4096-ptr_max
PARAM_VALUE 2 ops->ooblen 0-u32max
PARAM_VALUE 2 ops->ooboffs 0
PARAM_VALUE 2 ops->oobretlen 0
PARAM_VALUE 2 ops->retlen 0
PARAM_VALUE 2 ops->stats 0
BUF_SIZE 0 mtd (-1),2448,2984
BUF_SIZE 0 mtd (-1),2448,2984
CAPPED_DATA 0 mtd 1
DATA_SOURCE 0 mtd $0
DATA_SOURCE 1 from $1
STR_LEN 0 mtd->name (-1)
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 mtd->erasesize
NO_OVERFLOW_SIMPLE 0 mtd->parent->erasesize

drivers/mtd/ssfdc.c read_raw_oob() -> mtd_read_oob()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 1 from 0-s64max
PARAM_VALUE 2 ops 1088392116072980480
PARAM_VALUE 2 ops->datbuf 0
PARAM_VALUE 2 ops->len 0
PARAM_VALUE 2 ops->mode 2
PARAM_VALUE 2 ops->oobbuf 92006266821890048
PARAM_VALUE 2 ops->ooblen 16
PARAM_VALUE 2 ops->ooboffs 0
PARAM_VALUE 2 ops->oobretlen 0
PARAM_VALUE 2 ops->retlen 0
PARAM_VALUE 2 ops->stats 0
CAPPED_DATA 0 mtd 1
DATA_SOURCE 0 mtd $0
DATA_SOURCE 1 from $1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 mtd->erasesize
LOCK2 global &mtd_table_mutex

drivers/mtd/mtdconcat.c concat_read_oob() -> mtd_read_oob()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 0 mtd->size 1-u64max
PARAM_VALUE 1 from s64min-(-2),0-s64max
PARAM_VALUE 2 ops 2686650594392408064
CAPPED_DATA 0 mtd->size 1
CAPPED_DATA 1 from 1
CAPPED_DATA 1 from 1
DATA_SOURCE 1 from $1 [m]
PARAM_COMPARE 1 from < $0->size
PARAM_COMPARE 1 from < $0->size
NOSPEC 2 ops->ooblen
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 from 1-5294967294[c]
HOST_DATA 2 ops->len 0-u64max[c]
HOST_DATA 2 ops->ooblen 0-2147487743,18446708889337495552-u64max[c]
HOST_DATA 2 ops->oobretlen 1-35184372056064,18446744071562067968-u64max[c]
HOST_DATA 2 ops->retlen 0-314243001679872,18446744071562067968-u64max[c]
USER_DATA 1 from 1-s64max[c]
USER_DATA 2 ops->len 0-u64max[c]
USER_DATA 2 ops->mode 0-255
USER_DATA 2 ops->ooblen 0-7780333253086,18446321861244682240-u64max
USER_DATA 2 ops->ooboffs 0-u32max[c]
USER_DATA 2 ops->oobretlen 0-422212464869376,18446740775174669824-u64max
USER_DATA 2 ops->retlen 0-u64max
UNITS 1 from unit_byte
USER_PTR 2 ops->datbuf
USER_PTR 2 ops->oobbuf
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &master->master.chrdev_lock
HALF_LOCKED2 global &mtd_table_mutex

drivers/mtd/inftlcore.c inftl_read_oob() -> mtd_read_oob()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 1 from 0-4294967295
PARAM_VALUE 2 ops 1472817610782109696
PARAM_VALUE 2 ops->datbuf 0
PARAM_VALUE 2 ops->len 0
PARAM_VALUE 2 ops->mode 0
PARAM_VALUE 2 ops->oobbuf 4096-ptr_max
PARAM_VALUE 2 ops->oobretlen 0
PARAM_VALUE 2 ops->retlen 0
PARAM_VALUE 2 ops->stats 0
BUF_SIZE 0 mtd (-1),2448,2984
BUF_SIZE 0 mtd (-1),2448,2984
CAPPED_DATA 1 from 1
DATA_SOURCE 0 mtd $0
STR_LEN 0 mtd->dev.driver_data (-1)
STR_LEN 0 mtd->name (-1)
BIT_INFO 1 from 0x0,0xffffffff
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 mtd->erasesize
HALF_LOCKED2 &mbd->lock
HALF_LOCKED2 global &mtd_table_mutex

drivers/mtd/sm_ftl.c sm_read_sector() -> mtd_read_oob()

Type Parameter Key Value
PARAM_VALUE 1 from s32min-s32max
PARAM_VALUE 2 ops 4556581734683615232
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &ftl->mutex
HALF_LOCKED2 global &mtd_table_mutex

drivers/mtd/tests/oobtest.c mtd_oobtest_init() -> mtd_read_oob()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 2 ops 2261114623674265600
PARAM_VALUE 2 ops->datbuf 0
PARAM_VALUE 2 ops->len 0
PARAM_VALUE 2 ops->mode 1
PARAM_VALUE 2 ops->oobbuf 16,4096-ptr_max
PARAM_VALUE 2 ops->ooblen 1
PARAM_VALUE 2 ops->oobretlen 0
PARAM_VALUE 2 ops->retlen 0
PARAM_VALUE 2 ops->stats 0
DATA_SOURCE 0 mtd r get_mtd_device

drivers/mtd/tests/oobtest.c mtd_oobtest_init() -> mtd_read_oob()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 2 ops 2261114623674265600
PARAM_VALUE 2 ops->datbuf 0
PARAM_VALUE 2 ops->len 0
PARAM_VALUE 2 ops->mode 1
PARAM_VALUE 2 ops->oobbuf 16,4096-ptr_max
PARAM_VALUE 2 ops->ooblen 0-u32max
PARAM_VALUE 2 ops->ooboffs 0
PARAM_VALUE 2 ops->oobretlen 0
PARAM_VALUE 2 ops->retlen 0
DATA_SOURCE 0 mtd r get_mtd_device
UNITS 1 from unit_byte

drivers/mtd/tests/oobtest.c mtd_oobtest_init() -> mtd_read_oob()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 2 ops 2261114623674265600
PARAM_VALUE 2 ops->datbuf 0
PARAM_VALUE 2 ops->len 0
PARAM_VALUE 2 ops->mode 1
PARAM_VALUE 2 ops->oobbuf 16,4096-ptr_max
PARAM_VALUE 2 ops->ooblen 0-u32max
PARAM_VALUE 2 ops->ooboffs 1
PARAM_VALUE 2 ops->oobretlen 0
PARAM_VALUE 2 ops->retlen 0
DATA_SOURCE 0 mtd r get_mtd_device
UNITS 1 from unit_byte

drivers/mtd/tests/oobtest.c mtd_oobtest_init() -> mtd_read_oob()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 2 ops 2261114623674265600
PARAM_VALUE 2 ops->datbuf 0
PARAM_VALUE 2 ops->len 0
PARAM_VALUE 2 ops->mode 1
PARAM_VALUE 2 ops->oobbuf 16,4096-ptr_max
PARAM_VALUE 2 ops->ooblen 0-u32max
PARAM_VALUE 2 ops->ooboffs 0
PARAM_VALUE 2 ops->oobretlen 0
PARAM_VALUE 2 ops->retlen 0
DATA_SOURCE 0 mtd r get_mtd_device
UNITS 1 from unit_byte

drivers/mtd/tests/oobtest.c verify_eraseblock() -> mtd_read_oob()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 2 ops 3871956429365125120
PARAM_VALUE 2 ops->datbuf 0
PARAM_VALUE 2 ops->len 0
PARAM_VALUE 2 ops->mode 1
PARAM_VALUE 2 ops->oobbuf 0,16,4096-ptr_max
PARAM_VALUE 2 ops->ooblen 0-s32max,18446744071562067968-u64max
PARAM_VALUE 2 ops->ooboffs 0-41
PARAM_VALUE 2 ops->oobretlen 0
PARAM_VALUE 2 ops->retlen 0

drivers/mtd/tests/oobtest.c verify_eraseblock() -> mtd_read_oob()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 1 from 0-s64max
PARAM_VALUE 2 ops 3871956429365125120
PARAM_VALUE 2 ops->datbuf 0
PARAM_VALUE 2 ops->len 0
PARAM_VALUE 2 ops->mode 1
PARAM_VALUE 2 ops->oobbuf 0,16,4096-ptr_max
PARAM_VALUE 2 ops->ooblen 0-u32max
PARAM_VALUE 2 ops->ooboffs 0
PARAM_VALUE 2 ops->oobretlen 0
PARAM_VALUE 2 ops->retlen 0

drivers/mtd/tests/oobtest.c verify_eraseblock_in_one_go() -> mtd_read_oob()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 2 ops 3371169750553231360
PARAM_VALUE 2 ops->datbuf 0
PARAM_VALUE 2 ops->len 0
PARAM_VALUE 2 ops->mode 1
PARAM_VALUE 2 ops->oobbuf 0,16,4096-ptr_max
PARAM_VALUE 2 ops->ooblen 0-u32max
PARAM_VALUE 2 ops->ooboffs 0
PARAM_VALUE 2 ops->oobretlen 0
PARAM_VALUE 2 ops->retlen 0
PARAM_VALUE 2 ops->stats 0

drivers/mtd/nand/raw/nand_bbt.c scan_block_fast() -> mtd_read_oob()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 2 ops 1934318310398709760
BUF_SIZE 0 mtd 2448
DATA_SOURCE 0 mtd r nand_to_mtd
RX_PATH
TASK_NOT_RUNNING

drivers/mtd/nand/raw/nand_bbt.c scan_read_oob() -> mtd_read_oob()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 2 ops 6382581174765641728
PARAM_VALUE 2 ops->datbuf 1-u64max
PARAM_VALUE 2 ops->len 0-u32max
PARAM_VALUE 2 ops->oobbuf 4096-ptr_max
BUF_SIZE 0 mtd 2448
DATA_SOURCE 0 mtd r nand_to_mtd
DATA_SOURCE 1 from $2
RX_PATH
TASK_NOT_RUNNING

drivers/mtd/nand/raw/nand_bbt.c write_bbt() -> mtd_read_oob()

Type Parameter Key Value
PARAM_VALUE 0 mtd 4096-ptr_max
PARAM_VALUE 2 ops 9058830462769176576
PARAM_VALUE 2 ops->oobbuf 4096-ptr_max
BUF_SIZE 0 mtd 2448
CAPPED_DATA 0 mtd 1
DATA_SOURCE 0 mtd r nand_to_mtd
RX_PATH
TASK_NOT_RUNNING
UNITS 1 from unit_byte