Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

fs/btrfs/inode.c __btrfs_prealloc_file_range() -> btrfs_free_reserved_extent()

Type Parameter Key Value
PARAM_VALUE 0 fs_info 4096-ptr_max
PARAM_VALUE 0 fs_info->block_group_cache_lock.dep_map->name 0-255
PARAM_VALUE 3 is_delalloc 0
CAPPED_DATA 1 start 1
CAPPED_DATA 1 start 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 fs_info unit_byte
UNITS 1 start unit_byte
UNITS 2 len unit_byte

fs/btrfs/inode.c btrfs_do_encoded_write() -> btrfs_free_reserved_extent()

Type Parameter Key Value
PARAM_VALUE 0 fs_info 4096-ptr_max
PARAM_VALUE 0 fs_info->block_group_cache_lock.dep_map->name 0-255
PARAM_VALUE 0 fs_info->sectorsize_bits 12-16
PARAM_VALUE 1 start 0
PARAM_VALUE 2 len 1-18446744073709551614
PARAM_VALUE 3 is_delalloc 1
CAPPED_DATA 0 fs_info->sectorsize_bits 1
CAPABLE 0 21
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 fs_info unit_byte
UNITS 1 start unit_byte
UNITS 2 len unit_byte

fs/btrfs/inode.c cow_one_range() -> btrfs_free_reserved_extent()

Type Parameter Key Value
PARAM_VALUE 0 fs_info 4096-ptr_max
PARAM_VALUE 0 fs_info->block_group_cache_lock.dep_map->name 0-255
PARAM_VALUE 1 start 0
PARAM_VALUE 2 len 0-18446744073709551614
PARAM_VALUE 3 is_delalloc 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 fs_info unit_byte
UNITS 1 start unit_byte
UNITS 2 len unit_byte

fs/btrfs/inode.c submit_one_async_extent() -> btrfs_free_reserved_extent()

Type Parameter Key Value
PARAM_VALUE 0 fs_info 4096-ptr_max
PARAM_VALUE 0 fs_info->block_group_cache_lock.dep_map->name 0-255
PARAM_VALUE 1 start 0
PARAM_VALUE 2 len 1-18446744073709551614
PARAM_VALUE 3 is_delalloc 1
NOCHECK_CALL
UNITS 0 fs_info unit_byte
UNITS 1 start unit_byte
UNITS 2 len unit_byte
HALF_LOCKED2 &pool->lock

fs/btrfs/direct-io.c btrfs_new_extent_direct() -> btrfs_free_reserved_extent()

Type Parameter Key Value
PARAM_VALUE 0 fs_info 4096-ptr_max
PARAM_VALUE 0 fs_info->block_group_cache_lock.dep_map->name 0-255
PARAM_VALUE 3 is_delalloc 1
CAPPED_DATA 1 start 1
CAPPED_DATA 1 start 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 fs_info unit_byte
UNITS 1 start unit_byte
UNITS 2 len unit_byte
HALF_LOCKED2 &inode->i_rwsem

fs/btrfs/relocation.c do_remap_reloc_trans() -> btrfs_free_reserved_extent()

Type Parameter Key Value
PARAM_VALUE 0 fs_info 4096-ptr_max
PARAM_VALUE 0 fs_info->block_group_cache_lock.dep_map->name 0-255
PARAM_VALUE 0 fs_info->fs_root 4096-ptr_max
PARAM_VALUE 0 fs_info->fs_root->fs_info->balance_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 fs_info->fs_root->fs_info->block_group_cache_lock.dep_map->name 0-255
PARAM_VALUE 0 fs_info->fs_root->fs_info->fs_devices 4096-ptr_max
PARAM_VALUE 0 fs_info->global_root_lock.dep_map->name 0-255
PARAM_VALUE 0 fs_info->remap_mutex.dep_map->name 0-255
PARAM_VALUE 0 fs_info->remap_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 fs_info->remap_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 fs_info->remap_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 fs_info->remap_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 fs_info->remap_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 fs_info->remap_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 3 is_delalloc 0
CAPPED_DATA 0 fs_info->fs_root 1
CAPPED_DATA 0 &fs_info->remap_mutex 1
CAPPED_DATA 2 len 1
DATA_SOURCE 0 fs_info $0
NOCHECK_CALL
UNITS 1 start unit_byte
UNITS 2 len unit_byte
LOCK2 0 &fs_info->remap_mutex
TYPE_LOCK (struct btrfs_fs_info)->remap_mutex

fs/btrfs/relocation.c move_existing_remap() -> btrfs_free_reserved_extent()

Type Parameter Key Value
PARAM_VALUE 0 fs_info 4096-ptr_max
PARAM_VALUE 0 fs_info->block_group_cache_lock.dep_map->name 0-255
PARAM_VALUE 0 fs_info->fs_root 4096-ptr_max
PARAM_VALUE 0 fs_info->fs_root->fs_info->balance_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 fs_info->fs_root->fs_info->block_group_cache_lock.dep_map->name 0-255
PARAM_VALUE 0 fs_info->fs_root->fs_info->fs_devices 4096-ptr_max
PARAM_VALUE 3 is_delalloc 0
CAPPED_DATA 0 fs_info->fs_root 1
CAPPED_DATA 1 start 1
CAPPED_DATA 2 len 1
DATA_SOURCE 0 fs_info $0
NOCHECK_CALL
UNITS 1 start unit_byte
UNITS 2 len unit_byte

fs/btrfs/relocation.c move_existing_remap() -> btrfs_free_reserved_extent()

Type Parameter Key Value
PARAM_VALUE 0 fs_info 4096-ptr_max
PARAM_VALUE 0 fs_info->block_group_cache_lock.dep_map->name 0-255
PARAM_VALUE 0 fs_info->fs_root 4096-ptr_max
PARAM_VALUE 0 fs_info->fs_root->fs_info->balance_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 fs_info->fs_root->fs_info->block_group_cache_lock.dep_map->name 0-255
PARAM_VALUE 0 fs_info->fs_root->fs_info->fs_devices 4096-ptr_max
PARAM_VALUE 1 start 0
PARAM_VALUE 3 is_delalloc 0
CAPPED_DATA 0 fs_info->fs_root 1
CAPPED_DATA 2 len 1
CAPPED_DATA 2 len 1
DATA_SOURCE 0 fs_info $0
NOCHECK_CALL
UNITS 1 start unit_byte
UNITS 2 len unit_byte

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

Type Parameter Key Value
PARAM_VALUE 0 fs_info 4096-ptr_max
PARAM_VALUE 1 start 0
PARAM_VALUE 2 len 1-18446744073709551614
PARAM_VALUE 3 is_delalloc 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 fs_info->nodesize
NO_OVERFLOW_SIMPLE 0 fs_info->sectorsize
UNITS 0 fs_info unit_byte
UNITS 1 start unit_byte
UNITS 2 len unit_byte
HALF_LOCKED2 &fs_info->subvol_sem