Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/btrfs/extent-io-tree.c btrfs_convert_extent_bit() -> tree_search_for_insert()

Type Parameter Key Value
PARAM_VALUE 0 tree 4096-ptr_max
PARAM_VALUE 2 node_ret 3401226788375576576
PARAM_VALUE 2 *node_ret 0,4096-ptr_max
PARAM_VALUE 3 parent_ret 3998278382917193728
BUF_SIZE 0 tree (-1),96
BUF_SIZE 0 tree (-1),96
DATA_SOURCE 0 tree $0
DATA_SOURCE 1 offset $1 [m]
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 1 offset unit_byte
LOCK2 0 &tree->lock
HALF_LOCKED2 &log_root_tree->log_mutex
HALF_LOCKED2 &root->log_mutex
TYPE_LOCK (struct extent_io_tree)->lock

fs/btrfs/extent-io-tree.c set_extent_bit() -> tree_search_for_insert()

Type Parameter Key Value
PARAM_VALUE 0 tree 4096-ptr_max
PARAM_VALUE 2 node_ret 4471316019706785792
PARAM_VALUE 2 *node_ret 0,4096-ptr_max
PARAM_VALUE 3 parent_ret 6926058466692653056
BUF_SIZE 0 tree (-1),96
BUF_SIZE 0 tree (-1),96
DATA_SOURCE 0 tree $0
DATA_SOURCE 1 offset $1 [m]
NOSPEC 1 offset
NOSPEC 1 offset
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 offset 0-u64max
NO_OVERFLOW_SIMPLE 0 tree->fs_info->nodesize
NO_OVERFLOW_SIMPLE 0 tree->fs_info->sectorsize
UNITS 1 offset unit_byte
LOCK2 0 &tree->lock
TYPE_LOCK (struct extent_io_tree)->lock

fs/btrfs/extent-io-tree.c tree_search() -> tree_search_for_insert()

Type Parameter Key Value
PARAM_VALUE 0 tree 4096-ptr_max
PARAM_VALUE 2 node_ret 0
PARAM_VALUE 3 parent_ret 0
BUF_SIZE 0 tree (-1),96
BUF_SIZE 0 tree (-1),96
BUF_SIZE 0 tree->fs_info (-1),64,128,280,1024,11312
DATA_SOURCE 0 tree $0
DATA_SOURCE 1 offset $1
NOSPEC 1 offset
NOSPEC 1 offset
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 offset 0-u64max
NO_OVERFLOW_SIMPLE 0 tree->inode->vfs_inode.i_bytes
UNITS 1 offset unit_byte
LOCK2 0 &tree->lock
TYPE_LOCK (struct extent_io_tree)->lock