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 build_backref_tree() -> btrfs_backref_alloc_node()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
BUF_SIZE 0 cache 264
DATA_SOURCE 1 bytenr $4
DATA_SOURCE 2 level $3
UNITS 1 bytenr unit_byte
UNITS 2 level unit_byte

fs/btrfs/backref.c handle_direct_tree_backref() -> btrfs_backref_alloc_node()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->fs_info 4096-ptr_max
PARAM_VALUE 0 cache->rb_root.rb_node 0,4096-ptr_max
BUF_SIZE 0 cache 264
DATA_SOURCE 0 cache $0
RX_PATH
TASK_NOT_RUNNING
UNITS 1 bytenr unit_byte
UNITS 2 level 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/backref.c handle_indirect_tree_backref() -> btrfs_backref_alloc_node()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->fs_info 4096-ptr_max
PARAM_VALUE 0 cache->fs_info->block_group_root->refs.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 cache->fs_info->chunk_root->refs.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 cache->fs_info->dev_root->refs.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 cache->fs_info->fs_roots_radix_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cache->fs_info->quota_root->refs.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 cache->fs_info->remap_root->refs.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 cache->fs_info->stripe_root->refs.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 cache->fs_info->tree_root->refs.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 cache->fs_info->uuid_root->refs.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 cache->rb_root.rb_node 0,4096-ptr_max
PARAM_VALUE 2 level 1-256
BUF_SIZE 0 cache 264
DATA_SOURCE 0 cache $1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 bytenr unit_byte
UNITS 2 level 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