Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- fs/btrfs/block-group.c, line 3160
- fs/btrfs/delayed-inode.c
- fs/btrfs/extent-tree.c
- fs/btrfs/inode.c
- fs/btrfs/relocation.c
- fs/btrfs/root-tree.c, line 264
- fs/btrfs/space-info.c, line 903
- fs/btrfs/volumes.c, line 3836
- fs/btrfs/zoned.c, line 2859
Smatch caller information:
fs/btrfs/volumes.c btrfs_may_alloc_data_chunk() -> btrfs_join_transaction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &fs_info->reclaim_bgs_lock | ||
| TYPE_LOCK | (struct btrfs_fs_info)->reclaim_bgs_lock |
fs/btrfs/space-info.c flush_space() -> btrfs_join_transaction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/btrfs/delayed-inode.c btrfs_async_run_delayed_root() -> btrfs_join_transaction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PARAM_VALUE | 0 | root->fs_info | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/delayed-inode.c btrfs_commit_inode_delayed_inode() -> btrfs_join_transaction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PARAM_VALUE | 0 | root->fs_info | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/btrfs/inode.c __cow_file_range_inline() -> btrfs_join_transaction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/btrfs/inode.c btrfs_dirty_inode() -> btrfs_join_transaction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/btrfs/inode.c btrfs_finish_one_ordered() -> btrfs_join_transaction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/btrfs/inode.c btrfs_orphan_cleanup() -> btrfs_join_transaction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PARAM_VALUE | 0 | root->fs_info->commit_root_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | root->fs_info->commit_root_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | root->node->lock.first_waiter->type | 0-1 |
| DATA_SOURCE | 0 | root | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fs_info->cleanup_work_sem | ||
| HALF_LOCKED2 | &fs_info->subvol_sem |
fs/btrfs/inode.c evict_refill_and_join() -> btrfs_join_transaction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PARAM_VALUE | 0 | root->fs_info | 4096-ptr_max |
| DATA_SOURCE | 0 | root | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/btrfs/root-tree.c btrfs_find_orphan_roots() -> btrfs_join_transaction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/btrfs/relocation.c delete_block_group_cache() -> btrfs_join_transaction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root->fs_info | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &fs_info->cleaner_mutex | ||
| HALF_LOCKED2 | &fs_info->reclaim_bgs_lock | ||
| TYPE_LOCK | (struct btrfs_fs_info)->cleaner_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->reclaim_bgs_lock |
fs/btrfs/relocation.c move_existing_remap() -> btrfs_join_transaction()
| Type | Parameter | Key | Value |
|---|
fs/btrfs/relocation.c prepare_to_merge() -> btrfs_join_transaction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PARAM_VALUE | 0 | root->fs_info->reloc_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | root->fs_info->reloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | root->fs_info->reloc_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | root->fs_info->reloc_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | root->fs_info->reloc_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | root->fs_info->reloc_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | root->fs_info->reloc_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | root->fs_info->reloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | root->fs_info->reloc_mutex.wait_lock.dep_map->name | 0-255 |
fs/btrfs/relocation.c prepare_to_relocate() -> btrfs_join_transaction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PARAM_VALUE | 0 | root->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | root->fs_info->reloc_ctl | 4096-ptr_max |
| PARAM_VALUE | 0 | root->fs_info->reloc_ctl->block_group | 4096-ptr_max |
| PARAM_VALUE | 0 | root->fs_info->reloc_ctl->block_rsv | 4096-ptr_max |
| PARAM_VALUE | 0 | root->fs_info->reloc_ctl->create_reloc_tree | 1 |
| PARAM_VALUE | 0 | root->fs_info->reloc_ctl->extent_root | 4096-ptr_max |
| PARAM_VALUE | 0 | root->fs_info->reloc_ctl_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | root->fs_info->reloc_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | root->fs_info->reloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | root->fs_info->reloc_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | root->fs_info->reloc_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | root->fs_info->reloc_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | root->fs_info->reloc_mutex.osq.tail.counter | 0-s32max |
fs/btrfs/block-group.c btrfs_inc_block_group_ro() -> btrfs_join_transaction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/btrfs/zoned.c btrfs_zoned_reserve_data_reloc_bg() -> btrfs_join_transaction()
| Type | Parameter | Key | Value |
|---|
fs/btrfs/extent-tree.c btrfs_drop_snapshot() -> btrfs_join_transaction()
| Type | Parameter | Key | Value |
|---|
fs/btrfs/extent-tree.c btrfs_drop_snapshot() -> btrfs_join_transaction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PARAM_VALUE | 0 | root->fs_info->qgroup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | root->qgroup_meta_rsv_lock.rlock.dep_map->name | 0-255 |
fs/btrfs/extent-tree.c find_free_extent_update_loop() -> btrfs_join_transaction()
| Type | Parameter | Key | Value |
|---|