Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/btrfs/relocation.c btrfs_last_identity_remap_gone() -> btrfs_remove_bg_from_sinfo()

Type Parameter Key Value
PARAM_VALUE 0 bg 4096-ptr_max
PARAM_VALUE 0 bg->fs_info 4096-ptr_max
PARAM_VALUE 0 bg->fs_info->mapping_tree_lock.dep_map->name 0-255
PARAM_VALUE 0 bg->fs_info->tree_root->delalloc_inodes.next->next 4096-ptr_max
PARAM_VALUE 0 bg->fs_info->tree_root->delalloc_inodes.next->prev 4096-ptr_max
PARAM_VALUE 0 bg->fs_info->tree_root->delalloc_inodes.prev->next 4096-ptr_max
PARAM_VALUE 0 bg->fs_info->tree_root->delalloc_inodes.prev->next->next 4096-ptr_max
PARAM_VALUE 0 bg->fs_info->tree_root->delalloc_inodes.prev->next->prev 4096-ptr_max
PARAM_VALUE 0 bg->fs_info->tree_root->delalloc_inodes.prev->prev 4096-ptr_max
PARAM_VALUE 0 bg->fs_info->tree_root->delalloc_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 bg->fs_info->tree_root->delalloc_mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 bg->fs_info->tree_root->delalloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 bg->fs_info->tree_root->delalloc_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 bg->fs_info->tree_root->delalloc_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 bg->fs_info->tree_root->ordered_extent_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 bg->fs_info->tree_root->ordered_extent_mutex.dep_map->name 0-255
PARAM_VALUE 0 bg->fs_info->tree_root->ordered_extent_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 bg->fs_info->tree_root->ordered_extent_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 bg->fs_info->tree_root->ordered_extents.prev->next->next 4096-ptr_max
PARAM_VALUE 0 bg->fs_info->tree_root->qgroup_meta_rsv_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 bg->start 0-18446744073709551614
CAPPED_DATA 0 bg->start 1
DATA_SOURCE 0 bg $1
NOCHECK_CALL

fs/btrfs/block-group.c btrfs_remove_block_group() -> btrfs_remove_bg_from_sinfo()

Type Parameter Key Value
PARAM_VALUE 0 bg 4096-ptr_max
PARAM_VALUE 0 bg->discard_eligible_time 0
PARAM_VALUE 0 bg->free_space_ctl->free_space_bytes.rb_root.rb_node 4096-ptr_max
PARAM_VALUE 0 bg->free_space_ctl->tree_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 bg->fs_info->data_reloc_bg 0
PARAM_VALUE 0 bg->fs_info->relocation_bg_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 bg->io_ctl.inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 bg->io_ctl.inode->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 bg->list.next->prev 4096-ptr_max
PARAM_VALUE 0 bg->list.prev->next 4096-ptr_max
PARAM_VALUE 0 bg->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 bg->ro_list.next->prev 4096-ptr_max
PARAM_VALUE 0 bg->ro_list.prev->next 4096-ptr_max
PARAM_VALUE 0 bg->space_info 4096-ptr_max
PARAM_VALUE 0 bg->space_info->block_groups 4096-ptr_max
PARAM_VALUE 0 bg->space_info->groups_sem.dep_map->name 0-255
PARAM_VALUE 0 bg->space_info->groups_sem.first_waiter->handoff_set 1
PARAM_VALUE 0 bg->space_info->groups_sem.first_waiter->list.next 2624917664208203776
PARAM_VALUE 0 bg->space_info->groups_sem.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 0 bg->space_info->groups_sem.first_waiter->type 0-1
PARAM_VALUE 0 bg->space_info->groups_sem.osq.tail.counter 0-s32max
PARAM_VALUE 0 bg->space_info->groups_sem.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 bg->space_info->groups_sem.wait_lock.owner (-1)
PARAM_VALUE 0 bg->space_info->groups_sem.wait_lock.owner_cpu u32max
PARAM_VALUE 0 bg->space_info->lock.rlock.dep_map->name 0-255
CAPPED_DATA 0 bg 1
CAPPED_DATA 0 &bg->cache_node 1
CAPPED_DATA 0 &bg->dirty_list 1
CAPPED_DATA 0 &bg->io_list 1
DATA_SOURCE 0 bg r btrfs_lookup_block_group
BIT_INFO 0 bg->flags 0x0,0xfffffffffffff7ff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &fs_info->reclaim_bgs_lock
TYPE_LOCK (struct btrfs_fs_info)->reclaim_bgs_lock