Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/btrfs/relocation.c __add_tree_block() -> add_tree_block()

Type Parameter Key Value
PARAM_VALUE 0 fs_info 4096-ptr_max
PARAM_VALUE 0 fs_info->block_group->io_ctl.inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 fs_info->block_group->io_ctl.inode->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 fs_info->extent_root 4096-ptr_max
PARAM_VALUE 1 ref_root 1794523402991140864
PARAM_VALUE 1 ref_root->type 168-169
PARAM_VALUE 2 parent 4096-ptr_max
PARAM_VALUE 2 *parent->locks 0-255
PARAM_VALUE 2 *parent->slots s32min-s32max
PARAM_VALUE 3 bytenr 4096-ptr_max
PARAM_VALUE 3 bytenr->rb_node 0,4096-ptr_max
DATA_SOURCE 0 fs_info $0
DATA_SOURCE 2 parent r btrfs_alloc_path
DATA_SOURCE 3 bytenr $3

fs/btrfs/ref-verify.c process_extent_item() -> add_tree_block()

Type Parameter Key Value
PARAM_VALUE 2 parent 0
DATA_SOURCE 0 fs_info $0
DATA_SOURCE 1 ref_root r btrfs_extent_inline_ref_offset
UNITS 0 fs_info unit_byte
UNITS 3 bytenr unit_byte
UNITS 4 level unit_byte
HALF_LOCKED2 &eb->lock

fs/btrfs/ref-verify.c process_extent_item() -> add_tree_block()

Type Parameter Key Value
PARAM_VALUE 1 ref_root 0
DATA_SOURCE 0 fs_info $0
DATA_SOURCE 2 parent r btrfs_extent_inline_ref_offset
UNITS 0 fs_info unit_byte
UNITS 3 bytenr unit_byte
UNITS 4 level unit_byte
HALF_LOCKED2 &eb->lock

fs/btrfs/ref-verify.c process_leaf() -> add_tree_block()

Type Parameter Key Value
PARAM_VALUE 2 parent 0
UNITS 0 fs_info unit_byte
UNITS 1 ref_root unit_byte
UNITS 3 bytenr unit_byte
HALF_LOCKED2 &eb->lock

fs/btrfs/ref-verify.c process_leaf() -> add_tree_block()

Type Parameter Key Value
PARAM_VALUE 1 ref_root 0
UNITS 0 fs_info unit_byte
UNITS 2 parent unit_byte
UNITS 3 bytenr unit_byte
HALF_LOCKED2 &eb->lock