Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/block/zram/zram_drv.c init_wb_ctl() -> release_wb_ctl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wb_ctl | 4096-ptr_max |
| PARAM_VALUE | 0 | wb_ctl->done_reqs.next | 4096-ptr_max |
| PARAM_VALUE | 0 | wb_ctl->done_reqs.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | wb_ctl->done_reqs.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | wb_ctl->done_reqs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | wb_ctl->done_reqs.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | wb_ctl->done_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | wb_ctl->done_wait.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | wb_ctl->done_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | wb_ctl->done_wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | wb_ctl->done_wait.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | wb_ctl->idle_reqs.next | 4096-ptr_max |
| PARAM_VALUE | 0 | wb_ctl->idle_reqs.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | wb_ctl->idle_reqs.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | wb_ctl->idle_reqs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | wb_ctl->idle_reqs.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | wb_ctl->num_inflight.counter | 0 |
| BUF_SIZE | 0 | wb_ctl | 216 |
| CAPPED_DATA | 0 | &wb_ctl->idle_reqs | 1 |
| DATA_SOURCE | 0 | wb_ctl | r _kmalloc_noprof |
| PARAM_COMPARE | 0 | &wb_ctl->idle_reqs | == $0->idle_reqs.next |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/block/zram/zram_drv.c writeback_store() -> release_wb_ctl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wb_ctl | 0,4096-ptr_max |
| PARAM_VALUE | 0 | wb_ctl->done_reqs.next | 4096-ptr_max |
| PARAM_VALUE | 0 | wb_ctl->done_reqs.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | wb_ctl->done_reqs.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | wb_ctl->done_reqs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | wb_ctl->done_reqs.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | wb_ctl->done_wait.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | wb_ctl->done_wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | wb_ctl->done_wait.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | wb_ctl->idle_reqs.next->next | 1-u64max |
| PARAM_VALUE | 0 | wb_ctl->idle_reqs.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | wb_ctl->idle_reqs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | wb_ctl->idle_reqs.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | wb_ctl->num_inflight.counter | s32min-0 |
| BUF_SIZE | 0 | wb_ctl | (-1),216 |
| BUF_SIZE | 0 | wb_ctl | (-1),216 |
| DATA_SOURCE | 0 | wb_ctl | r init_wb_ctl |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |