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_wl_get_fm_peb() -> find_anchor_wl_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PARAM_VALUE | 0 | root->rb_node | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ubi->device_mutex | ||
| HALF_LOCKED2 | &ubi->fm_eba_sem | ||
| HALF_LOCKED2 | &ubi->fm_protect | ||
| HALF_LOCKED2 | &ubi->wl_lock | ||
| HALF_LOCKED2 | &ubi->work_sem | ||
| HALF_LOCKED2 | global &ubi_devices_mutex |
drivers/mtd/ubi/wl.c wear_leveling_worker() -> find_anchor_wl_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ubi->fm_eba_sem | ||
| LOCK2 | &ubi->move_mutex | ||
| LOCK2 | &ubi->wl_lock | ||
| LOCK2 | &ubi->work_sem | ||
| HALF_LOCKED2 | &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 |