Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 19 files:

Smatch caller information:

fs/btrfs/verity.c btrfs_begin_enable_verity() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 1 num_items 1
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/btrfs/verity.c drop_verity_items() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 1 num_items 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem

fs/btrfs/verity.c finish_verity() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 1 num_items 2
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/btrfs/verity.c rollback_verity() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 1 num_items 2
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/btrfs/verity.c write_key_bytes() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 1 num_items 1
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/btrfs/dev-replace.c btrfs_dev_replace_cancel() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 1 num_items 0
CAPABLE 0 21
LOCK2 &dev_replace->lock_finishing_cancel_unmount
TYPE_LOCK (struct btrfs_dev_replace)->lock_finishing_cancel_unmount

fs/btrfs/dev-replace.c btrfs_dev_replace_finishing() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 1 num_items 0
LOCK2 &dev_replace->lock_finishing_cancel_unmount
TYPE_LOCK (struct btrfs_dev_replace)->lock_finishing_cancel_unmount

fs/btrfs/dev-replace.c btrfs_dev_replace_finishing() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 1 num_items 0
LOCK2 &dev_replace->lock_finishing_cancel_unmount
TYPE_LOCK (struct btrfs_dev_replace)->lock_finishing_cancel_unmount

fs/btrfs/dev-replace.c btrfs_dev_replace_start() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 1 num_items 1
CAPABLE 0 21

fs/btrfs/xattr.c btrfs_setxattr_trans() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 1 num_items 2
RX_PATH
TASK_NOT_RUNNING

fs/btrfs/xattr.c btrfs_xattr_handler_set_prop() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 1 num_items 2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &unused->d_inode->i_rwsem

fs/btrfs/volumes.c balance_remap_chunks() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 1 num_items 0

fs/btrfs/volumes.c btrfs_init_new_device() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 1 num_items 0
CAPABLE 0 21
HALF_LOCKED2 &sb->s_umount
HALF_LOCKED2 global &uuid_mutex

fs/btrfs/volumes.c btrfs_rm_device() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 1 num_items 0
CAPABLE 0 21

fs/btrfs/volumes.c btrfs_shrink_device() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 1 num_items 0
CAPABLE 0 21

fs/btrfs/volumes.c btrfs_shrink_device() -> btrfs_start_transaction()

Type Parameter Key Value
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
PARAM_VALUE 1 num_items 0
CAPABLE 0 21

fs/btrfs/volumes.c insert_balance_item() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 1 num_items 0
HALF_LOCKED2 &fs_info->balance_mutex

fs/btrfs/file.c btrfs_fallocate_update_isize() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 0 root->fs_info 4096-ptr_max
PARAM_VALUE 1 num_items 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

fs/btrfs/file.c btrfs_punch_hole() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 1 num_items 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

fs/btrfs/file.c btrfs_sync_file() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 1 num_items 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_mmap_lock
HALF_LOCKED2 &inode->vfs_inode.i_rwsem

fs/btrfs/inode.c btrfs_create_common() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 1 num_items 2-8
RX_PATH
TASK_NOT_RUNNING

fs/btrfs/inode.c btrfs_delete_subvolume() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 0 root->delalloc_inodes.prev->next->next 4096-ptr_max
PARAM_VALUE 0 root->delalloc_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 root->delalloc_mutex.dep_map->name 0-255
PARAM_VALUE 0 root->delalloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 root->delalloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 root->delalloc_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 root->delalloc_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 root->delalloc_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 root->delalloc_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 root->delalloc_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 root->fs_info->delayed_iput_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 root->fs_info->delayed_iputs_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 root->fs_info->delayed_iputs_wait.head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 root->fs_info->global_block_rsv.full 0
PARAM_VALUE 0 root->fs_info->subvol_sem.dep_map->name 0-255
PARAM_VALUE 0 root->fs_info->subvol_sem.first_waiter->list.next 2624917664208203776
PARAM_VALUE 0 root->fs_info->subvol_sem.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 0 root->fs_info->subvol_sem.first_waiter->type 0-1
PARAM_VALUE 0 root->fs_info->subvol_sem.osq.tail.counter 0-s32max
PARAM_VALUE 0 root->fs_info->subvol_sem.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 root->fs_info->subvol_sem.wait_lock.owner (-1)
PARAM_VALUE 0 root->fs_info->subvol_sem.wait_lock.owner_cpu u32max
PARAM_VALUE 0 root->fs_info->trans_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 root->ordered_extent_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 root->ordered_extent_mutex.dep_map->name 0-255
PARAM_VALUE 0 root->ordered_extent_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 root->ordered_extent_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 root->ordered_extent_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 root->ordered_extent_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 root->ordered_extent_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 root->ordered_extent_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 root->ordered_extent_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 root->ordered_extents.prev->next->next 4096-ptr_max
PARAM_VALUE 0 root->qgroup_meta_rsv_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 num_items 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &fs_info->subvol_sem
HALF_LOCKED2 &dentry->d_inode->i_rwsem
HALF_LOCKED2 &dentry->d_lockref.lock
TYPE_LOCK (struct btrfs_fs_info)->subvol_sem

