Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

287600322642ac2d invalidate_fastmap() -> ubi_wl_get_fm_peb()

Type Parameter Key Value
PARAM_VALUE 0 ubi 4096-ptr_max
PARAM_VALUE 0 ubi->fm 0
PARAM_VALUE 0 ubi->vid_hdr_alsize 0-4000000
PARAM_VALUE 1 anchor 1
DATA_SOURCE 0 ubi $0

287600322642ac2d ubi_update_fastmap() -> ubi_wl_get_fm_peb()

Type Parameter Key Value
PARAM_VALUE 0 ubi 4096-ptr_max
PARAM_VALUE 0 ubi->bgt_thread->__state 0,512
PARAM_VALUE 0 ubi->bgt_thread->blocked_on 0
PARAM_VALUE 0 ubi->bgt_thread->core_node.__rb_parent_color 1
PARAM_VALUE 0 ubi->bgt_thread->core_node.rb_left 4096-ptr_max
PARAM_VALUE 0 ubi->bgt_thread->core_node.rb_right 4096-ptr_max
PARAM_VALUE 0 ubi->bgt_thread->cpus_ptr 4096-ptr_max
PARAM_VALUE 0 ubi->bgt_thread->delays->blkio_count 0-4294967295
PARAM_VALUE 0 ubi->bgt_thread->delays->blkio_delay_max 0-s64max
PARAM_VALUE 0 ubi->bgt_thread->delays->blkio_delay_max_ts.tv_nsec 0-999999999
PARAM_VALUE 0 ubi->bgt_thread->delays->blkio_delay_min 0-s64max
PARAM_VALUE 0 ubi->bgt_thread->delays->lock.owner (-1)
PARAM_VALUE 0 ubi->bgt_thread->delays->lock.owner_cpu 4294967295
PARAM_VALUE 0 ubi->bgt_thread->delays->lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 ubi->bgt_thread->dl.pi_se->pi_se 4096-ptr_max
PARAM_VALUE 0 ubi->bgt_thread->dl.rq->active_balance s32min-s32max
PARAM_VALUE 0 ubi->bgt_thread->dl.rq->clock_update_flags 0-4294967295
PARAM_VALUE 0 ubi->bgt_thread->dl.rq->core_enabled 0-4294967295
PARAM_VALUE 0 ubi->bgt_thread->dl.rq->core_forceidle_count 0-4294967295
PARAM_VALUE 0 ubi->bgt_thread->dl.rq->core_forceidle_occupation 0-4294967295
PARAM_VALUE 0 ubi->bgt_thread->dl.rq->core_forceidle_seq 0-4294967295
PARAM_VALUE 0 ubi->bgt_thread->dl.rq->core_pick_seq 0-4294967295
PARAM_VALUE 0 ubi->bgt_thread->dl.rq->core_sched_seq 0-4294967295
PARAM_VALUE 0 ubi->bgt_thread->dl.rq->core_task_seq 0-4294967295
PARAM_VALUE 0 ubi->bgt_thread->dl.rq->cpu s32min-s32max
PARAM_VALUE 0 ubi->bgt_thread->dl.rq->has_blocked_load 0-4294967295
PARAM_VALUE 0 ubi->bgt_thread->dl.rq->hrtick_sched 0-4294967295
PARAM_VALUE 0 ubi->bgt_thread->dl.rq->idle_balance 0-255
PARAM_VALUE 0 ubi->bgt_thread->dl.rq->membarrier_state s32min-s32max
PARAM_VALUE 0 ubi->bgt_thread->dl.rq->nohz_idle_balance 0-255
PARAM_VALUE 0 ubi->bgt_thread->dl.rq->nohz_tick_stopped 0-4294967295
PARAM_VALUE 0 ubi->bgt_thread->dl.rq->nr_llc_running 0-4294967295
PARAM_VALUE 0 ubi->bgt_thread->dl.rq->nr_numa_running 0-4294967295
PARAM_VALUE 0 ubi->bgt_thread->dl.rq->nr_pinned 0-4294967295
PARAM_VALUE 0 ubi->bgt_thread->dl.rq->nr_pref_llc_running 0-4294967295
PARAM_VALUE 0 ubi->bgt_thread->dl.rq->nr_preferred_running 0-4294967295
PARAM_VALUE 0 ubi->bgt_thread->dl.rq->nr_running 0-4294967295
PARAM_VALUE 0 ubi->bgt_thread->dl.rq->numa_migrate_on 0-4294967295
PARAM_VALUE 0 ubi->bgt_thread->dl.rq->online s32min-s32max
PARAM_VALUE 0 ubi->bgt_thread->dl.rq->push_busy 0-4294967295
PARAM_VALUE 0 ubi->bgt_thread->dl.rq->push_cpu s32min-s32max
PARAM_VALUE 0 ubi->bgt_thread->dl.rq->sched_count 0-4294967295
PARAM_VALUE 0 ubi->bgt_thread->dl.rq->sched_goidle 0-4294967295
PARAM_VALUE 0 ubi->bgt_thread->dl.rq->ticks_without_resched s32min-s32max
PARAM_VALUE 0 ubi->bgt_thread->dl.rq->ttwu_count 0-4294967295
PARAM_VALUE 0 ubi->bgt_thread->dl.rq->ttwu_local 0-4294967295
PARAM_VALUE 0 ubi->bgt_thread->dl.rq->ttwu_pending 0-4294967295
PARAM_VALUE 0 ubi->bgt_thread->dl.rq->uclamp_flags 0-4294967295
PARAM_VALUE 0 ubi->bgt_thread->dl.rq->yld_count 0-4294967295
PARAM_VALUE 0 ubi->bgt_thread->is_blocked 0
PARAM_VALUE 0 ubi->bgt_thread->mm->mm_cid.irq_work.node.a_flags.counter 0-s32max
PARAM_VALUE 0 ubi->bgt_thread->mm->mm_cid.max_cids 0-s32max
PARAM_VALUE 0 ubi->bgt_thread->mm->mm_cid.pcpu_thrs 1-1073741823
PARAM_VALUE 0 ubi->bgt_thread->mm->mm_cid.update_deferred 1
PARAM_VALUE 0 ubi->bgt_thread->on_rq 0-1,3-255
PARAM_VALUE 0 ubi->bgt_thread->pushable_tasks.node_list.next->next 4096-ptr_max
PARAM_VALUE 0 ubi->bgt_thread->pushable_tasks.node_list.next->prev 4096-ptr_max
PARAM_VALUE 0 ubi->bgt_thread->pushable_tasks.node_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ubi->bgt_thread->pushable_tasks.node_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ubi->bgt_thread->pushable_tasks.prio_list.next->next 4096-ptr_max
PARAM_VALUE 0 ubi->bgt_thread->pushable_tasks.prio_list.next->prev 4096-ptr_max
PARAM_VALUE 0 ubi->bgt_thread->pushable_tasks.prio_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ubi->bgt_thread->pushable_tasks.prio_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ubi->bgt_thread->rseq.event.ids_changed 1
PARAM_VALUE 0 ubi->bgt_thread->saved_state 0
PARAM_VALUE 0 ubi->bgt_thread->sched_migrated 1
PARAM_VALUE 0 ubi->bgt_thread->se.cfs_rq->propagate 1
PARAM_VALUE 0 ubi->bgt_thread->se.cfs_rq->removed.lock.owner (-1)
PARAM_VALUE 0 ubi->bgt_thread->se.cfs_rq->removed.lock.owner_cpu 4294967295
PARAM_VALUE 0 ubi->bgt_thread->se.cfs_rq->rq->curr->mm->sc_stat.cpu (-1)
PARAM_VALUE 0 ubi->bgt_thread->se.cfs_rq->rq->curr->pref_llc_queued 0-1
PARAM_VALUE 0 ubi->bgt_thread->se.cfs_rq->rq->donor->__state 0,512
PARAM_VALUE 0 ubi->bgt_thread->se.cfs_rq->rq->donor->core_node.__rb_parent_color 1
PARAM_VALUE 0 ubi->bgt_thread->se.cfs_rq->rq->donor->dl.dl_timer.base->cpu_base->expires_next 0-s64max
PARAM_VALUE 0 ubi->bgt_thread->se.cfs_rq->rq->donor->dl.inactive_timer.base->clockid 0-1,7,11
PARAM_VALUE 0 ubi->bgt_thread->se.cfs_rq->rq->donor->dl.inactive_timer.base->index 0-7
PARAM_VALUE 0 ubi->bgt_thread->se.cfs_rq->rq->donor->dl.inactive_timer.entry.next s64max
PARAM_VALUE 0 ubi->bgt_thread->se.cfs_rq->rq->donor->dl.rb_node.__rb_parent_color 1
PARAM_VALUE 0 ubi->bgt_thread->se.cfs_rq->rq->donor->mm->mm_cid.irq_work.node.a_flags.counter 0-s32max
PARAM_VALUE 0 ubi->bgt_thread->se.cfs_rq->rq->donor->pushable_dl_tasks.__rb_parent_color 1
PARAM_VALUE 0 ubi->bgt_thread->se.cfs_rq->rq->donor->rseq.event.ids_changed 1
PARAM_VALUE 0 ubi->bgt_thread->se.cfs_rq->rq->donor->sched_migrated 1
PARAM_VALUE 0 ubi->bgt_thread->se.cfs_rq->rq->donor->se.run_node.rb_left->__rb_parent_color 4096-s64max
PARAM_VALUE 0 ubi->bgt_thread->se.cfs_rq->rq->donor->se.run_node.rb_right->__rb_parent_color 4096-s64max
PARAM_VALUE 0 ubi->bgt_thread->se.cfs_rq->rq->donor->wake_cpu 0-s32max
PARAM_VALUE 0 ubi->bgt_thread->se.cfs_rq->rq->fair_server.dl_timer.base->cpu_base->expires_next 0-s64max
PARAM_VALUE 0 ubi->bgt_thread->se.group_node.next->next 4096-ptr_max
PARAM_VALUE 0 ubi->bgt_thread->se.group_node.next->prev 4096-ptr_max
PARAM_VALUE 0 ubi->bgt_thread->se.group_node.prev->next 4096-ptr_max
PARAM_VALUE 0 ubi->bgt_thread->se.group_node.prev->prev 4096-ptr_max
PARAM_VALUE 0 ubi->bgt_thread->throttle_node.next->next 4096-ptr_max
PARAM_VALUE 0 ubi->bgt_thread->throttle_node.next->prev 4096-ptr_max
PARAM_VALUE 0 ubi->bgt_thread->throttle_node.prev->next 4096-ptr_max
PARAM_VALUE 0 ubi->bgt_thread->throttle_node.prev->prev 4096-ptr_max
PARAM_VALUE 0 ubi->bgt_thread->wake_cpu 0-s32max
PARAM_VALUE 0 ubi->buf_mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 ubi->buf_mutex.dep_map->name 0-255
PARAM_VALUE 0 ubi->buf_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ubi->buf_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ubi->buf_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ubi->buf_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ubi->buf_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ubi->buf_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 ubi->buf_mutex.first_waiter->task->usage.refs.counter s32min-s32max
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.dep_map->name 0-255
PARAM_VALUE 0 ubi->fm_protect.first_waiter->handoff_set 0-1
PARAM_VALUE 0 ubi->fm_protect.first_waiter->list.next 2624917664208203776
PARAM_VALUE 0 ubi->fm_protect.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 0 ubi->fm_protect.first_waiter->type 0-1
PARAM_VALUE 0 ubi->ltree_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ubi->move_mutex.dep_map->name 0-255
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.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ubi->move_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ubi->move_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ubi->move_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 ubi->move_mutex.first_waiter->task->usage.refs.counter s32min-s32max
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 0 ubi->works.prev->next 4096-ptr_max
PARAM_VALUE 0 ubi->works.prev->next->next 4096-ptr_max
PARAM_VALUE 0 *ubi->bgt_thread->delays->lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *ubi->fm_pool->pebs s32min-s32max
PARAM_VALUE 0 *ubi->fm_wl_pool->pebs s32min-s32max
PARAM_VALUE 0 *ubi->lookuptbl 0,4096-ptr_max
PARAM_VALUE 1 anchor 0
DATA_SOURCE 0 ubi $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 ubi->bgt_thread->dl.pi_se->dl_runtime
LOCK2 0 &ubi->fm_eba_sem
LOCK2 0 &ubi->fm_protect
LOCK2 0 &ubi->wl_lock
LOCK2 0 &ubi->work_sem
HALF_LOCKED2 &le->mutex
HALF_LOCKED2 global &ubi_devices_mutex
HALF_LOCKED2 0 &ubi->device_mutex
TYPE_LOCK (struct ubi_device)->fm_eba_sem
TYPE_LOCK (struct ubi_device)->fm_protect
TYPE_LOCK (struct ubi_device)->wl_lock
TYPE_LOCK (struct ubi_device)->work_sem

