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:
drivers/mtd/ubi/wl.c ubi_refill_pools_and_lock() -> self_check_in_wl_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ubi | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->fm_anchor->u.rb.rb_left | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ubi->fm_anchor->u.rb.rb_right | 0,4096-ptr_max |
| 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-s32max |
| 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.max_size | 1-s32max |
| PARAM_VALUE | 0 | ubi->fm_wl_pool.size | 0-2147483646 |
| 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 | e | 4096-ptr_max |
| PARAM_VALUE | 2 | root | 4096-ptr_max |
| PARAM_VALUE | 2 | root->rb_node | 4096-ptr_max |
| CAPPED_DATA | 0 | ubi->fm_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 |
| DATA_SOURCE | 1 | e | r find_wl_entry |
| FUZZY_MAX | 0 | ubi->fm_pool.size | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 |
drivers/mtd/ubi/wl.c ubi_wl_get_fm_peb() -> self_check_in_wl_tree()
| 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->fm_anchor->u.rb.rb_left | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ubi->fm_anchor->u.rb.rb_right | 0,4096-ptr_max |
| 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->free.rb_node | 1-u64max |
| 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 | 1 | e | 1-u64max |
| PARAM_VALUE | 2 | root | 4096-ptr_max |
| PARAM_VALUE | 2 | root->rb_node | 1-u64max |
| BUF_SIZE | 0 | ubi->lookuptbl | (-1),8 |
| CAPPED_DATA | 0 | ubi->free.rb_node | 1 |
| 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) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 | |
| HALF_LOCKED2 | global &ubi_devices_mutex | ||
| HALF_LOCKED2 | 0 | &ubi->device_mutex | |
| HALF_LOCKED2 | 0 | &ubi->fm_eba_sem | |
| HALF_LOCKED2 | 0 | &ubi->fm_protect | |
| HALF_LOCKED2 | 0 | &ubi->wl_lock | |
| HALF_LOCKED2 | 0 | &ubi->work_sem |
drivers/mtd/ubi/wl.c ubi_wl_put_peb() -> self_check_in_wl_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ubi | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->fm_eba_sem.first_waiter->handoff_set | 1 |
| 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->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->lookuptbl | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->ltree_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ubi->used.rb_node | 1-u64max |
| 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 | 1 | e | 1-u64max |
| PARAM_VALUE | 2 | root | 4096-ptr_max |
| PARAM_VALUE | 2 | root->rb_node | 1-u64max |
| CAPPED_DATA | 0 | &ubi->fm_protect | 1 |
| CAPPED_DATA | 1 | e | 1 |
| CAPPED_DATA | 1 | e->pnum | 1 |
| DATA_SOURCE | 0 | ubi | $0 |
| PARAM_COMPARE | 1 | e | != $0->move_from |
| PARAM_COMPARE | 1 | e | != $0->move_from |
| PARAM_COMPARE | 1 | e | != $0->move_to |
| PARAM_COMPARE | 1 | e | != $0->move_to |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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->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_alsize | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->vtbl_size | |
| LOCK2 | &le->mutex | ||
| LOCK2 | 0 | &ubi->fm_protect | |
| LOCK2 | 0 | &ubi->wl_lock | |
| HALF_LOCKED2 | 0 | &ubi->ckvol_mutex | |
| HALF_LOCKED2 | 0 | &ubi->device_mutex | |
| TYPE_LOCK | (struct ubi_device)->fm_protect | ||
| TYPE_LOCK | (struct ubi_device)->wl_lock |
drivers/mtd/ubi/wl.c ubi_wl_put_peb() -> self_check_in_wl_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ubi | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->fm_eba_sem.first_waiter->handoff_set | 1 |
| 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->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->lookuptbl | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->ltree_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ubi->scrub.rb_node | 1-u64max |
| 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 | 1 | e | 1-u64max |
| PARAM_VALUE | 2 | root | 4096-ptr_max |
| PARAM_VALUE | 2 | root->rb_node | 1-u64max |
| CAPPED_DATA | 0 | &ubi->fm_protect | 1 |
| CAPPED_DATA | 1 | e | 1 |
| CAPPED_DATA | 1 | e->pnum | 1 |
| DATA_SOURCE | 0 | ubi | $0 |
| PARAM_COMPARE | 1 | e | != $0->move_from |
| PARAM_COMPARE | 1 | e | != $0->move_from |
| PARAM_COMPARE | 1 | e | != $0->move_to |
| PARAM_COMPARE | 1 | e | != $0->move_to |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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->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_alsize | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->vtbl_size | |
| LOCK2 | &le->mutex | ||
| LOCK2 | 0 | &ubi->fm_protect | |
| LOCK2 | 0 | &ubi->wl_lock | |
| HALF_LOCKED2 | 0 | &ubi->ckvol_mutex | |
| HALF_LOCKED2 | 0 | &ubi->device_mutex | |
| TYPE_LOCK | (struct ubi_device)->fm_protect | ||
| TYPE_LOCK | (struct ubi_device)->wl_lock |
drivers/mtd/ubi/wl.c ubi_wl_put_peb() -> self_check_in_wl_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ubi | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->erroneous.rb_node | 1-u64max |
| PARAM_VALUE | 0 | ubi->fm_eba_sem.first_waiter->handoff_set | 1 |
| 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->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->lookuptbl | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->ltree_lock.rlock.dep_map->name | 0-255 |
| 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 | 1 | e | 1-u64max |
| PARAM_VALUE | 2 | root | 4096-ptr_max |
| PARAM_VALUE | 2 | root->rb_node | 1-u64max |
| CAPPED_DATA | 0 | &ubi->fm_protect | 1 |
| CAPPED_DATA | 1 | e | 1 |
| CAPPED_DATA | 1 | e->pnum | 1 |
| DATA_SOURCE | 0 | ubi | $0 |
| PARAM_COMPARE | 1 | e | != $0->move_from |
| PARAM_COMPARE | 1 | e | != $0->move_from |
| PARAM_COMPARE | 1 | e | != $0->move_to |
| PARAM_COMPARE | 1 | e | != $0->move_to |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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->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_alsize | |
| NO_OVERFLOW_SIMPLE | 0 | ubi->vtbl_size | |
| LOCK2 | &le->mutex | ||
| LOCK2 | 0 | &ubi->fm_protect | |
| LOCK2 | 0 | &ubi->wl_lock | |
| HALF_LOCKED2 | 0 | &ubi->ckvol_mutex | |
| HALF_LOCKED2 | 0 | &ubi->device_mutex | |
| TYPE_LOCK | (struct ubi_device)->fm_protect | ||
| TYPE_LOCK | (struct ubi_device)->wl_lock |
drivers/mtd/ubi/wl.c ubi_wl_scrub_peb() -> self_check_in_wl_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ubi | 4096-ptr_max |
| 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->lookuptbl | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->ltree.rb_node | 1-u64max |
| PARAM_VALUE | 0 | ubi->ltree_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ubi->used.rb_node | 1-u64max |
| 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 | 2 | root | 4096-ptr_max |
| PARAM_VALUE | 2 | root->rb_node | 1-u64max |
| CAPPED_DATA | 1 | e | 1 |
| CAPPED_DATA | 1 | e->pnum | 1 |
| DATA_SOURCE | 0 | ubi | $0 |
| PARAM_COMPARE | 1 | e | != $0->move_from |
| PARAM_COMPARE | 1 | e | != $0->move_from |
| PARAM_COMPARE | 1 | e | != $0->move_to |
| PARAM_COMPARE | 1 | e | != $0->move_to |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &le->mutex | ||
| LOCK2 | 0 | &ubi->wl_lock | |
| HALF_LOCKED2 | 0 | &ubi->ckvol_mutex | |
| TYPE_LOCK | (struct ubi_device)->wl_lock |
drivers/mtd/ubi/wl.c wear_leveling_worker() -> self_check_in_wl_tree()
| 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_anchor | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ubi->fm_do_produce_anchor | s32min-(-1),1-s32max |
| 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->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->used.rb_node | 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 | 1 | e | 4096-ptr_max |
| PARAM_VALUE | 1 | e->ec | s32min-2147483646 |
| PARAM_VALUE | 1 | e->pnum | s32min-63 |
| PARAM_VALUE | 2 | root | 4096-ptr_max |
| PARAM_VALUE | 2 | root->rb_node | 4096-ptr_max |
| BUF_SIZE | 0 | ubi | (-1),128 |
| BUF_SIZE | 0 | ubi | (-1),128 |
| CAPPED_DATA | 0 | &ubi->fm_eba_sem | 1 |
| CAPPED_DATA | 0 | &ubi->move_mutex | 1 |
| CAPPED_DATA | 1 | e->ec | 1 |
| DATA_SOURCE | 0 | ubi | $0 |
| DATA_SOURCE | 1 | e | r find_anchor_wl_entry |
| FUZZY_MAX | 0 | ubi->fm_do_produce_anchor | 1 |
| 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 | |||
| NOCHECK_CALL | |||
| 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->wl_lock | |
| 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)->wl_lock | ||
| TYPE_LOCK | (struct ubi_device)->work_sem |
drivers/mtd/ubi/wl.c wear_leveling_worker() -> self_check_in_wl_tree()
| 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->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->scrub.rb_node | 0 |
| PARAM_VALUE | 0 | ubi->used.rb_node | 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 | 1 | e | 4096-ptr_max |
| PARAM_VALUE | 2 | root | 4096-ptr_max |
| PARAM_VALUE | 2 | root->rb_node | 4096-ptr_max |
| BUF_SIZE | 0 | ubi | (-1),128 |
| BUF_SIZE | 0 | ubi | (-1),128 |
| CAPPED_DATA | 0 | ubi->wl_threshold | 1 |
| CAPPED_DATA | 0 | &ubi->fm_eba_sem | 1 |
| CAPPED_DATA | 0 | &ubi->move_mutex | 1 |
| 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 | |||
| NOCHECK_CALL | |||
| 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->wl_lock | |
| 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)->wl_lock | ||
| TYPE_LOCK | (struct ubi_device)->work_sem |
drivers/mtd/ubi/wl.c wear_leveling_worker() -> self_check_in_wl_tree()
| 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->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->scrub.rb_node | 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 | 1 | e | 0,4096-ptr_max |
| PARAM_VALUE | 2 | root | 4096-ptr_max |
| PARAM_VALUE | 2 | root->rb_node | 4096-ptr_max |
| BUF_SIZE | 0 | ubi | (-1),128 |
| BUF_SIZE | 0 | ubi | (-1),128 |
| CAPPED_DATA | 0 | &ubi->fm_eba_sem | 1 |
| CAPPED_DATA | 0 | &ubi->move_mutex | 1 |
| 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 | |||
| NOCHECK_CALL | |||
| 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->wl_lock | |
| 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)->wl_lock | ||
| TYPE_LOCK | (struct ubi_device)->work_sem |
drivers/mtd/ubi/wl.c wl_get_wle() -> self_check_in_wl_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ubi | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->bgt_thread->delays->blkio_count | 0-4294967295 |
| PARAM_VALUE | 0 | ubi->bgt_thread->kcov->mode | 0-4294967295 |
| PARAM_VALUE | 0 | ubi->bgt_thread->kcov->remote | 0-1 |
| PARAM_VALUE | 0 | ubi->bgt_thread->kcov->remote_size | 0-4294967295 |
| PARAM_VALUE | 0 | ubi->bgt_thread->kcov_remote->mode | 0-4294967295 |
| PARAM_VALUE | 0 | ubi->bgt_thread->kcov_remote->remote | 0-1 |
| PARAM_VALUE | 0 | ubi->bgt_thread->kcov_remote->remote_size | 0-4294967295 |
| PARAM_VALUE | 0 | ubi->bgt_thread->ptracer_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | ubi->bgt_thread->ptracer_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | ubi->bgt_thread->ptracer_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | ubi->bgt_thread->ptracer_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | ubi->bgt_thread->ptracer_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | ubi->bgt_thread->ptracer_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | ubi->bgt_thread->ptracer_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | ubi->bgt_thread->ptracer_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | ubi->bgt_thread->sched_task_group->idle | s32min-s32max |
| PARAM_VALUE | 0 | ubi->bgt_thread->sched_task_group->parent | 0-s64max |
| PARAM_VALUE | 0 | ubi->bgt_thread->thread_pid->attr->exit_code | s32min-s32max |
| PARAM_VALUE | 0 | ubi->dev.kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | ubi->dev.kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | ubi->dev.kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | ubi->dev.p->deferred_probe_reason | 0-s64max |
| 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_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.max_size | 1-s32max |
| PARAM_VALUE | 0 | ubi->fm_pool.size | 0-2147483646 |
| 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-s32max |
| 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 | e | 1-u64max |
| PARAM_VALUE | 2 | root | 4096-ptr_max |
| PARAM_VALUE | 2 | root->rb_node | 4096-ptr_max |
| CAPPED_DATA | 0 | ubi->fm_anchor | 1 |
| CAPPED_DATA | 0 | ubi->free.rb_node | 1 |
| DATA_SOURCE | 0 | ubi | $0 |
| DATA_SOURCE | 1 | e | r find_mean_wl_entry |
| FUZZY_MAX | 0 | ubi->fm_wl_pool.size | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 |