Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/btrfs/extent-io-tree.c insert_state() -> btrfs_merge_delalloc_extent()

Type Parameter Key Value
PARAM_VALUE 1 new 4096-ptr_max
PARAM_VALUE 1 new->end 0-18446744073709551614
PARAM_VALUE 1 new->start 0-18446744073709551614
PARAM_VALUE 2 other 4096-ptr_max
PARAM_VALUE 2 other->start 1-u64max
CAPPED_DATA 1 new->end 1
CAPPED_DATA 1 new->start 1
CAPPED_DATA 1 new->state 1
CAPPED_DATA 2 other->start 1
CAPPED_DATA 2 other->state 1
DATA_SOURCE 1 new $1
PARAM_COMPARE 2 other->start > $1->end
PARAM_COMPARE 2 other->state == $1->state
NOSPEC 1 new->end
NOSPEC 1 new->start
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 new->end 0-s32max[c]
USER_DATA 1 new->start 0-18446744073709551614[c]
NO_OVERFLOW_SIMPLE 0 inode->vfs_inode.i_bytes
LOCK2 &tree->lock
TYPE_LOCK (struct extent_io_tree)->lock

fs/btrfs/extent-io-tree.c insert_state() -> btrfs_merge_delalloc_extent()

Type Parameter Key Value
PARAM_VALUE 1 new 4096-ptr_max
PARAM_VALUE 1 new->end 1-18446744073709551614
PARAM_VALUE 1 new->start 0-18446744073709551614
PARAM_VALUE 2 other 4096-ptr_max
PARAM_VALUE 2 other->end 0-18446744073709551613
PARAM_VALUE 2 other->start 0-18446744073709551614
CAPPED_DATA 1 new->end 1
CAPPED_DATA 1 new->start 1
CAPPED_DATA 1 new->state 1
CAPPED_DATA 2 other->end 1
CAPPED_DATA 2 other->start 1
CAPPED_DATA 2 other->state 1
DATA_SOURCE 1 new $1
PARAM_COMPARE 2 other->end < $1->end
PARAM_COMPARE 2 other->start <= $1->end
PARAM_COMPARE 2 other->state == $1->state
NOSPEC 1 new->end
NOSPEC 1 new->start
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 new->end 1-18446744073709551613[c]
USER_DATA 1 new->start 0-18446744073709551614[c]
NO_OVERFLOW_SIMPLE 0 inode->vfs_inode.i_bytes
LOCK2 &tree->lock
TYPE_LOCK (struct extent_io_tree)->lock

fs/btrfs/extent-io-tree.c merge_next_state() -> btrfs_merge_delalloc_extent()

Type Parameter Key Value
PARAM_VALUE 1 new 4096-ptr_max
PARAM_VALUE 1 new->rb_node.rb_left 0,4096-ptr_max
PARAM_VALUE 1 new->rb_node.rb_right 0,4096-ptr_max
PARAM_VALUE 2 other 4096-ptr_max
CAPPED_DATA 1 new->state 1
CAPPED_DATA 2 other->start 1
CAPPED_DATA 2 other->state 1
DATA_SOURCE 1 new $1
DATA_SOURCE 2 other r next_state
PARAM_COMPARE 1 &new->rb_node != $1->rb_node.__rb_parent_color
PARAM_COMPARE 2 other->state == $1->state
BIT_INFO 1 new->state 0x0,0xffffff79
NOSPEC 1 new->end
NOSPEC 1 new->start
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 new->end 0-9223372041149743101,u64max[u]
USER_DATA 1 new->start 0-u64max
NO_OVERFLOW_SIMPLE 0 inode->disk_i_size
NO_OVERFLOW_SIMPLE 0 inode->vfs_inode.i_bytes
NO_OVERFLOW_SIMPLE 0 inode->vfs_inode.i_size
LOCK2 &tree->lock
TYPE_LOCK (struct extent_io_tree)->lock

fs/btrfs/extent-io-tree.c merge_prev_state() -> btrfs_merge_delalloc_extent()

Type Parameter Key Value
PARAM_VALUE 1 new 4096-ptr_max
PARAM_VALUE 1 new->rb_node.rb_left 0,4096-ptr_max
PARAM_VALUE 2 other 4096-ptr_max
CAPPED_DATA 1 new->state 1
CAPPED_DATA 2 other->end 1
CAPPED_DATA 2 other->state 1
DATA_SOURCE 1 new $1
DATA_SOURCE 2 other r prev_state
PARAM_COMPARE 1 &new->rb_node != $1->rb_node.__rb_parent_color
PARAM_COMPARE 2 other->state == $1->state
BIT_INFO 1 new->state 0x0,0xffffff79
NOSPEC 1 new->end
NOSPEC 1 new->start
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 new->end 0-9223372041149743101,u64max[u]
USER_DATA 1 new->start 0-u64max
NO_OVERFLOW_SIMPLE 0 inode->disk_i_size
NO_OVERFLOW_SIMPLE 0 inode->vfs_inode.i_bytes
NO_OVERFLOW_SIMPLE 0 inode->vfs_inode.i_size
LOCK2 &tree->lock
TYPE_LOCK (struct extent_io_tree)->lock