Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/mtd/ubi/io.c self_check_peb_vid_hdr() -> self_check_vid_hdr()

Type Parameter Key Value
PARAM_VALUE 0 ubi 4096-ptr_max
PARAM_VALUE 0 ubi->bgt_thread->sched_class->set_cpus_allowed 0,1927640468783054848,5094656021401329664,7127180339355369472
PARAM_VALUE 0 ubi->dbg.chk_io 1
PARAM_VALUE 0 ubi->dev.dma_io_tlb_mem->phys_limit 0-s64max
PARAM_VALUE 0 ubi->dev.kobj.parent->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 ubi->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 ubi->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 ubi->fm_eba_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 ubi->fm_eba_sem.first_waiter->type 0-1
PARAM_VALUE 0 ubi->fm_protect.first_waiter->handoff_set 0-1
PARAM_VALUE 0 ubi->fm_protect.first_waiter->type 0-1
PARAM_VALUE 0 ubi->ro_mode 0
PARAM_VALUE 0 ubi->vid_hdr_alsize 0-4000000
PARAM_VALUE 0 ubi->work_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 ubi->work_sem.first_waiter->type 0-1
PARAM_VALUE 2 vid_hdr 4096-ptr_max
BUF_SIZE 0 ubi (-1),128
BUF_SIZE 0 ubi (-1),128
BUF_SIZE 0 ubi->lookuptbl (-1),8
CAPPED_DATA 0 ubi->leb_start 1
DATA_SOURCE 0 ubi $0
DATA_SOURCE 1 pnum $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 *ubi->peb_buf 0-255
NO_OVERFLOW_SIMPLE 0 ubi->bgt_thread->dl.pi_se->dl_runtime
NO_OVERFLOW_SIMPLE 0 ubi->cdev.count
NO_OVERFLOW_SIMPLE 0 ubi->ec_hdr_alsize
NO_OVERFLOW_SIMPLE 0 ubi->fm_size
NO_OVERFLOW_SIMPLE 0 ubi->leb_size
NO_OVERFLOW_SIMPLE 0 ubi->mtd->erasesize
NO_OVERFLOW_SIMPLE 0 ubi->peb_count
NO_OVERFLOW_SIMPLE 0 ubi->peb_size
NO_OVERFLOW_SIMPLE 0 ubi->vid_hdr_aloffset
NO_OVERFLOW_SIMPLE 0 ubi->vid_hdr_alsize
NO_OVERFLOW_SIMPLE 0 ubi->vtbl_size
NO_OVERFLOW_SIMPLE 1 pnum
UNITS 2 vid_hdr unit_byte
HALF_LOCKED2 &le->mutex
HALF_LOCKED2 global &ubi_devices_mutex
HALF_LOCKED2 0 &ubi->buf_mutex
HALF_LOCKED2 0 &ubi->device_mutex
HALF_LOCKED2 0 &ubi->fm_eba_sem
HALF_LOCKED2 0 &ubi->fm_protect
HALF_LOCKED2 0 &ubi->move_mutex
HALF_LOCKED2 0 &ubi->work_sem

drivers/mtd/ubi/io.c ubi_io_write_vid_hdr() -> self_check_vid_hdr()

Type Parameter Key Value
PARAM_VALUE 0 ubi 4096-ptr_max
PARAM_VALUE 0 ubi->bgt_thread->sched_class->set_cpus_allowed 0,1927640468783054848,5094656021401329664,7127180339355369472
PARAM_VALUE 0 ubi->dev.dma_io_tlb_mem->can_grow 0-1
PARAM_VALUE 0 ubi->dev.dma_io_tlb_mem->debugfs 0-s64max
PARAM_VALUE 0 ubi->dev.dma_io_tlb_mem->for_alloc 0-1
PARAM_VALUE 0 ubi->dev.dma_io_tlb_mem->force_bounce 0-1
PARAM_VALUE 0 ubi->dev.dma_io_tlb_mem->nslabs 0-s64max
PARAM_VALUE 0 ubi->dev.dma_io_tlb_mem->phys_limit 0-s64max
PARAM_VALUE 0 ubi->dev.kobj.parent->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 ubi->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 ubi->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 ubi->fm_eba_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 ubi->fm_eba_sem.first_waiter->type 0-1
PARAM_VALUE 0 ubi->fm_protect.first_waiter->handoff_set 0-1
PARAM_VALUE 0 ubi->fm_protect.first_waiter->type 0-1
PARAM_VALUE 0 ubi->work_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 ubi->work_sem.first_waiter->type 0-1
PARAM_VALUE 2 vid_hdr 4096-ptr_max
PARAM_VALUE 2 vid_hdr->magic 1430407457
PARAM_VALUE 2 vid_hdr->version 1
BUF_SIZE 0 ubi (-1),128
BUF_SIZE 0 ubi (-1),128
DATA_SOURCE 0 ubi $0
DATA_SOURCE 1 pnum $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 *ubi->peb_buf 0-255
NO_OVERFLOW_SIMPLE 0 ubi->bgt_thread->dl.pi_se->dl_runtime
NO_OVERFLOW_SIMPLE 0 ubi->ec_hdr_alsize
NO_OVERFLOW_SIMPLE 0 ubi->fm_size
NO_OVERFLOW_SIMPLE 0 ubi->mtd->erasesize
NO_OVERFLOW_SIMPLE 0 ubi->peb_count
NO_OVERFLOW_SIMPLE 0 ubi->peb_size
NO_OVERFLOW_SIMPLE 0 ubi->vid_hdr_aloffset
NO_OVERFLOW_SIMPLE 0 ubi->vid_hdr_alsize
NO_OVERFLOW_SIMPLE 0 ubi->vtbl_size
NO_OVERFLOW_SIMPLE 1 pnum
UNITS 2 vid_hdr unit_byte
HALF_LOCKED2 &le->mutex
HALF_LOCKED2 global &ubi_devices_mutex
HALF_LOCKED2 0 &ubi->buf_mutex
HALF_LOCKED2 0 &ubi->device_mutex
HALF_LOCKED2 0 &ubi->fm_eba_sem
HALF_LOCKED2 0 &ubi->fm_protect
HALF_LOCKED2 0 &ubi->move_mutex
HALF_LOCKED2 0 &ubi->work_sem