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/vmt.c ubi_resize_volume() -> ubi_eba_copy_table()

Type Parameter Key Value
PARAM_VALUE 0 vol 4096-ptr_max
PARAM_VALUE 0 vol->ref_count s32min-1
PARAM_VALUE 0 vol->ubi 4096-ptr_max
PARAM_VALUE 0 vol->ubi->avail_pebs 0-2147483646
PARAM_VALUE 0 vol->ubi->ro_mode 0
PARAM_VALUE 0 vol->ubi->volumes_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 dst 4096-ptr_max
BUF_SIZE 1 dst 8
BUF_SIZE 1 dst 8
DATA_SOURCE 1 dst r ubi_eba_create_table
FUZZY_MAX 0 vol->ref_count 1
HARD_MAX 0 vol->ref_count 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 nentries unit_array_size
LOCK2 &ubi->volumes_lock
HALF_LOCKED2 &ubi->device_mutex
HALF_LOCKED2 global &ubi_devices_mutex
TYPE_LOCK (struct ubi_device)->volumes_lock

drivers/mtd/ubi/vmt.c ubi_resize_volume() -> ubi_eba_copy_table()

Type Parameter Key Value
PARAM_VALUE 0 vol 4096-ptr_max
PARAM_VALUE 0 vol->ref_count s32min-1
PARAM_VALUE 0 vol->ubi 4096-ptr_max
PARAM_VALUE 0 vol->ubi->fm_eba_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 vol->ubi->fm_eba_sem.first_waiter->type 0-1
PARAM_VALUE 0 vol->ubi->fm_protect.first_waiter->handoff_set 0-1
PARAM_VALUE 0 vol->ubi->fm_protect.first_waiter->type 0-1
PARAM_VALUE 0 vol->ubi->ltree.rb_node 1-u64max
PARAM_VALUE 0 vol->ubi->ltree_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 vol->ubi->move_mutex.dep_map->name 0-255
PARAM_VALUE 0 vol->ubi->move_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 vol->ubi->move_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 vol->ubi->move_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 vol->ubi->move_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 vol->ubi->move_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 vol->ubi->move_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 vol->ubi->move_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 vol->ubi->ro_mode 0
PARAM_VALUE 0 vol->ubi->volumes_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 vol->ubi->work_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 vol->ubi->work_sem.first_waiter->type 0-1
PARAM_VALUE 1 dst 4096-ptr_max
BUF_SIZE 1 dst 8
BUF_SIZE 1 dst 8
CAPPED_DATA 2 nentries 1
DATA_SOURCE 1 dst r ubi_eba_create_table
DATA_SOURCE 2 nentries $1
FUZZY_MAX 0 vol->ref_count 1
PARAM_COMPARE 2 nentries != $0->reserved_pebs
HARD_MAX 0 vol->ref_count 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 vol->reserved_pebs
NO_OVERFLOW_SIMPLE 2 nentries
UNITS 2 nentries unit_array_size
LOCK2 &ubi->volumes_lock
HALF_LOCKED2 &ubi->device_mutex
HALF_LOCKED2 global &ubi_devices_mutex
TYPE_LOCK (struct ubi_device)->volumes_lock

drivers/mtd/ubi/vmt.c ubi_resize_volume() -> ubi_eba_copy_table()

