Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/btrfs/ctree.c btrfs_force_cow_block() -> btrfs_tree_mod_log_insert_root()

Type Parameter Key Value
PARAM_VALUE 0 old_root 4096-ptr_max
PARAM_VALUE 0 old_root->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 old_root->lock.first_waiter->type 0-1
PARAM_VALUE 1 new_root 4096-ptr_max
PARAM_VALUE 1 new_root->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max
PARAM_VALUE 1 new_root->lock.first_waiter->list.next 2624917664208203776
PARAM_VALUE 1 new_root->lock.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 1 new_root->lock.first_waiter->type 0-1
PARAM_VALUE 1 new_root->log_index (-1)-1
PARAM_VALUE 2 log_removal 1
BUF_SIZE 1 new_root (-1)-s32max
BUF_SIZE 1 new_root (-1)-s32max
CAPPED_DATA 0 old_root 1
CAPPED_DATA 1 new_root 1
CAPPED_DATA 1 new_root->len 1
DATA_SOURCE 1 new_root r btrfs_alloc_tree_block
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 old_root->start
HALF_LOCKED2 &buf->lock

fs/btrfs/ctree.c insert_new_root() -> btrfs_tree_mod_log_insert_root()

Type Parameter Key Value
PARAM_VALUE 0 old_root->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 old_root->lock.first_waiter->type 0-1
PARAM_VALUE 1 new_root 4096-ptr_max
PARAM_VALUE 1 new_root->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max
PARAM_VALUE 1 new_root->lock.first_waiter->list.next 2624917664208203776
PARAM_VALUE 1 new_root->lock.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 1 new_root->lock.first_waiter->type 0-1
PARAM_VALUE 1 new_root->log_index (-1)-1
PARAM_VALUE 2 log_removal 0
BUF_SIZE 1 new_root (-1)-s32max
BUF_SIZE 1 new_root (-1)-s32max
CAPPED_DATA 1 new_root 1
DATA_SOURCE 1 new_root r btrfs_alloc_tree_block
RX_PATH
TASK_NOT_RUNNING

fs/btrfs/ctree.c promote_child_to_root() -> btrfs_tree_mod_log_insert_root()

Type Parameter Key Value
PARAM_VALUE 1 new_root 4096-ptr_max
PARAM_VALUE 1 new_root->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 1 new_root->lock.first_waiter->list.next 2624917664208203776
PARAM_VALUE 1 new_root->lock.first_waiter->type 0-1
PARAM_VALUE 1 new_root->lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 new_root->log_index (-128)-127
PARAM_VALUE 2 log_removal 1
NO_OVERFLOW_SIMPLE 1 new_root->len
NO_OVERFLOW_SIMPLE 1 new_root->start
LOCK2 1 &new_root->lock
HALF_LOCKED2 &cow->lock
TYPE_LOCK (struct extent_buffer)->lock