Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/mtd/ubi/fastmap.c, line 1489 (as a function)
- drivers/mtd/ubi/ubi.h, line 987 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/mtd/ubi/wl.c ubi_wl_get_peb() -> ubi_update_fastmap()
| 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->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_eba_sem | 1 |
| DATA_SOURCE | 0 | ubi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &le->mutex |
drivers/mtd/ubi/wl.c update_fastmap_work_fn() -> ubi_update_fastmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ubi | 4096-ptr_max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/mtd/ubi/build.c ubi_detach_mtd_dev() -> ubi_update_fastmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ubi | 4096-ptr_max |
| PARAM_VALUE | 0 | ubi->dbg.chk_fastmap | 0 |
| PARAM_VALUE | 0 | ubi->device_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ubi->device_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ubi->device_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ubi->device_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | ubi->device_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ubi->device_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ubi->is_dead | 1 |
| PARAM_VALUE | 0 | ubi->mtd | 4096-ptr_max |
| CAPPED_DATA | 0 | ubi->vtbl_slots | 1 |
| DATA_SOURCE | 0 | ubi | r ubi_get_device |
| NOCHECK_CALL | |||
| LOCK2 | global &ubi_devices_mutex |
drivers/mtd/ubi/build.c ubi_volume_notify() -> ubi_update_fastmap()
| 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->ltree_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ubi->volumes_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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ubi->bgt_thread->dl.pi_se->dl_runtime | |
| HALF_LOCKED2 | &ubi->device_mutex | ||
| HALF_LOCKED2 | 0 | &ubi->device_mutex |