Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->discard_list.next->next 4096-ptr_max
PARAM_VALUE 0 cache->discard_list.next->prev 4096-ptr_max
PARAM_VALUE 0 cache->discard_list.prev->next 4096-ptr_max
PARAM_VALUE 0 cache->discard_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 cache->fs_info->discard_ctl->work.timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 cache->fs_info->discard_ctl.work.timer.is_queued 0-1
PARAM_VALUE 0 cache->fs_info->discard_ctl.work.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 cache->fs_info->discard_ctl.work.work.entry.prev->next 1-u64max
PARAM_VALUE 0 cache->fs_info->discard_ctl.work.work.is_hard 0-1
PARAM_VALUE 0 cache->fs_info->discard_ctl.work.work.is_lazy 0-1
PARAM_VALUE 0 cache->fs_info->discard_ctl.work.work.is_queued 0-1
PARAM_VALUE 0 cache->fs_info->discard_ctl.work.work.is_soft 0-1
PARAM_VALUE 0 cache->fs_info->sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648
PARAM_VALUE 0 cache->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cache->pinned 0
PARAM_VALUE 0 cache->remap_bytes 0
PARAM_VALUE 0 cache->reserved 0
PARAM_VALUE 0 cache->space_info->groups_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 cache->space_info->groups_sem.first_waiter->type 0-1
PARAM_VALUE 0 cache->used 0
PARAM_VALUE 0 *cache->fs_info->discard_ctl.work.timer->entry->next->pprev 1-u64max
PARAM_VALUE 0 *cache->fs_info->discard_ctl.work.timer->entry.pprev 4096-ptr_max
PARAM_VALUE 1 force 0
CAPPED_DATA 0 cache 1
CAPPED_DATA 0 &cache->list 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &fs_info->reclaim_bgs_lock
LOCK2 &space_info->groups_sem
TYPE_LOCK (struct btrfs_fs_info)->reclaim_bgs_lock
TYPE_LOCK (struct btrfs_space_info)->groups_sem

fs/btrfs/block-group.c btrfs_inc_block_group_ro() -> inc_block_group_ro()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->fs_info 4096-ptr_max
PARAM_VALUE 0 cache->fs_info->ro_block_group_mutex.dep_map->name 0-255
PARAM_VALUE 0 cache->fs_info->ro_block_group_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 cache->fs_info->ro_block_group_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 cache->fs_info->ro_block_group_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 cache->fs_info->ro_block_group_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 cache->fs_info->ro_block_group_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 cache->fs_info->sb 4096-ptr_max
PARAM_VALUE 0 cache->fs_info->sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648,2712
PARAM_VALUE 0 cache->space_info->groups_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 cache->space_info->groups_sem.first_waiter->type 0-1
PARAM_VALUE 1 force 0
DATA_SOURCE 0 cache $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &fs_info->ro_block_group_mutex
TYPE_LOCK (struct btrfs_fs_info)->ro_block_group_mutex

fs/btrfs/block-group.c btrfs_inc_block_group_ro() -> inc_block_group_ro()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->fs_info 4096-ptr_max
PARAM_VALUE 0 cache->fs_info->ro_block_group_mutex.dep_map->name 0-255
PARAM_VALUE 0 cache->fs_info->ro_block_group_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 cache->fs_info->ro_block_group_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 cache->fs_info->ro_block_group_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 cache->fs_info->ro_block_group_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 cache->fs_info->ro_block_group_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 cache->fs_info->sb 4096-ptr_max
PARAM_VALUE 0 cache->fs_info->sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648,2712
PARAM_VALUE 0 cache->space_info->groups_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 cache->space_info->groups_sem.first_waiter->type 0-1
PARAM_VALUE 1 force 0
DATA_SOURCE 0 cache $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &fs_info->ro_block_group_mutex
TYPE_LOCK (struct btrfs_fs_info)->ro_block_group_mutex

