Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

fs/btrfs/verity.c btrfs_begin_enable_verity() -> btrfs_orphan_add()

Type Parameter Key Value
PARAM_VALUE 0 trans 0-ptr_max
PARAM_VALUE 1 inode 4096-ptr_max
PARAM_VALUE 1 inode->root->fs_info->qgroup_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 inode->root->qgroup_meta_rsv_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 inode->vfs_inode.i_rwsem.count.counter s64min-(-1),1-s64max
DATA_SOURCE 0 trans r btrfs_start_transaction
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

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

Type Parameter Key Value
PARAM_VALUE 0 trans 4096-ptr_max
PARAM_VALUE 1 inode 4096-ptr_max
PARAM_VALUE 1 inode->root 4096-ptr_max
PARAM_VALUE 1 inode->vfs_inode.i_ino 0-1,3-255,257-u64max
PARAM_VALUE 1 inode->vfs_inode.i_size s64min-0
CAPPED_DATA 0 trans->transid 1
DATA_SOURCE 0 trans r __unlink_start_trans
FUZZY_MAX 1 inode->vfs_inode.i_size 0
HARD_MAX 1 inode->vfs_inode.i_size 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dentry->d_inode->i_rwsem
HALF_LOCKED2 &dentry->d_lockref.lock
HALF_LOCKED2 &dentry->d_sb->s_vfs_rename_mutex
HALF_LOCKED2 &dir->d_inode->i_rwsem
HALF_LOCKED2 &vfs_dir->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

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

Type Parameter Key Value
PARAM_VALUE 0 trans 4096-ptr_max
PARAM_VALUE 0 trans->block_rsv->lock.rlock.dep_map->name 0-255
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->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->aborted s32min-(-27),(-17),(-12),(-5),(-2)
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
PARAM_VALUE 1 inode 4096-ptr_max
DATA_SOURCE 0 trans r __unlink_start_trans
RX_PATH
TASK_NOT_RUNNING
LOCK2 &target->i_rwsem
HALF_LOCKED2 &dentry->d_lockref.lock
HALF_LOCKED2 &dentry->d_sb->s_vfs_rename_mutex
HALF_LOCKED2 &dir->d_inode->i_rwsem
HALF_LOCKED2 &dir->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/btrfs/free-space-cache.c btrfs_remove_free_space_inode() -> btrfs_orphan_add()

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 inode 4096-ptr_max
BUF_SIZE 0 trans (-1),1-s32max
BUF_SIZE 0 trans (-1),1-s32max
DATA_SOURCE 0 trans $0
RX_PATH
TASK_NOT_RUNNING

fs/btrfs/relocation.c create_reloc_inode() -> btrfs_orphan_add()

Type Parameter Key Value
PARAM_VALUE 0 trans 0-ptr_max
PARAM_VALUE 1 inode 4096-ptr_max
PARAM_VALUE 1 inode->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 inode->root->fs_info->commit_root_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 1 inode->root->fs_info->commit_root_sem.first_waiter->type 0-1
PARAM_VALUE 1 inode->root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 1 inode->root->node->lock.first_waiter->type 0-1
PARAM_VALUE 1 inode->vfs_inode.i_data.host->i_sb->s_export_op->fh_to_dentry 0,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max
PARAM_VALUE 1 inode->vfs_inode.i_data.host->i_sb->s_export_op->fh_to_parent 0,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max
PARAM_VALUE 1 inode->vfs_inode.i_data.host->i_sb->s_export_op->get_parent 0,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max
PARAM_VALUE 1 inode->vfs_inode.i_mapping->a_ops->error_remove_folio 0,373303432983703552,3650281484867371008,6933238642996355072,7934844886813757440
PARAM_VALUE 1 inode->vfs_inode.i_mapping->a_ops->is_dirty_writeback 0,7518438349615988736,8867638692533350400
PARAM_VALUE 1 inode->vfs_inode.i_mapping->a_ops->is_partially_uptodate 0,1933474595957665792,7182876493439184896
PARAM_VALUE 1 inode->vfs_inode.i_mapping->a_ops->swap_deactivate 0,1546359495696728064,3888069641387622400,7359158453655175168,8604917376913055744
PARAM_VALUE 1 inode->vfs_inode.i_mapping->a_ops->swap_rw 0,4986685196838862848,8487923053812363264
PARAM_VALUE 1 inode->vfs_inode.i_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 1 inode->vfs_inode.i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 inode->vfs_inode.i_op->atomic_open 0,4096-ptr_max
PARAM_VALUE 1 inode->vfs_inode.i_op->create 0,4096-ptr_max
PARAM_VALUE 1 inode->vfs_inode.i_op->fiemap 0,4096-ptr_max
PARAM_VALUE 1 inode->vfs_inode.i_op->fileattr_get 0,4096-ptr_max
PARAM_VALUE 1 inode->vfs_inode.i_op->fileattr_set 0,4096-ptr_max
PARAM_VALUE 1 inode->vfs_inode.i_op->get_acl 0,4096-ptr_max
PARAM_VALUE 1 inode->vfs_inode.i_op->get_inode_acl 0,4096-ptr_max
PARAM_VALUE 1 inode->vfs_inode.i_op->get_link 0,4096-ptr_max
PARAM_VALUE 1 inode->vfs_inode.i_op->get_offset_ctx 0,4096-ptr_max
PARAM_VALUE 1 inode->vfs_inode.i_op->getattr 0,4096-ptr_max
PARAM_VALUE 1 inode->vfs_inode.i_op->link 0,4096-ptr_max
PARAM_VALUE 1 inode->vfs_inode.i_op->listxattr 0,4096-ptr_max
PARAM_VALUE 1 inode->vfs_inode.i_op->lookup 0,4096-ptr_max
PARAM_VALUE 1 inode->vfs_inode.i_op->mkdir 0,4096-ptr_max
PARAM_VALUE 1 inode->vfs_inode.i_op->mknod 0,4096-ptr_max
PARAM_VALUE 1 inode->vfs_inode.i_op->permission 0,4096-ptr_max
PARAM_VALUE 1 inode->vfs_inode.i_op->readlink 0,1728600404483375104,2832489546165891072,2874824064778891264,3069732422725099520,4516337085607264256
PARAM_VALUE 1 inode->vfs_inode.i_op->rename 0,4096-ptr_max
PARAM_VALUE 1 inode->vfs_inode.i_op->rmdir 0,4096-ptr_max
PARAM_VALUE 1 inode->vfs_inode.i_op->set_acl 0,4096-ptr_max
PARAM_VALUE 1 inode->vfs_inode.i_op->setattr 0,4096-ptr_max
PARAM_VALUE 1 inode->vfs_inode.i_op->symlink 0,4096-ptr_max
PARAM_VALUE 1 inode->vfs_inode.i_op->sync_lazytime 0,4096-ptr_max
PARAM_VALUE 1 inode->vfs_inode.i_op->tmpfile 0,4096-ptr_max
PARAM_VALUE 1 inode->vfs_inode.i_op->unlink 0,4096-ptr_max
PARAM_VALUE 1 inode->vfs_inode.i_op->update_time 0,4096-ptr_max
DATA_SOURCE 0 trans r btrfs_start_transaction
DATA_SOURCE 1 inode r btrfs_iget