Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/btrfs/send.c did_overwrite_ref() -> get_inode_gen()

Type Parameter Key Value
PARAM_VALUE 0 root->fs_info->commit_root_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->fs_info->commit_root_sem.first_waiter->type 0-1
PARAM_VALUE 0 root->fs_info->sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648,2704,2712
PARAM_VALUE 0 root->fs_info->tree_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->fs_info->tree_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->node->lock.first_waiter->type 0-1
PARAM_VALUE 2 gen 8043711879525339136
PARAM_VALUE 2 *gen 0
CAPPED_DATA 1 ino 1
CAPPED_DATA 1 ino 1
NO_OVERFLOW_SIMPLE 0 root->dirty_log_pages.inode->disk_i_size
NO_OVERFLOW_SIMPLE 0 root->dirty_log_pages.inode->vfs_inode.i_size
UNITS 1 ino unit_byte

fs/btrfs/send.c did_overwrite_ref() -> get_inode_gen()

Type Parameter Key Value
PARAM_VALUE 0 root->fs_info->commit_root_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->fs_info->commit_root_sem.first_waiter->type 0-1
PARAM_VALUE 0 root->fs_info->sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648,2704,2712
PARAM_VALUE 0 root->fs_info->tree_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->fs_info->tree_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->node->lock.first_waiter->type 0-1
PARAM_VALUE 2 gen 8043711879525339136
PARAM_VALUE 2 *gen 0
CAPPED_DATA 1 ino 1
CAPPED_DATA 1 ino 1
NO_OVERFLOW_SIMPLE 0 root->dirty_log_pages.inode->disk_i_size
NO_OVERFLOW_SIMPLE 0 root->dirty_log_pages.inode->vfs_inode.i_size
UNITS 1 ino unit_byte

fs/btrfs/send.c dir_changed() -> get_inode_gen()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 0 root->fs_info->commit_root_sem.dep_map->name 0-255
PARAM_VALUE 0 root->fs_info->commit_root_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->fs_info->commit_root_sem.first_waiter->list.next 2212933610777083904
PARAM_VALUE 0 root->fs_info->commit_root_sem.first_waiter->list.prev 2212933610777083904
PARAM_VALUE 0 root->fs_info->commit_root_sem.first_waiter->type 0-1
PARAM_VALUE 0 root->fs_info->commit_root_sem.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 root->fs_info->sb->s_cop->inode_info_offs 1632,1808,2632,2648
PARAM_VALUE 0 root->fs_info->tree_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->fs_info->tree_root->node->lock.first_waiter->list.next 2212933610777083904
PARAM_VALUE 0 root->fs_info->tree_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->node->lock.first_waiter->type 0-1
PARAM_VALUE 2 gen 1552242105333436416
DATA_SOURCE 1 ino $1
UNITS 1 ino unit_byte

fs/btrfs/send.c dir_changed() -> get_inode_gen()

Type Parameter Key Value
PARAM_VALUE 0 root->fs_info->commit_root_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->fs_info->commit_root_sem.first_waiter->list.next 2212933610777083904
PARAM_VALUE 0 root->fs_info->commit_root_sem.first_waiter->type 0-1
PARAM_VALUE 0 root->fs_info->global_block_rsv.space_info->force_alloc 0,2
PARAM_VALUE 0 root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->node->lock.first_waiter->type 0-1
PARAM_VALUE 2 gen 6705171146761379840
DATA_SOURCE 1 ino $1
UNITS 1 ino unit_byte

fs/btrfs/send.c get_first_ref() -> get_inode_gen()

Type Parameter Key Value
PARAM_VALUE 0 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 0 root->fs_info->commit_root_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->fs_info->commit_root_sem.first_waiter->type 0-1
PARAM_VALUE 0 root->fs_info->sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648,2704,2712
PARAM_VALUE 0 root->fs_info->tree_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->fs_info->tree_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->node->lock.first_waiter->type 0-1
PARAM_VALUE 2 gen 3284947427891490816,5247671265082699776,7432106427512958976,7471906691953106944,8961493274899795968,9052149239116316672
DATA_SOURCE 0 root $0
DATA_SOURCE 2 gen $3
NO_OVERFLOW_SIMPLE 0 root->dirty_log_pages.inode->disk_i_size
NO_OVERFLOW_SIMPLE 0 root->dirty_log_pages.inode->vfs_inode.i_size
UNITS 1 ino unit_byte

fs/btrfs/send.c is_ancestor() -> get_inode_gen()

Type Parameter Key Value
PARAM_VALUE 0 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 0 root->fs_info->commit_root_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->fs_info->commit_root_sem.first_waiter->type 0-1
PARAM_VALUE 0 root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->node->lock.first_waiter->type 0-1
PARAM_VALUE 2 gen 6796418791766425600
DATA_SOURCE 0 root $0
UNITS 1 ino unit_byte

fs/btrfs/send.c record_deleted_ref_if_needed() -> get_inode_gen()

Type Parameter Key Value
PARAM_VALUE 2 gen 7208438811400863744
DATA_SOURCE 1 ino $0
UNITS 1 ino unit_byte

fs/btrfs/send.c record_new_ref_if_needed() -> get_inode_gen()

Type Parameter Key Value
PARAM_VALUE 2 gen 4380523573002289152
DATA_SOURCE 1 ino $0
UNITS 1 ino unit_byte

fs/btrfs/send.c send_clone() -> get_inode_gen()

Type Parameter Key Value
PARAM_VALUE 0 root->fs_info->commit_root_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->fs_info->commit_root_sem.first_waiter->type 0-1
PARAM_VALUE 0 root->fs_info->sb->s_cop->inode_info_offs 1632,1720,2632,2648
PARAM_VALUE 0 root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->node->lock.first_waiter->type 0-1
PARAM_VALUE 2 gen 2001614249098997760
CAPPED_DATA 0 root 1
UNITS 1 ino unit_byte

fs/btrfs/send.c wait_for_dest_dir_move() -> get_inode_gen()

Type Parameter Key Value
PARAM_VALUE 2 gen 5680340512481996800
UNITS 1 ino unit_byte

fs/btrfs/send.c wait_for_dest_dir_move() -> get_inode_gen()

Type Parameter Key Value
PARAM_VALUE 2 gen 2822736171165224960
UNITS 1 ino unit_byte

fs/btrfs/send.c wait_for_parent_move() -> get_inode_gen()

Type Parameter Key Value
PARAM_VALUE 0 root->fs_info->commit_root_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->fs_info->commit_root_sem.first_waiter->type 0-1
PARAM_VALUE 0 root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->node->lock.first_waiter->type 0-1
PARAM_VALUE 1 ino 257-u64max
PARAM_VALUE 2 gen 1706936741315084288
CAPPED_DATA 1 ino 1
CAPPED_DATA 1 ino 1
UNITS 1 ino unit_byte