fs/btrfs/block-group.c btrfs_inc_block_group_ro() -> inc_block_group_ro()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->fs_info 4096-ptr_max
PARAM_VALUE 0 cache->fs_info->balance_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cache->fs_info->fs_devices 4096-ptr_max
PARAM_VALUE 0 cache->fs_info->ro_block_group_mutex.dep_map->name 0-255
PARAM_VALUE 0 cache->fs_info->ro_block_group_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 cache->fs_info->ro_block_group_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 cache->fs_info->ro_block_group_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 cache->fs_info->ro_block_group_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 cache->fs_info->ro_block_group_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 cache->fs_info->sb 4096-ptr_max
PARAM_VALUE 0 cache->fs_info->sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648,2712
PARAM_VALUE 0 cache->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cache->space_info 4096-ptr_max
PARAM_VALUE 0 cache->space_info->fs_info->balance_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cache->space_info->fs_info->fs_devices->per_profile_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cache->space_info->fs_info->zone_size 1-u64max
PARAM_VALUE 0 cache->space_info->groups_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 cache->space_info->groups_sem.first_waiter->type 0-1
PARAM_VALUE 0 cache->space_info->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 force 0
DATA_SOURCE 0 cache $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &fs_info->ro_block_group_mutex
TYPE_LOCK (struct btrfs_fs_info)->ro_block_group_mutex

fs/btrfs/block-group.c btrfs_read_block_groups() -> inc_block_group_ro()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 1 force 1
CAPPED_DATA 0 &cache->list 1
NOCHECK_CALL

fs/btrfs/block-group.c btrfs_read_block_groups() -> inc_block_group_ro()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 1 force 1
CAPPED_DATA 0 &cache->list 1
NOCHECK_CALL

fs/btrfs/block-group.c btrfs_reclaim_block_group() -> inc_block_group_ro()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->fs_info 4096-ptr_max
PARAM_VALUE 0 cache->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cache->pinned 0
PARAM_VALUE 0 cache->reserved 0
PARAM_VALUE 0 cache->ro 0
PARAM_VALUE 0 cache->space_info 4096-ptr_max
PARAM_VALUE 0 cache->space_info->groups_sem.dep_map->name 0-255
PARAM_VALUE 0 cache->space_info->groups_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 cache->space_info->groups_sem.first_waiter->list.next 2624917664208203776
PARAM_VALUE 0 cache->space_info->groups_sem.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 0 cache->space_info->groups_sem.first_waiter->type 0-1
PARAM_VALUE 0 cache->space_info->groups_sem.osq.tail.counter 0-s32max
PARAM_VALUE 0 cache->space_info->groups_sem.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 cache->space_info->groups_sem.wait_lock.owner (-1)
PARAM_VALUE 0 cache->space_info->groups_sem.wait_lock.owner_cpu u32max
PARAM_VALUE 0 cache->space_info->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cache->used 1-18446744073709551614
PARAM_VALUE 1 force 0
CAPPED_DATA 0 cache->used 1
DATA_SOURCE 0 cache $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &fs_info->reclaim_bgs_lock
LOCK2 &space_info->groups_sem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct btrfs_fs_info)->reclaim_bgs_lock
TYPE_LOCK (struct btrfs_space_info)->groups_sem

