Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/btrfs/extent-tree.c find_free_extent() -> btrfs_add_reserved_bytes()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->data_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 cache->data_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 cache->free_space_ctl->tree_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cache->fs_info->sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648
PARAM_VALUE 4 force_wrong_size_class 1
NOSPEC 1 ram_bytes
NOSPEC 1 ram_bytes
NOSPEC 2 num_bytes
NOSPEC 2 num_bytes
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 ram_bytes 0-s32max[c]
USER_DATA 2 num_bytes 0-s32max[c]
NO_OVERFLOW_SIMPLE 0 cache->delalloc_bytes
NO_OVERFLOW_SIMPLE 0 cache->reserved
NO_OVERFLOW_SIMPLE 1 ram_bytes
NO_OVERFLOW_SIMPLE 2 num_bytes
UNITS 1 ram_bytes unit_byte
UNITS 2 num_bytes unit_byte
LOCK2 &space_info->groups_sem
HALF_LOCKED2 &fs_info->remap_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct btrfs_space_info)->groups_sem