drivers/mtd/ubi/wl.c ubi_ensure_anchor_pebs() -> ubi_wl_get_fm_peb()

Type Parameter Key Value
PARAM_VALUE 0 ubi 4096-ptr_max
PARAM_VALUE 0 ubi->fm_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->type 0-1
PARAM_VALUE 0 ubi->fm_protect.dep_map->name 0-255
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->wl_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ubi->work_sem.dep_map->name 0-255
PARAM_VALUE 0 ubi->work_sem.first_waiter->handoff_set 1
PARAM_VALUE 0 ubi->work_sem.first_waiter->list.next 2212933610777083904,2624917664208203776
PARAM_VALUE 0 ubi->work_sem.first_waiter->list.prev 2212933610777083904,2624917664208203776
PARAM_VALUE 0 ubi->work_sem.first_waiter->type 0-1
PARAM_VALUE 1 anchor 1
BUF_SIZE 0 ubi->lookuptbl (-1),8
DATA_SOURCE 0 ubi $0
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)
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 ubi->bgt_thread->dl.pi_se->dl_runtime
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
LOCK2 0 &ubi->wl_lock
HALF_LOCKED2 global &ubi_devices_mutex
HALF_LOCKED2 0 &ubi->device_mutex
TYPE_LOCK (struct ubi_device)->wl_lock

