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 move_existing_remap() -> btrfs_free_reserved_bytes()

Type Parameter Key Value
PARAM_VALUE 0 cache 0,4096-ptr_max
PARAM_VALUE 2 is_delalloc 0
CAPPED_DATA 1 num_bytes 1
CAPPED_DATA 1 num_bytes 1
DATA_SOURCE 0 cache r btrfs_lookup_block_group
NOCHECK_CALL
UNITS 1 num_bytes unit_byte

fs/btrfs/extent-tree.c btrfs_free_reserved_extent() -> btrfs_free_reserved_bytes()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
DATA_SOURCE 0 cache r btrfs_lookup_block_group
DATA_SOURCE 1 num_bytes $2
DATA_SOURCE 2 is_delalloc $3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 num_bytes unit_byte
HALF_LOCKED2 &fs_info->remap_mutex
HALF_LOCKED2 &pool->lock

fs/btrfs/extent-tree.c btrfs_free_tree_block() -> btrfs_free_reserved_bytes()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 2 is_delalloc 0
DATA_SOURCE 0 cache r btrfs_lookup_block_group
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 num_bytes
UNITS 1 num_bytes unit_byte
HALF_LOCKED2 &fs_info->cleaner_mutex
HALF_LOCKED2 &fs_info->qgroup_ioctl_lock
HALF_LOCKED2 &fs_info->subvol_sem