Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/mtd/ubi/wl.c ubi_bitflip_check() -> prot_queue_del()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ubi | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->is_dead | 0 |
| PARAM_VALUE | 0 | ubi->lookuptbl | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->peb_count | 1-s32max |
| 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->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | ubi->work_sem.first_waiter->list.prev | 2624917664208203776 |
| 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 |
| CAPPED_DATA | 0 | &ubi->work_sem | 1 |
| DATA_SOURCE | 0 | ubi | $0 |
| CAPABLE | 0 | 24 | |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| USER_DATA | 0 | *ubi->peb_buf | 0-255 |
| LOCK2 | 0 | &ubi->wl_lock | |
| LOCK2 | 0 | &ubi->work_sem | |
| TYPE_LOCK | (struct ubi_device)->wl_lock | ||
| TYPE_LOCK | (struct ubi_device)->work_sem |
drivers/mtd/ubi/wl.c ubi_wl_put_peb() -> prot_queue_del()
| 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->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 |
| CAPPED_DATA | 0 | &ubi->fm_protect | 1 |
| DATA_SOURCE | 0 | ubi | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| 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->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() -> prot_queue_del()
| 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->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 |
| DATA_SOURCE | 0 | ubi | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &le->mutex | ||
| LOCK2 | 0 | &ubi->wl_lock | |
| HALF_LOCKED2 | 0 | &ubi->ckvol_mutex | |
| TYPE_LOCK | (struct ubi_device)->wl_lock |