fs/btrfs/block-group.c read_one_block_group() -> inc_block_group_ro()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->active_bg_list.next->next 4096-ptr_max
PARAM_VALUE 0 cache->active_bg_list.prev->next 4096-ptr_max
PARAM_VALUE 0 cache->active_bg_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 cache->bg_list.next->next 4096-ptr_max
PARAM_VALUE 0 cache->bg_list.prev->next 4096-ptr_max
PARAM_VALUE 0 cache->bg_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 cache->cache_node.__rb_parent_color 1
PARAM_VALUE 0 cache->cache_node.rb_left 4096-ptr_max
PARAM_VALUE 0 cache->cache_node.rb_right 4096-ptr_max
PARAM_VALUE 0 cache->cluster_list.next->next 4096-ptr_max
PARAM_VALUE 0 cache->cluster_list.prev->next 4096-ptr_max
PARAM_VALUE 0 cache->cluster_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 cache->data_rwsem.dep_map->name 0-255
PARAM_VALUE 0 cache->dirty_list.next->next 4096-ptr_max
PARAM_VALUE 0 cache->dirty_list.prev->next 4096-ptr_max
PARAM_VALUE 0 cache->dirty_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 cache->discard_list.next->next 4096-ptr_max
PARAM_VALUE 0 cache->discard_list.prev->next 4096-ptr_max
PARAM_VALUE 0 cache->discard_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 cache->free_space_ctl->block_group 4096-ptr_max
PARAM_VALUE 0 cache->free_space_ctl->block_group->fs_info 4096-ptr_max
PARAM_VALUE 0 cache->free_space_ctl->cache_writeout_mutex.dep_map->name 0-255
PARAM_VALUE 0 cache->free_space_ctl->cache_writeout_mutex.magic 4096-ptr_max
PARAM_VALUE 0 cache->free_space_ctl->extents_thresh 157
PARAM_VALUE 0 cache->free_space_ctl->trimming_ranges.next 4096-ptr_max
PARAM_VALUE 0 cache->free_space_ctl->trimming_ranges.next->next 4096-ptr_max
PARAM_VALUE 0 cache->free_space_ctl->trimming_ranges.prev 4096-ptr_max
PARAM_VALUE 0 cache->free_space_ctl->trimming_ranges.prev->next 4096-ptr_max
PARAM_VALUE 0 cache->free_space_ctl->trimming_ranges.prev->prev 4096-ptr_max
PARAM_VALUE 0 cache->free_space_lock.dep_map->name 0-255
PARAM_VALUE 0 cache->fs_info 4096-ptr_max
PARAM_VALUE 0 cache->fs_info->block_group_cache_lock.dep_map->name 0-255
PARAM_VALUE 0 cache->fs_info->block_group_cache_lock.owner (-1)
PARAM_VALUE 0 cache->fs_info->block_group_cache_lock.owner_cpu u32max
PARAM_VALUE 0 cache->fs_info->block_group_cache_tree.rb_leftmost 4096-ptr_max
PARAM_VALUE 0 cache->fs_info->block_group_cache_tree.rb_root.rb_node 4096-ptr_max
PARAM_VALUE 0 cache->fs_info->mapping_tree_lock.dep_map->name 0-255
PARAM_VALUE 0 cache->io_list.next->next 4096-ptr_max
PARAM_VALUE 0 cache->io_list.prev->next 4096-ptr_max
PARAM_VALUE 0 cache->io_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 cache->list.next->next 4096-ptr_max
PARAM_VALUE 0 cache->list.prev->next 4096-ptr_max
PARAM_VALUE 0 cache->list.prev->prev 4096-ptr_max
PARAM_VALUE 0 cache->ro_list.next->next 4096-ptr_max
PARAM_VALUE 0 cache->ro_list.prev->next 4096-ptr_max
PARAM_VALUE 0 cache->ro_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 cache->space_info 4096-ptr_max
PARAM_VALUE 0 cache->space_info->fs_info->balance_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cache->space_info->fs_info->fs_devices->per_profile_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cache->space_info->groups_sem.dep_map->name 0-255
PARAM_VALUE 0 cache->space_info->groups_sem.first_waiter->handoff_set 1
PARAM_VALUE 0 cache->space_info->groups_sem.first_waiter->list.next 2624917664208203776
PARAM_VALUE 0 cache->space_info->groups_sem.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 0 cache->space_info->groups_sem.first_waiter->type 0-1
PARAM_VALUE 0 cache->space_info->groups_sem.osq.tail.counter 0-s32max
PARAM_VALUE 0 cache->space_info->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 force 1
DATA_SOURCE 0 cache r btrfs_create_block_group
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 cache->free_space_ctl->block_group->full_stripe_len