Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->fs_info->sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648
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 do_chunk_alloc 0
DATA_SOURCE 0 cache r btrfs_lookup_block_group

fs/btrfs/scrub.c scrub_enumerate_chunks() -> btrfs_inc_block_group_ro()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
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
CAPPED_DATA 0 cache->start 1
DATA_SOURCE 0 cache r btrfs_lookup_block_group

fs/btrfs/zoned.c do_zone_finish() -> btrfs_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.is_queued 0-1
PARAM_VALUE 0 cache->fs_info->discard_ctl.work.work.is_queued 0-1
PARAM_VALUE 0 cache->fs_info->zone_size 1-u64max
PARAM_VALUE 0 cache->lock.rlock.dep_map->name 0-255
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 1 do_chunk_alloc 0
CAPPED_DATA 0 cache 1
DATA_SOURCE 0 cache $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fs_info->reclaim_bgs_lock