Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/btrfs/tree-log.c btrfs_sync_log() -> btrfs_write_marked_extents()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | dirty_pages | 4096-ptr_max |
| PARAM_VALUE | 2 | mark | 8,16 |
| FUZZY_MAX | 2 | mark | 16 |
| BIT_INFO | 2 | mark | 0x0,0x18 |
| HARD_MAX | 2 | mark | 16 |
| RX_PATH | |||
| UNITS | 0 | fs_info | unit_byte |
| LOCK2 | &root->log_mutex | ||
| TYPE_LOCK | (struct btrfs_root)->log_mutex |
fs/btrfs/tree-log.c btrfs_sync_log() -> btrfs_write_marked_extents()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->btree_inode | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->log_root_tree | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->log_root_tree->log_commit | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->log_root_tree->log_ctxs | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->log_root_tree->log_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->log_root_tree->log_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | fs_info->log_root_tree->log_mutex.first_waiter->task->blocked_on | (-1)-0 |
| PARAM_VALUE | 0 | fs_info->log_root_tree->log_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fs_info->log_root_tree->log_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->log_root_tree->log_transid_committed | s32min-2147483646 |
| PARAM_VALUE | 0 | fs_info->log_root_tree->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->log_root_tree->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | dirty_pages | 4096-ptr_max |
| PARAM_VALUE | 2 | mark | 24 |
| RX_PATH | |||
| UNITS | 0 | fs_info | unit_byte |
| LOCK2 | &log_root_tree->log_mutex | ||
| TYPE_LOCK | (struct btrfs_root)->log_mutex |
fs/btrfs/tree-log.c free_log_tree() -> btrfs_write_marked_extents()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | dirty_pages | 4096-ptr_max |
| PARAM_VALUE | 2 | mark | 24 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | fs_info->fs_error | |
| UNITS | 0 | fs_info | unit_byte |
| HALF_LOCKED2 | &fs_info->transaction_kthread_mutex |
fs/btrfs/transaction.c btrfs_write_and_wait_transaction() -> btrfs_write_marked_extents()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->qgroup_ioctl_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fs_info->tree_root | 4096-ptr_max |
| PARAM_VALUE | 1 | dirty_pages | 4096-ptr_max |
| PARAM_VALUE | 2 | mark | 1 |
| BUF_SIZE | 1 | dirty_pages | 96 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | fs_info | unit_byte |
| LOCK2 | &cow->lock | ||
| LOCK2 | &fs_info->reloc_mutex | ||
| HALF_LOCKED2 | &dev_replace->lock_finishing_cancel_unmount | ||
| HALF_LOCKED2 | &fs_info->cleaner_mutex | ||
| HALF_LOCKED2 | &fs_info->subvol_sem | ||
| HALF_LOCKED2 | &fs_info->transaction_kthread_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct btrfs_fs_info)->reloc_mutex |