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 delete_block_group_cache() -> btrfs_check_trunc_cache_free_space()

Type Parameter Key Value
PARAM_VALUE 0 fs_info 4096-ptr_max
PARAM_VALUE 0 fs_info->ro_block_group_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 fs_info->tree_root->fs_info 4096-ptr_max
PARAM_VALUE 1 rsv 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 fs_info unit_byte
LOCK2 &fs_info->cleaner_mutex
HALF_LOCKED2 &fs_info->reclaim_bgs_lock
TYPE_LOCK (struct btrfs_fs_info)->cleaner_mutex
TYPE_LOCK (struct btrfs_fs_info)->reclaim_bgs_lock

fs/btrfs/block-group.c cache_save_setup() -> btrfs_check_trunc_cache_free_space()

Type Parameter Key Value
PARAM_VALUE 0 fs_info 4096-ptr_max
PARAM_VALUE 0 fs_info->mount_opt 4096-u64max
PARAM_VALUE 1 rsv 4096-ptr_max
BIT_INFO 0 fs_info->mount_opt 0x1000,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
UNITS 0 fs_info unit_byte
HALF_LOCKED2 &trans->transaction->cache_write_mutex