Type Parameter Key Value
PARAM_VALUE 0 vol 4096-ptr_max
PARAM_VALUE 0 vol->eba_tbl 4096-ptr_max
PARAM_VALUE 0 vol->ref_count s32min-1
PARAM_VALUE 0 vol->ubi 4096-ptr_max
PARAM_VALUE 0 vol->ubi->alc_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 vol->ubi->alc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 vol->ubi->alc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 vol->ubi->alc_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 vol->ubi->alc_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 vol->ubi->alc_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 vol->ubi->alc_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 vol->ubi->alc_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 vol->ubi->alc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 vol->ubi->bgt_thread->__state 0,512
PARAM_VALUE 0 vol->ubi->bgt_thread->core_node.__rb_parent_color 1
PARAM_VALUE 0 vol->ubi->bgt_thread->core_node.rb_left 4096-ptr_max
PARAM_VALUE 0 vol->ubi->bgt_thread->core_node.rb_right 4096-ptr_max
PARAM_VALUE 0 vol->ubi->bgt_thread->cpus_ptr 4096-ptr_max
PARAM_VALUE 0 vol->ubi->bgt_thread->delays->blkio_delay_max_ts.tv_nsec 0-999999999
PARAM_VALUE 0 vol->ubi->bgt_thread->delays->lock.owner_cpu 4294967295
PARAM_VALUE 0 vol->ubi->bgt_thread->delays->lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 vol->ubi->bgt_thread->dl.rq->active_balance s32min-s32max
PARAM_VALUE 0 vol->ubi->bgt_thread->dl.rq->clock_update_flags 0-4294967295
PARAM_VALUE 0 vol->ubi->bgt_thread->dl.rq->core_enabled 0-4294967295
PARAM_VALUE 0 vol->ubi->bgt_thread->dl.rq->core_forceidle_count 0-4294967295
PARAM_VALUE 0 vol->ubi->bgt_thread->dl.rq->core_forceidle_occupation 0-4294967295
PARAM_VALUE 0 vol->ubi->bgt_thread->dl.rq->core_forceidle_seq 0-4294967295
PARAM_VALUE 0 vol->ubi->bgt_thread->dl.rq->core_pick_seq 0-4294967295
PARAM_VALUE 0 vol->ubi->bgt_thread->dl.rq->core_sched_seq 0-4294967295
PARAM_VALUE 0 vol->ubi->bgt_thread->dl.rq->core_task_seq 0-4294967295
PARAM_VALUE 0 vol->ubi->bgt_thread->dl.rq->cpu s32min-s32max
PARAM_VALUE 0 vol->ubi->bgt_thread->dl.rq->has_blocked_load 0-4294967295
PARAM_VALUE 0 vol->ubi->bgt_thread->dl.rq->hrtick_sched 0-4294967295
PARAM_VALUE 0 vol->ubi->bgt_thread->dl.rq->idle_balance 0-255
PARAM_VALUE 0 vol->ubi->bgt_thread->dl.rq->membarrier_state s32min-s32max
PARAM_VALUE 0 vol->ubi->bgt_thread->dl.rq->nohz_idle_balance 0-255
PARAM_VALUE 0 vol->ubi->bgt_thread->dl.rq->nohz_tick_stopped 0-4294967295
PARAM_VALUE 0 vol->ubi->bgt_thread->dl.rq->nr_llc_running 0-4294967295
PARAM_VALUE 0 vol->ubi->bgt_thread->dl.rq->nr_numa_running 0-4294967295
PARAM_VALUE 0 vol->ubi->bgt_thread->dl.rq->nr_pinned 0-4294967295
PARAM_VALUE 0 vol->ubi->bgt_thread->dl.rq->nr_pref_llc_running 0-4294967295
PARAM_VALUE 0 vol->ubi->bgt_thread->dl.rq->nr_preferred_running 0-4294967295
PARAM_VALUE 0 vol->ubi->bgt_thread->dl.rq->nr_running 0-4294967295
PARAM_VALUE 0 vol->ubi->bgt_thread->dl.rq->numa_migrate_on 0-4294967295
PARAM_VALUE 0 vol->ubi->bgt_thread->dl.rq->online s32min-s32max
PARAM_VALUE 0 vol->ubi->bgt_thread->dl.rq->push_busy 0-4294967295
PARAM_VALUE 0 vol->ubi->bgt_thread->dl.rq->push_cpu s32min-s32max
PARAM_VALUE 0 vol->ubi->bgt_thread->dl.rq->sched_count 0-4294967295
PARAM_VALUE 0 vol->ubi->bgt_thread->dl.rq->sched_goidle 0-4294967295
PARAM_VALUE 0 vol->ubi->bgt_thread->dl.rq->ticks_without_resched s32min-s32max
PARAM_VALUE 0 vol->ubi->bgt_thread->dl.rq->ttwu_count 0-4294967295
PARAM_VALUE 0 vol->ubi->bgt_thread->dl.rq->ttwu_local 0-4294967295
PARAM_VALUE 0 vol->ubi->bgt_thread->dl.rq->ttwu_pending 0-4294967295
PARAM_VALUE 0 vol->ubi->bgt_thread->dl.rq->uclamp_flags 0-4294967295
PARAM_VALUE 0 vol->ubi->bgt_thread->dl.rq->yld_count 0-4294967295
PARAM_VALUE 0 vol->ubi->bgt_thread->mm->mm_cid.irq_work.node.a_flags.counter 0-s32max
PARAM_VALUE 0 vol->ubi->bgt_thread->mm->mm_cid.max_cids 0-s32max
PARAM_VALUE 0 vol->ubi->bgt_thread->mm->mm_cid.pcpu_thrs 1-1073741823
PARAM_VALUE 0 vol->ubi->bgt_thread->mm->mm_cid.update_deferred 1
PARAM_VALUE 0 vol->ubi->bgt_thread->on_rq 0-1,3-255
PARAM_VALUE 0 vol->ubi->bgt_thread->pushable_dl_tasks.__rb_parent_color 1
PARAM_VALUE 0 vol->ubi->bgt_thread->pushable_dl_tasks.rb_left 4096-ptr_max
PARAM_VALUE 0 vol->ubi->bgt_thread->pushable_tasks.prio_list.next->prev 4096-ptr_max
PARAM_VALUE 0 vol->ubi->bgt_thread->rseq.event.ids_changed 1
PARAM_VALUE 0 vol->ubi->bgt_thread->sched_migrated 1
PARAM_VALUE 0 vol->ubi->bgt_thread->sched_task_group->parent 0-s64max
PARAM_VALUE 0 vol->ubi->bgt_thread->se.cfs_rq->propagate 1
PARAM_VALUE 0 vol->ubi->bgt_thread->se.cfs_rq->removed.lock.owner (-1)
PARAM_VALUE 0 vol->ubi->bgt_thread->se.cfs_rq->removed.lock.owner_cpu 4294967295
PARAM_VALUE 0 vol->ubi->bgt_thread->se.cfs_rq->rq->curr->mm->sc_stat.cpu (-1)
PARAM_VALUE 0 vol->ubi->bgt_thread->se.cfs_rq->rq->curr->pref_llc_queued 0-1
PARAM_VALUE 0 vol->ubi->bgt_thread->se.cfs_rq->rq->donor->__state 0,512
PARAM_VALUE 0 vol->ubi->bgt_thread->se.cfs_rq->rq->donor->core_node.__rb_parent_color 1
PARAM_VALUE 0 vol->ubi->bgt_thread->se.cfs_rq->rq->donor->dl.dl_timer.base->clockid 0-1,7,11
PARAM_VALUE 0 vol->ubi->bgt_thread->se.cfs_rq->rq->donor->dl.dl_timer.base->index 0-7
PARAM_VALUE 0 vol->ubi->bgt_thread->se.cfs_rq->rq->donor->dl.rb_node.__rb_parent_color 1
PARAM_VALUE 0 vol->ubi->bgt_thread->se.cfs_rq->rq->donor->pushable_dl_tasks.__rb_parent_color 1
PARAM_VALUE 0 vol->ubi->bgt_thread->se.cfs_rq->rq->donor->rseq.event.ids_changed 1
PARAM_VALUE 0 vol->ubi->bgt_thread->se.cfs_rq->rq->donor->sched_migrated 1
PARAM_VALUE 0 vol->ubi->bgt_thread->se.cfs_rq->rq->donor->wake_cpu 0-s32max
PARAM_VALUE 0 vol->ubi->bgt_thread->se.group_node.next->next 4096-ptr_max
PARAM_VALUE 0 vol->ubi->bgt_thread->se.group_node.next->prev 4096-ptr_max
PARAM_VALUE 0 vol->ubi->bgt_thread->se.group_node.prev->next 4096-ptr_max
PARAM_VALUE 0 vol->ubi->bgt_thread->se.group_node.prev->prev 4096-ptr_max
PARAM_VALUE 0 vol->ubi->bgt_thread->wake_cpu 0-s32max
PARAM_VALUE 0 vol->ubi->dbg.power_cut_counter 0
PARAM_VALUE 0 vol->ubi->erroneous.rb_node 4096-ptr_max
PARAM_VALUE 0 vol->ubi->fm_eba_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 vol->ubi->fm_eba_sem.first_waiter->type 0-1
PARAM_VALUE 0 vol->ubi->fm_protect.first_waiter->handoff_set 0-1
PARAM_VALUE 0 vol->ubi->fm_protect.first_waiter->type 0-1
PARAM_VALUE 0 vol->ubi->ltree.rb_node 1-u64max
PARAM_VALUE 0 vol->ubi->ltree_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 vol->ubi->move_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 vol->ubi->move_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 vol->ubi->move_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 vol->ubi->move_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 vol->ubi->move_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 vol->ubi->move_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 vol->ubi->move_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 vol->ubi->move_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 vol->ubi->move_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 vol->ubi->scrub.rb_node 4096-ptr_max
PARAM_VALUE 0 vol->ubi->used.rb_node 4096-ptr_max
PARAM_VALUE 0 vol->ubi->volumes_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 vol->ubi->work_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 vol->ubi->work_sem.first_waiter->type 0-1
BUF_SIZE 0 vol->eba_tbl 8
CAPPED_DATA 0 vol->reserved_pebs 1
CAPPED_DATA 2 nentries 1
FUZZY_MAX 0 vol->ref_count 1
HARD_MAX 0 vol->ref_count 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 vol->reserved_pebs
NO_OVERFLOW_SIMPLE 2 nentries
UNITS 2 nentries unit_array_size
LOCK2 &ubi->volumes_lock
HALF_LOCKED2 &ubi->device_mutex
HALF_LOCKED2 global &ubi_devices_mutex
TYPE_LOCK (struct ubi_device)->volumes_lock

