Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/btrfs/tree-log.c fixup_inode_link_count() -> btrfs_insert_orphan_item()

Type Parameter Key Value

fs/btrfs/inode.c btrfs_delete_subvolume() -> btrfs_insert_orphan_item()

Type Parameter Key Value
PARAM_VALUE 0 trans 4096-ptr_max
PARAM_VALUE 0 trans->block_rsv->failfast 0
PARAM_VALUE 0 trans->block_rsv->full 0
PARAM_VALUE 0 trans->block_rsv->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 trans->block_rsv->qgroup_rsv_reserved 0-u32max
PARAM_VALUE 0 trans->block_rsv->qgroup_rsv_size 0
PARAM_VALUE 0 trans->block_rsv->space_info 0,4096-ptr_max
PARAM_VALUE 0 trans->block_rsv->type 9
PARAM_VALUE 0 trans->fs_info->commit_root_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 trans->fs_info->commit_root_sem.first_waiter->type 0-1
PARAM_VALUE 0 trans->fs_info->ref_verify_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 trans->fs_info->tree_root->accounting_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 trans->fs_info->tree_root->dirty_log_pages.inode->delalloc_inodes.next->prev 4096-ptr_max
PARAM_VALUE 0 trans->fs_info->tree_root->dirty_log_pages.inode->root->delalloc_root.next->prev 4096-ptr_max
PARAM_VALUE 0 trans->fs_info->tree_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 trans->fs_info->tree_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 trans->transaction->dirty_pages.inode->delalloc_inodes.next->prev 4096-ptr_max
PARAM_VALUE 0 trans->transaction->dirty_pages.inode->root->delalloc_root.next->prev 4096-ptr_max
PARAM_VALUE 0 trans->transaction->pinned_extents.inode->delalloc_inodes.next->prev 4096-ptr_max
PARAM_VALUE 0 trans->transaction->pinned_extents.inode->root->delalloc_root.next->prev 4096-ptr_max
DATA_SOURCE 0 trans r btrfs_start_transaction
RX_PATH
TASK_NOT_RUNNING
LOCK2 &fs_info->subvol_sem
HALF_LOCKED2 &dentry->d_inode->i_rwsem
HALF_LOCKED2 &dentry->d_lockref.lock
TYPE_LOCK (struct btrfs_fs_info)->subvol_sem

fs/btrfs/inode.c btrfs_orphan_add() -> btrfs_insert_orphan_item()

Type Parameter Key Value
PARAM_VALUE 0 trans 0-ptr_max
PARAM_VALUE 0 trans->fs_info->commit_root_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 trans->fs_info->commit_root_sem.first_waiter->type 0-1
PARAM_VALUE 0 trans->fs_info->tree_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 trans->fs_info->tree_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 1 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 root->fs_info->commit_root_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 1 root->fs_info->commit_root_sem.first_waiter->type 0-1
PARAM_VALUE 1 root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 1 root->node->lock.first_waiter->type 0-1
BUF_SIZE 0 trans (-1),1-s32max
BUF_SIZE 0 trans (-1),1-s32max
DATA_SOURCE 0 trans $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &target->i_rwsem