Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/mtd/ubi/wl.c scrub_possible() -> in_wl_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 1-u64max |
| PARAM_VALUE | 1 | root | 4096-ptr_max |
| DATA_SOURCE | 0 | e | $1 |
| CAPABLE | 0 | 24 | |
| PREEMPT_ADD | |||
| LOCK2 | &ubi->wl_lock | ||
| LOCK2 | &ubi->work_sem | ||
| TYPE_LOCK | (struct ubi_device)->wl_lock | ||
| TYPE_LOCK | (struct ubi_device)->work_sem |
drivers/mtd/ubi/wl.c scrub_possible() -> in_wl_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 1-u64max |
| PARAM_VALUE | 1 | root | 4096-ptr_max |
| DATA_SOURCE | 0 | e | $1 |
| CAPABLE | 0 | 24 | |
| PREEMPT_ADD | |||
| LOCK2 | &ubi->wl_lock | ||
| LOCK2 | &ubi->work_sem | ||
| TYPE_LOCK | (struct ubi_device)->wl_lock | ||
| TYPE_LOCK | (struct ubi_device)->work_sem |
drivers/mtd/ubi/wl.c self_check_in_wl_tree() -> in_wl_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | root | 4096-ptr_max |
| PARAM_VALUE | 1 | root->rb_node | 1-u64max |
| DATA_SOURCE | 0 | e | $1 |
| DATA_SOURCE | 1 | root | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &le->mutex | ||
| HALF_LOCKED2 | &ubi->fm_eba_sem | ||
| HALF_LOCKED2 | &ubi->fm_protect | ||
| HALF_LOCKED2 | &ubi->move_mutex | ||
| HALF_LOCKED2 | &ubi->wl_lock | ||
| HALF_LOCKED2 | &ubi->work_sem |
drivers/mtd/ubi/wl.c ubi_bitflip_check() -> in_wl_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 1-u64max |
| PARAM_VALUE | 1 | root | 4096-ptr_max |
| CAPABLE | 0 | 24 | |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &ubi->wl_lock | ||
| LOCK2 | &ubi->work_sem | ||
| TYPE_LOCK | (struct ubi_device)->wl_lock | ||
| TYPE_LOCK | (struct ubi_device)->work_sem |
drivers/mtd/ubi/wl.c ubi_bitflip_check() -> in_wl_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 1-u64max |
| PARAM_VALUE | 1 | root | 4096-ptr_max |
| CAPABLE | 0 | 24 | |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &ubi->wl_lock | ||
| LOCK2 | &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() -> in_wl_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 1-u64max |
| PARAM_VALUE | 1 | root | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &le->mutex | ||
| LOCK2 | &ubi->fm_protect | ||
| LOCK2 | &ubi->wl_lock | ||
| TYPE_LOCK | (struct ubi_device)->fm_protect | ||
| TYPE_LOCK | (struct ubi_device)->wl_lock |
drivers/mtd/ubi/wl.c ubi_wl_put_peb() -> in_wl_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 1-u64max |
| PARAM_VALUE | 1 | root | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &le->mutex | ||
| LOCK2 | &ubi->fm_protect | ||
| LOCK2 | &ubi->wl_lock | ||
| TYPE_LOCK | (struct ubi_device)->fm_protect | ||
| TYPE_LOCK | (struct ubi_device)->wl_lock |
drivers/mtd/ubi/wl.c ubi_wl_put_peb() -> in_wl_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 1-u64max |
| PARAM_VALUE | 1 | root | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &le->mutex | ||
| LOCK2 | &ubi->fm_protect | ||
| LOCK2 | &ubi->wl_lock | ||
| TYPE_LOCK | (struct ubi_device)->fm_protect | ||
| TYPE_LOCK | (struct ubi_device)->wl_lock |
drivers/mtd/ubi/wl.c ubi_wl_scrub_peb() -> in_wl_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | root | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &le->mutex | ||
| LOCK2 | &ubi->wl_lock | ||
| HALF_LOCKED2 | &ubi->ckvol_mutex | ||
| TYPE_LOCK | (struct ubi_device)->wl_lock |
drivers/mtd/ubi/wl.c ubi_wl_scrub_peb() -> in_wl_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | root | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &le->mutex | ||
| LOCK2 | &ubi->wl_lock | ||
| HALF_LOCKED2 | &ubi->ckvol_mutex | ||
| TYPE_LOCK | (struct ubi_device)->wl_lock |
drivers/mtd/ubi/wl.c ubi_wl_scrub_peb() -> in_wl_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | root | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &le->mutex | ||
| LOCK2 | &ubi->wl_lock | ||
| HALF_LOCKED2 | &ubi->ckvol_mutex | ||
| TYPE_LOCK | (struct ubi_device)->wl_lock |