drivers/mtd/ubi/vmt.c ubi_resize_volume() -> ubi_eba_copy_table()

Type Parameter Key Value
PARAM_VALUE 0 vol 4096-ptr_max
PARAM_VALUE 0 vol->ref_count s32min-1
PARAM_VALUE 0 vol->ubi 4096-ptr_max
PARAM_VALUE 0 vol->ubi->fm_eba_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 vol->ubi->fm_eba_sem.first_waiter->type 0-1
PARAM_VALUE 0 vol->ubi->fm_protect.first_waiter->handoff_set 0-1
PARAM_VALUE 0 vol->ubi->fm_protect.first_waiter->type 0-1
PARAM_VALUE 0 vol->ubi->ltree.rb_node 1-u64max
PARAM_VALUE 0 vol->ubi->ltree_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 vol->ubi->move_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 vol->ubi->move_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 vol->ubi->move_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 vol->ubi->move_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 vol->ubi->move_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 vol->ubi->move_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 vol->ubi->move_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 vol->ubi->volumes_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 vol->ubi->work_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 vol->ubi->work_sem.first_waiter->type 0-1
BUF_SIZE 0 vol->eba_tbl (-1),8
CAPPED_DATA 0 vol->reserved_pebs 1
CAPPED_DATA 2 nentries 1
DATA_SOURCE 2 nentries $1
FUZZY_MAX 0 vol->ref_count 1
HARD_MAX 0 vol->ref_count 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 vol->reserved_pebs
NO_OVERFLOW_SIMPLE 2 nentries
UNITS 2 nentries unit_array_size
LOCK2 &ubi->volumes_lock
HALF_LOCKED2 &ubi->device_mutex
HALF_LOCKED2 global &ubi_devices_mutex
TYPE_LOCK (struct ubi_device)->volumes_lock