fs/btrfs/inode.c btrfs_dirty_inode() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 1 num_items 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem

fs/btrfs/inode.c btrfs_link() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 1 num_items 5-6
FUZZY_MAX 1 num_items 6
BIT_INFO 1 num_items 0x4,0x7
HARD_MAX 1 num_items 6
RX_PATH
TASK_NOT_RUNNING
LOCK2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

fs/btrfs/inode.c btrfs_orphan_cleanup() -> btrfs_start_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->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
PARAM_VALUE 1 num_items 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 btrfs_setsize() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 0 root->snapshot_lock.readers.counter 0
PARAM_VALUE 1 num_items 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dentry->d_inode->i_rwsem
HALF_LOCKED2 &dentry->d_lockref.lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock

fs/btrfs/inode.c btrfs_symlink() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 1 num_items 3-9
RX_PATH
TASK_NOT_RUNNING

fs/btrfs/inode.c btrfs_tmpfile() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 1 num_items 2-8
RX_PATH
TASK_NOT_RUNNING

fs/btrfs/inode.c maybe_insert_hole() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 0 root->fs_info 4096-ptr_max
PARAM_VALUE 1 num_items 3
RX_PATH
TASK_NOT_RUNNING

fs/btrfs/scrub.c btrfs_scrub_dev() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 1 num_items 0
CAPABLE 0 21

fs/btrfs/free-space-tree.c btrfs_create_free_space_tree() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 1 num_items 0
RX_PATH
TASK_NOT_RUNNING

fs/btrfs/free-space-tree.c btrfs_delete_free_space_tree() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 1 num_items 0
RX_PATH
TASK_NOT_RUNNING

fs/btrfs/free-space-tree.c btrfs_rebuild_free_space_tree() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 0 root 0,4096-ptr_max
PARAM_VALUE 1 num_items 1
DATA_SOURCE 0 root r btrfs_global_root
RX_PATH
TASK_NOT_RUNNING

fs/btrfs/free-space-tree.c btrfs_rebuild_free_space_tree() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 0 root 0,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
PARAM_VALUE 1 num_items 1
DATA_SOURCE 0 root r btrfs_global_root
RX_PATH
TASK_NOT_RUNNING

fs/btrfs/free-space-tree.c delete_orphan_free_space_entries() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 1 num_items 1
DATA_SOURCE 0 root $0
RX_PATH
TASK_NOT_RUNNING

fs/btrfs/qgroup.c btrfs_qgroup_cleanup_dropped_subvolume() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 0 root 1-u64max
PARAM_VALUE 0 root->fs_info->trans_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 num_items 2
HALF_LOCKED2 &fs_info->cleaner_mutex

fs/btrfs/qgroup.c btrfs_qgroup_rescan_worker() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 1 num_items 0
HALF_LOCKED2 &pool->lock

fs/btrfs/qgroup.c btrfs_qgroup_rescan_worker() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 1 num_items 1
HALF_LOCKED2 &pool->lock

fs/btrfs/qgroup.c btrfs_quota_disable() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 0 root->fs_info->trans_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 num_items 1
CAPABLE 0 21
LOCK2 &fs_info->cleaner_mutex
LOCK2 &fs_info->subvol_sem
TYPE_LOCK (struct btrfs_fs_info)->cleaner_mutex
TYPE_LOCK (struct btrfs_fs_info)->subvol_sem

