Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/btrfs/block-group.c btrfs_add_reserved_bytes() -> btrfs_use_block_group_size_class()

Type Parameter Key Value
PARAM_VALUE 0 bg 4096-ptr_max
PARAM_VALUE 0 bg->data_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 bg->data_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 bg->free_space_ctl->tree_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 bg->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 bg->ro 0
PARAM_VALUE 0 bg->space_info 4096-ptr_max
PARAM_VALUE 0 bg->space_info->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 size_class 1-3
PARAM_VALUE 2 force_wrong_size_class 1
DATA_SOURCE 0 bg $0
DATA_SOURCE 1 size_class r btrfs_calc_block_group_size_class
DATA_SOURCE 2 force_wrong_size_class $4
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &space_info->groups_sem
LOCK2 &space_info->lock
LOCK2 0 &bg->lock
HALF_LOCKED2 &fs_info->remap_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct btrfs_block_group)->lock
TYPE_LOCK (struct btrfs_space_info)->groups_sem
TYPE_LOCK (struct btrfs_space_info)->lock