Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/btrfs/scrub.c finish_extent_writes_for_zoned() -> btrfs_wait_block_group_reservations()

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->ro_block_group_mutex.dep_map->name 0-255
PARAM_VALUE 0 bg->fs_info->ro_block_group_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 bg->fs_info->ro_block_group_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 bg->fs_info->ro_block_group_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 bg->fs_info->sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648,2712
PARAM_VALUE 0 bg->fs_info->zone_size 1-u64max
PARAM_VALUE 0 bg->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 bg->ro 1-u32max
PARAM_VALUE 0 bg->space_info->fs_info->fs_devices->per_profile_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 bg->space_info->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 bg->swap_extents 0
CAPPED_DATA 0 bg->start 1
DATA_SOURCE 0 bg $1
NOCHECK_CALL

fs/btrfs/zoned.c do_zone_finish() -> btrfs_wait_block_group_reservations()

Type Parameter Key Value
PARAM_VALUE 0 bg 4096-ptr_max
PARAM_VALUE 0 bg->discard_list.next->next 4096-ptr_max
PARAM_VALUE 0 bg->discard_list.next->prev 4096-ptr_max
PARAM_VALUE 0 bg->discard_list.prev->next 4096-ptr_max
PARAM_VALUE 0 bg->discard_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 bg->fs_info 4096-ptr_max
PARAM_VALUE 0 bg->fs_info->block_group_cache_lock.dep_map->name 0-255
PARAM_VALUE 0 bg->fs_info->discard_ctl.work.timer.is_queued 0-1
PARAM_VALUE 0 bg->fs_info->discard_ctl.work.work.is_queued 0-1
PARAM_VALUE 0 bg->fs_info->global_root_lock.dep_map->name 0-255
PARAM_VALUE 0 bg->fs_info->ro_block_group_mutex.dep_map->name 0-255
PARAM_VALUE 0 bg->fs_info->ro_block_group_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 bg->fs_info->ro_block_group_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 bg->fs_info->sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648
PARAM_VALUE 0 bg->fs_info->zone_size 1-u64max
PARAM_VALUE 0 bg->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 bg->reserved 0
PARAM_VALUE 0 bg->ro 1-u32max
PARAM_VALUE 0 bg->space_info->fs_info->balance_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 bg->space_info->fs_info->fs_devices->per_profile_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 bg->space_info->groups_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 bg->space_info->groups_sem.first_waiter->type 0-1
PARAM_VALUE 0 bg->space_info->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 bg->swap_extents 0
CAPPED_DATA 0 bg 1
DATA_SOURCE 0 bg $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &fs_info->reclaim_bgs_lock