fs/btrfs/qgroup.c btrfs_quota_enable() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 1 num_items 2
CAPABLE 0 21
LOCK2 &fs_info->subvol_sem
TYPE_LOCK (struct btrfs_fs_info)->subvol_sem

fs/btrfs/free-space-cache.c btrfs_set_free_space_cache_v1_active() -> btrfs_start_transaction()

Type Parameter Key Value
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
PARAM_VALUE 1 num_items 0
RX_PATH
TASK_NOT_RUNNING

fs/btrfs/relocation.c create_reloc_inode() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 0 root 0,4096-ptr_max
PARAM_VALUE 0 root->refs.refs.counter (-1073741824),0-s32max
PARAM_VALUE 1 num_items 6

fs/btrfs/relocation.c do_remap_reloc_trans() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 1 num_items 0
DATA_SOURCE 0 root r btrfs_extent_root

fs/btrfs/relocation.c mark_garbage_root() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 1 num_items 0

fs/btrfs/relocation.c merge_reloc_root() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 0 root->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max
PARAM_VALUE 0 root->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent 0,4672,5297,4573560380487,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000-s64max
PARAM_VALUE 0 root->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max
PARAM_VALUE 0 root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->node->lock.first_waiter->type 0-1
PARAM_VALUE 1 num_items 0
BUF_SIZE 0 root (-1),2888
BUF_SIZE 0 root (-1),2888
DATA_SOURCE 0 root $1

fs/btrfs/relocation.c start_block_group_remapping() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 1 num_items 0

fs/btrfs/defrag.c btrfs_defrag_root() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 0 root->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max
PARAM_VALUE 0 root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->node->lock.first_waiter->type 0-1
PARAM_VALUE 1 num_items 0
DATA_SOURCE 0 root $0
CAPABLE 0 21

fs/btrfs/sysfs.c btrfs_force_chunk_alloc_store() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 1 num_items 0
CAPABLE 0 21
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

fs/btrfs/ioctl.c _btrfs_ioctl_set_received_subvol() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 1 num_items 3
LOCK2 &fs_info->subvol_sem
TYPE_LOCK (struct btrfs_fs_info)->subvol_sem

fs/btrfs/ioctl.c btrfs_fileattr_set() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 0 root->fs_info->zone_size 1-u64max
PARAM_VALUE 1 num_items 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

fs/btrfs/ioctl.c btrfs_fileattr_set() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 0 root->fs_info->zone_size 1-u64max
PARAM_VALUE 1 num_items 2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

fs/btrfs/ioctl.c btrfs_ioctl_default_subvol() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 1 num_items 1
CAPABLE 0 21

fs/btrfs/ioctl.c btrfs_ioctl_qgroup_assign() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 0 root->refs.refs.counter (-1073741824),0-s32max
PARAM_VALUE 1 num_items 2
CAPABLE 0 21

fs/btrfs/ioctl.c btrfs_ioctl_qgroup_create() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 0 root->refs.refs.counter (-1073741824),0-s32max
PARAM_VALUE 1 num_items 2
CAPABLE 0 21

fs/btrfs/ioctl.c btrfs_ioctl_qgroup_limit() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 0 root->refs.refs.counter (-1073741824),0-s32max
PARAM_VALUE 1 num_items 1
CAPABLE 0 21

fs/btrfs/ioctl.c btrfs_ioctl_resize() -> btrfs_start_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->fs_devices 4096-ptr_max
PARAM_VALUE 0 root->fs_info->super_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 num_items 0
CAPABLE 0 21

fs/btrfs/ioctl.c btrfs_ioctl_set_features() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 1 num_items 0
CAPABLE 0 21

fs/btrfs/ioctl.c btrfs_ioctl_set_fslabel() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 1 num_items 0
CAPABLE 0 21

fs/btrfs/ioctl.c btrfs_ioctl_subvol_setflags() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 0 root->root_item_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 root->send_in_progress 0
PARAM_VALUE 1 num_items 1
LOCK2 &fs_info->subvol_sem
TYPE_LOCK (struct btrfs_fs_info)->subvol_sem

