Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

fs/btrfs/delayed-inode.c btrfs_delayed_inode_release_metadata() -> btrfs_qgroup_convert_reserved_meta()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
CAPPED_DATA 0 root 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &node->mutex
TYPE_LOCK (struct btrfs_delayed_node)->mutex

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

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->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_extents.prev->next->next 4096-ptr_max
PARAM_VALUE 0 root->qgroup_meta_rsv_lock.rlock.dep_map->name 0-255
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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/delalloc-space.c btrfs_inode_rsv_release() -> btrfs_qgroup_convert_reserved_meta()

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->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->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->fs_info->sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648,2712
PARAM_VALUE 0 root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->node->lock.first_waiter->type 0-1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &inode->i_mmap_lock
HALF_LOCKED2 &tree->lock

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

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.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->usage.refs.counter s32min-s32max
PARAM_VALUE 0 root->fs_info->fs_error 0
PARAM_VALUE 0 root->fs_info->qgroup_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 0-s32max
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
DATA_SOURCE 0 root $0
NOCHECK_CALL
LOCK2 &fs_info->subvol_sem
TYPE_LOCK (struct btrfs_fs_info)->subvol_sem

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

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->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_extents.prev->next->next 4096-ptr_max
PARAM_VALUE 0 root->qgroup_meta_rsv_lock.rlock.dep_map->name 0-255
NOCHECK_CALL
LOCK2 &fs_info->subvol_sem
TYPE_LOCK (struct btrfs_fs_info)->subvol_sem

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

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 0 root->fs_info->tree_root->qgroup_meta_rsv_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 root->node 4096-ptr_max
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_bytes s32max
CAPPED_DATA 0 root->node 1
DATA_SOURCE 0 root $0
NOCHECK_CALL
HALF_LOCKED2 &fs_info->cleaner_mutex