Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- fs/ubifs/gc.c
- fs/ubifs/io.c
- fs/ubifs/journal.c
- fs/ubifs/misc.h, line 132
- fs/ubifs/recovery.c, line 1195
Smatch caller information:
fs/ubifs/gc.c switch_gc_head() -> ubifs_wbuf_sync_nolock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | wbuf | 368 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &wbuf->io_mutex | ||
| HALF_LOCKED2 | &c->commit_sem | ||
| HALF_LOCKED2 | &c->umount_mutex | ||
| HALF_LOCKED2 | &c->write_reserve_mutex | ||
| TYPE_LOCK | (struct ubifs_wbuf)->io_mutex |
fs/ubifs/gc.c ubifs_garbage_collect() -> ubifs_wbuf_sync_nolock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wbuf | 4096-ptr_max |
| PARAM_VALUE | 0 | wbuf->io_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wbuf->io_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | wbuf->io_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | wbuf->io_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | wbuf->io_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wbuf->io_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | wbuf->io_mutex.wait_lock.owner_cpu | u32max |
| BUF_SIZE | 0 | wbuf | 368 |
| CAPPED_DATA | 0 | &wbuf->io_mutex | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &wbuf->io_mutex | |
| HALF_LOCKED2 | &c->commit_sem | ||
| TYPE_LOCK | (struct ubifs_wbuf)->io_mutex |
fs/ubifs/gc.c ubifs_garbage_collect() -> ubifs_wbuf_sync_nolock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wbuf | 4096-ptr_max |
| PARAM_VALUE | 0 | wbuf->io_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wbuf->io_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | wbuf->io_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | wbuf->io_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | wbuf->io_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wbuf->io_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | wbuf->io_mutex.wait_lock.owner_cpu | u32max |
| BUF_SIZE | 0 | wbuf | 368 |
| CAPPED_DATA | 0 | &wbuf->io_mutex | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &wbuf->io_mutex | |
| HALF_LOCKED2 | &c->commit_sem | ||
| TYPE_LOCK | (struct ubifs_wbuf)->io_mutex |
fs/ubifs/gc.c ubifs_garbage_collect_leb() -> ubifs_wbuf_sync_nolock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wbuf | 4096-ptr_max |
| BUF_SIZE | 0 | wbuf | 368 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &wbuf->io_mutex | ||
| TYPE_LOCK | (struct ubifs_wbuf)->io_mutex |
fs/ubifs/gc.c ubifs_wbuf_sync() -> ubifs_wbuf_sync_nolock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wbuf | 4096-ptr_max |
| PARAM_VALUE | 0 | wbuf->io_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wbuf->io_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | wbuf->io_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | wbuf->io_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | wbuf->io_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wbuf->io_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | wbuf->io_mutex.wait_lock.owner_cpu | u32max |
| CAPPED_DATA | 0 | &wbuf->io_mutex | 1 |
| DATA_SOURCE | 0 | wbuf | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &wbuf->io_mutex | ||
| LOCK2 | 0 | &wbuf->io_mutex | |
| HALF_LOCKED2 | &c->commit_sem | ||
| HALF_LOCKED2 | &c->umount_mutex | ||
| HALF_LOCKED2 | &c->write_reserve_mutex | ||
| TYPE_LOCK | (struct ubifs_wbuf)->io_mutex |
fs/ubifs/recovery.c ubifs_rcvry_gc_commit() -> ubifs_wbuf_sync_nolock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wbuf | 4096-ptr_max |
| PARAM_VALUE | 0 | wbuf->io_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wbuf->io_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | wbuf->io_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | wbuf->io_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | wbuf->io_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wbuf->io_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | wbuf->io_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | wbuf->lnum | s32min-(-2),0-s32max |
| BUF_SIZE | 0 | wbuf | 368 |
| CAPPED_DATA | 0 | &wbuf->io_mutex | 1 |
| LOCK2 | 0 | &wbuf->io_mutex | |
| TYPE_LOCK | (struct ubifs_wbuf)->io_mutex |
fs/ubifs/lprops.c ubifs_wbuf_sync() -> ubifs_wbuf_sync_nolock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wbuf | 4096-ptr_max |
| PARAM_VALUE | 0 | wbuf->io_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wbuf->io_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | wbuf->io_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | wbuf->io_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | wbuf->io_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wbuf->io_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | wbuf->io_mutex.wait_lock.owner_cpu | u32max |
| CAPPED_DATA | 0 | &wbuf->io_mutex | 1 |
| DATA_SOURCE | 0 | wbuf | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &c->commit_sem | ||
| LOCK2 | 0 | &wbuf->io_mutex | |
| HALF_LOCKED2 | &c->write_reserve_mutex | ||
| TYPE_LOCK | (struct ubifs_info)->commit_sem | ||
| TYPE_LOCK | (struct ubifs_wbuf)->io_mutex |
fs/ubifs/io.c ubifs_bg_wbufs_sync() -> ubifs_wbuf_sync_nolock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wbuf | 4096-ptr_max |
| PARAM_VALUE | 0 | wbuf->io_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wbuf->io_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | wbuf->io_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | wbuf->io_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | wbuf->io_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wbuf->io_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | wbuf->io_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | wbuf->need_sync | 1 |
| BUF_SIZE | 0 | wbuf | 368 |
| CAPPED_DATA | 0 | &wbuf->io_mutex | 1 |
| LOCK2 | 0 | &wbuf->io_mutex | |
| TYPE_LOCK | (struct ubifs_wbuf)->io_mutex |
fs/ubifs/io.c ubifs_sync_wbufs_by_inode() -> ubifs_wbuf_sync_nolock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wbuf | 4096-ptr_max |
| PARAM_VALUE | 0 | wbuf->inodes | 4096-ptr_max |
| PARAM_VALUE | 0 | wbuf->io_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wbuf->io_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | wbuf->io_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | wbuf->io_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | wbuf->io_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wbuf->io_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | wbuf->io_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | wbuf->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wbuf->next_ino | 1-s32max |
| BUF_SIZE | 0 | wbuf | 368 |
| CAPPED_DATA | 0 | wbuf->next_ino | 1 |
| CAPPED_DATA | 0 | &wbuf->io_mutex | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &inode->i_rwsem | ||
| LOCK2 | 0 | &wbuf->io_mutex | |
| TYPE_LOCK | (struct inode)->i_rwsem | ||
| TYPE_LOCK | (struct ubifs_wbuf)->io_mutex |
fs/ubifs/commit.c ubifs_wbuf_sync() -> ubifs_wbuf_sync_nolock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wbuf | 4096-ptr_max |
| PARAM_VALUE | 0 | wbuf->io_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wbuf->io_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | wbuf->io_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | wbuf->io_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | wbuf->io_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wbuf->io_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | wbuf->io_mutex.wait_lock.owner_cpu | u32max |
| CAPPED_DATA | 0 | &wbuf->io_mutex | 1 |
| DATA_SOURCE | 0 | wbuf | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &c->commit_sem | ||
| LOCK2 | 0 | &wbuf->io_mutex | |
| TYPE_LOCK | (struct ubifs_info)->commit_sem | ||
| TYPE_LOCK | (struct ubifs_wbuf)->io_mutex |
fs/ubifs/journal.c reserve_space() -> ubifs_wbuf_sync_nolock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wbuf | 4096-ptr_max |
| PARAM_VALUE | 0 | wbuf->io_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wbuf->io_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | wbuf->io_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | wbuf->io_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | wbuf->io_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wbuf->io_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | wbuf->io_mutex.wait_lock.owner_cpu | u32max |
| BUF_SIZE | 0 | wbuf | 368 |
| CAPPED_DATA | 0 | &wbuf->io_mutex | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &c->commit_sem | ||
| LOCK2 | 0 | &wbuf->io_mutex | |
| HALF_LOCKED2 | &c->write_reserve_mutex | ||
| HALF_LOCKED2 | &host_ui->ui_mutex | ||
| HALF_LOCKED2 | &ui->ui_mutex | ||
| TYPE_LOCK | (struct ubifs_info)->commit_sem | ||
| TYPE_LOCK | (struct ubifs_wbuf)->io_mutex |
fs/ubifs/journal.c write_head() -> ubifs_wbuf_sync_nolock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wbuf | 4096-ptr_max |
| PARAM_VALUE | 0 | wbuf->c | 4096-ptr_max |
| PARAM_VALUE | 0 | wbuf->c->lp_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wbuf->c->lp_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | wbuf->c->lp_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | wbuf->c->lp_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wbuf->c->lp_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | wbuf->c->lp_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | wbuf->c->lp_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | wbuf->c->lp_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | wbuf->c->lp_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | wbuf->c->lpt_drty_flgs | 0-s32max |
| PARAM_VALUE | 0 | wbuf->c->space_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wbuf->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wbuf->need_sync | 0 |
| PARAM_VALUE | 0 | wbuf->next_ino | 0 |
| PARAM_VALUE | 0 | wbuf->timer.base->active.rb_root.rb_leftmost->node.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | wbuf->timer.is_rel | 0 |
| PARAM_VALUE | 0 | wbuf->timer.node.node.node.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | wbuf->timer.node.node.node.rb_left | 4096-ptr_max |
| PARAM_VALUE | 0 | wbuf->timer.node.node.node.rb_right | 4096-ptr_max |
| BUF_SIZE | 0 | wbuf | 368 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &host_ui->ui_mutex | ||
| HALF_LOCKED2 | &ui->ui_mutex |
fs/ubifs/super.c ubifs_wbuf_sync() -> ubifs_wbuf_sync_nolock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wbuf | 4096-ptr_max |
| PARAM_VALUE | 0 | wbuf->io_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wbuf->io_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | wbuf->io_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | wbuf->io_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | wbuf->io_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wbuf->io_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | wbuf->io_mutex.wait_lock.owner_cpu | u32max |
| CAPPED_DATA | 0 | &wbuf->io_mutex | 1 |
| DATA_SOURCE | 0 | wbuf | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &wbuf->io_mutex | |
| HALF_LOCKED2 | &c->umount_mutex | ||
| HALF_LOCKED2 | &sb->s_umount | ||
| TYPE_LOCK | (struct ubifs_wbuf)->io_mutex |