fs/btrfs/ioctl.c create_snapshot() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 0 root->delalloc_inodes.prev->next->next 4096-ptr_max
PARAM_VALUE 0 root->delalloc_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 root->delalloc_mutex.dep_map->name 0-255
PARAM_VALUE 0 root->delalloc_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 root->delalloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 root->delalloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 root->delalloc_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 root->delalloc_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 root->delalloc_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 root->delalloc_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 root->delalloc_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 root->delalloc_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 root->delalloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 root->fs_info 4096-ptr_max
PARAM_VALUE 0 root->fs_info->fs_error 0
PARAM_VALUE 0 root->nr_swapfiles.counter 0
PARAM_VALUE 0 root->ordered_extent_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 root->ordered_extent_mutex.dep_map->name 0-255
PARAM_VALUE 0 root->ordered_extent_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 root->ordered_extent_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 root->ordered_extent_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 root->ordered_extent_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 root->ordered_extent_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 root->ordered_extent_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 root->ordered_extent_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 root->ordered_extent_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 root->ordered_extents.prev->next->next 4096-ptr_max
PARAM_VALUE 1 num_items 0
DATA_SOURCE 0 root $0
LOCK2 &fs_info->subvol_sem
TYPE_LOCK (struct btrfs_fs_info)->subvol_sem

fs/btrfs/ioctl.c create_subvol() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 0 root->delalloc_inodes.prev->next->next 4096-ptr_max
PARAM_VALUE 0 root->delalloc_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 root->delalloc_mutex.dep_map->name 0-255
PARAM_VALUE 0 root->delalloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 root->delalloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 root->delalloc_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 root->delalloc_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 root->delalloc_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 root->delalloc_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 root->delalloc_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 root->fs_info->delayed_iput_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 root->fs_info->delayed_iputs_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 root->fs_info->delayed_iputs_wait.head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 root->fs_info->global_block_rsv.full 0
PARAM_VALUE 0 root->fs_info->trans_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 root->ordered_extent_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 root->ordered_extent_mutex.dep_map->name 0-255
PARAM_VALUE 0 root->ordered_extent_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 root->ordered_extent_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 root->ordered_extent_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 root->ordered_extent_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 root->ordered_extent_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 root->ordered_extent_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 root->ordered_extent_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 root->ordered_extents.prev->next->next 4096-ptr_max
PARAM_VALUE 0 root->qgroup_meta_rsv_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 num_items 0
LOCK2 &fs_info->subvol_sem
TYPE_LOCK (struct btrfs_fs_info)->subvol_sem

fs/btrfs/extent-tree.c btrfs_drop_snapshot() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 1 num_items 0
LOCK2 &fs_info->cleaner_mutex
TYPE_LOCK (struct btrfs_fs_info)->cleaner_mutex

fs/btrfs/extent-tree.c btrfs_drop_snapshot() -> btrfs_start_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
PARAM_VALUE 1 num_items 0
LOCK2 &fs_info->cleaner_mutex
TYPE_LOCK (struct btrfs_fs_info)->cleaner_mutex

fs/btrfs/uuid-tree.c btrfs_create_uuid_tree() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 1 num_items 2
RX_PATH
TASK_NOT_RUNNING

fs/btrfs/uuid-tree.c btrfs_uuid_iter_rem() -> btrfs_start_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.dep_map->name 0-255
PARAM_VALUE 0 root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->node->lock.first_waiter->list.next 2212933610777083904
PARAM_VALUE 0 root->node->lock.first_waiter->list.prev 2212933610777083904
PARAM_VALUE 0 root->node->lock.first_waiter->type 0-1
PARAM_VALUE 1 num_items 1
DATA_SOURCE 0 root $0

fs/btrfs/uuid-tree.c btrfs_uuid_scan_kthread() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 1 num_items 2

fs/btrfs/super.c btrfs_sync_fs() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 1 num_items 0
RX_PATH
TASK_NOT_RUNNING

fs/btrfs/reflink.c clone_copy_inline_extent() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 1 num_items 3
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &src_inode->vfs_inode.i_rwsem

fs/btrfs/reflink.c clone_copy_inline_extent() -> btrfs_start_transaction()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 1 num_items 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &src_inode->vfs_inode.i_rwsem