drivers/mtd/ubi/wl.c ubi_refill_pools_and_lock() -> ubi_wl_get_fm_peb()

Type Parameter Key Value
PARAM_VALUE 0 ubi 4096-ptr_max
PARAM_VALUE 0 ubi->fm_anchor 0
PARAM_VALUE 0 ubi->fm_disabled 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 2624917664208203776
PARAM_VALUE 0 ubi->fm_eba_sem.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 0 ubi->fm_eba_sem.first_waiter->type 0-1
PARAM_VALUE 0 ubi->fm_eba_sem.osq.tail.counter 0-s32max
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_pool.size 0
PARAM_VALUE 0 ubi->fm_protect.dep_map->name 0-255
PARAM_VALUE 0 ubi->fm_protect.first_waiter->handoff_set 0-1
PARAM_VALUE 0 ubi->fm_protect.first_waiter->list.next 2624917664208203776
PARAM_VALUE 0 ubi->fm_protect.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 0 ubi->fm_protect.first_waiter->type 0-1
PARAM_VALUE 0 ubi->fm_protect.osq.tail.counter 0-s32max
PARAM_VALUE 0 ubi->fm_protect.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ubi->fm_protect.wait_lock.owner (-1)
PARAM_VALUE 0 ubi->fm_protect.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ubi->fm_wl_pool.size 0
PARAM_VALUE 0 ubi->free.rb_node 4096-ptr_max
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 0 ubi->work_sem.osq.tail.counter 0-s32max
PARAM_VALUE 0 ubi->work_sem.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ubi->work_sem.wait_lock.owner (-1)
PARAM_VALUE 0 ubi->work_sem.wait_lock.owner_cpu u32max
PARAM_VALUE 1 anchor 1
CAPPED_DATA 0 &ubi->fm_eba_sem 1
CAPPED_DATA 0 &ubi->fm_protect 1
CAPPED_DATA 0 &ubi->work_sem 1
DATA_SOURCE 0 ubi $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 ubi->bgt_thread->dl.pi_se->dl_runtime
NO_OVERFLOW_SIMPLE 0 ubi->vid_hdr_aloffset
LOCK2 0 &ubi->fm_eba_sem
LOCK2 0 &ubi->fm_protect
LOCK2 0 &ubi->wl_lock
LOCK2 0 &ubi->work_sem
HALF_LOCKED2 &le->mutex
HALF_LOCKED2 global &ubi_devices_mutex
HALF_LOCKED2 0 &ubi->device_mutex
TYPE_LOCK (struct ubi_device)->fm_eba_sem
TYPE_LOCK (struct ubi_device)->fm_protect
TYPE_LOCK (struct ubi_device)->wl_lock
TYPE_LOCK (struct ubi_device)->work_sem