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/wl.c wear_leveling_worker() -> ubi_eba_copy_leb()

Type Parameter Key Value
PARAM_VALUE 0 ubi 4096-ptr_max
PARAM_VALUE 0 ubi->dev.dma_io_tlb_mem->debugfs 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_do_produce_anchor 0
PARAM_VALUE 0 ubi->fm_eba_sem.dep_map->name 0-255
PARAM_VALUE 0 ubi->fm_eba_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 ubi->fm_eba_sem.first_waiter->list.next 2212933610777083904
PARAM_VALUE 0 ubi->fm_eba_sem.first_waiter->list.prev 2212933610777083904
PARAM_VALUE 0 ubi->fm_eba_sem.first_waiter->type 0-1
PARAM_VALUE 0 ubi->fm_eba_sem.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ubi->fm_eba_sem.wait_lock.owner (-1)
PARAM_VALUE 0 ubi->fm_eba_sem.wait_lock.owner_cpu u32max
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->leb_size 0-s32max
PARAM_VALUE 0 ubi->move_from 4096-ptr_max
PARAM_VALUE 0 ubi->move_from->u.rb.rb_left 0,4096-ptr_max
PARAM_VALUE 0 ubi->move_from->u.rb.rb_right 0,4096-ptr_max
PARAM_VALUE 0 ubi->move_mutex.dep_map->name 0-255
PARAM_VALUE 0 ubi->move_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ubi->move_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ubi->move_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ubi->move_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ubi->move_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ubi->move_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 ubi->move_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ubi->move_to 4096-ptr_max
PARAM_VALUE 0 ubi->used.rb_node 0,4096-ptr_max
PARAM_VALUE 0 ubi->vid_hdr_alsize 0-4000000
PARAM_VALUE 0 ubi->wl_lock.rlock.dep_map->name 0-255
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 3 vidb 4096-ptr_max
PARAM_VALUE 3 vidb->buffer 16,4096-ptr_max
PARAM_VALUE 3 vidb->hdr 4096-ptr_max
PARAM_VALUE 3 vidb->hdr->compat 0-2,4-5
PARAM_VALUE 3 vidb->hdr->copy_flag 0-1
PARAM_VALUE 3 vidb->hdr->data_pad 0-2147483646
PARAM_VALUE 3 vidb->hdr->data_size 0-s32max
PARAM_VALUE 3 vidb->hdr->lnum 0-s32max
PARAM_VALUE 3 vidb->hdr->magic 1430407457
PARAM_VALUE 3 vidb->hdr->used_ebs 0-s32max
PARAM_VALUE 3 vidb->hdr->vol_id 0-127,2147479551-s32max
PARAM_VALUE 3 vidb->hdr->vol_type 1-2
PARAM_VALUE 3 *vidb->buffer 0-255
BUF_SIZE 0 ubi (-1),128
BUF_SIZE 0 ubi (-1),128
BUF_SIZE 3 vidb 16
CAPPED_DATA 0 &ubi->fm_eba_sem 1
CAPPED_DATA 0 &ubi->move_mutex 1
CAPPED_DATA 3 vidb->hdr->data_pad 1
CAPPED_DATA 3 vidb->hdr->data_size 1
CAPPED_DATA 3 vidb->hdr->hdr_crc 1
CAPPED_DATA 3 vidb->hdr->lnum 1
DATA_SOURCE 0 ubi $0
DATA_SOURCE 3 vidb r ubi_alloc_vid_buf
STR_LEN 0 ubi->dev.parent->driver_data (-1)
STR_LEN 0 ubi->mtd (-1)
STR_LEN 0 ubi->mtd->dev.driver_data (-1)
STR_LEN 0 ubi->mtd->name (-1)
PARAM_COMPARE 0 ubi->leb_size >= $3->hdr->data_size
RX_PATH
TASK_NOT_RUNNING
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->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
LOCK2 0 &ubi->fm_eba_sem
LOCK2 0 &ubi->move_mutex
LOCK2 0 &ubi->work_sem
HALF_LOCKED2 0 &ubi->device_mutex
TYPE_LOCK (struct ubi_device)->fm_eba_sem
TYPE_LOCK (struct ubi_device)->move_mutex
TYPE_LOCK (struct ubi_device)->work_sem