Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/btrfs/volumes.c btrfs_relocate_chunk_finish() -> btrfs_start_trans_remove_block_group()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 fs_info unit_byte
UNITS 1 chunk_offset unit_byte
HALF_LOCKED2 &fs_info->reclaim_bgs_lock
HALF_LOCKED2 &fs_info->reclaim_bgs_lock
TYPE_LOCK (struct btrfs_fs_info)->reclaim_bgs_lock

fs/btrfs/block-group.c btrfs_delete_unused_bgs() -> btrfs_start_trans_remove_block_group()

Type Parameter Key Value
PARAM_VALUE 0 fs_info 4096-ptr_max
PARAM_VALUE 0 fs_info->block_group_root->fs_info->commit_root_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 fs_info->block_group_root->fs_info->commit_root_sem.first_waiter->type 0-1
PARAM_VALUE 0 fs_info->chunk_root->fs_info->commit_root_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 fs_info->chunk_root->fs_info->commit_root_sem.first_waiter->type 0-1
PARAM_VALUE 0 fs_info->cleanup_work_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 fs_info->cleanup_work_sem.first_waiter->type 0-1
PARAM_VALUE 0 fs_info->dev_root->fs_info->commit_root_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 fs_info->dev_root->fs_info->commit_root_sem.first_waiter->type 0-1
PARAM_VALUE 0 fs_info->discard_ctl.lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 fs_info->fs_root->fs_info->sb->s_cop->empty_dir 0,86,4096-ptr_max
PARAM_VALUE 0 fs_info->fs_root->fs_info->sb->s_cop->get_context 0,706,4096-ptr_max
PARAM_VALUE 0 fs_info->fs_root->fs_info->sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648,2704,2712
PARAM_VALUE 0 fs_info->fs_root->fs_info->sb->s_cop->set_context 0,67,4096-ptr_max
PARAM_VALUE 0 fs_info->quota_root->fs_info->commit_root_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 fs_info->quota_root->fs_info->commit_root_sem.first_waiter->type 0-1
PARAM_VALUE 0 fs_info->sb->s_bdi->wb_switch_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 fs_info->sb->s_bdi->wb_switch_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 fs_info->sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648
PARAM_VALUE 0 fs_info->stripe_root->fs_info->commit_root_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 fs_info->stripe_root->fs_info->commit_root_sem.first_waiter->type 0-1
PARAM_VALUE 0 fs_info->unused_bgs_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 fs_info->uuid_tree_rescan_sem.first_waiter->up 0-1
BUF_SIZE 0 fs_info (-1),1-s32max
BUF_SIZE 0 fs_info (-1),1-s32max
CAPPED_DATA 0 &fs_info->reclaim_bgs_lock 1
CAPPED_DATA 0 &fs_info->unused_bgs 1
DATA_SOURCE 0 fs_info $0
PARAM_COMPARE 0 &fs_info->unused_bgs != $0->unused_bgs.next
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 fs_info->fs_error
UNITS 0 fs_info unit_byte
UNITS 1 chunk_offset unit_byte
LOCK2 0 &fs_info->reclaim_bgs_lock
TYPE_LOCK (struct btrfs_fs_info)->reclaim_bgs_lock