Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 trans 4096-ptr_max
PARAM_VALUE 0 trans->block_rsv 3711201549651345408
PARAM_VALUE 0 trans->block_rsv->failfast 0
PARAM_VALUE 0 trans->block_rsv->full 0
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 1 dir 4096-ptr_max
PARAM_VALUE 1 dir->log_mutex.dep_map->name 0-255
PARAM_VALUE 1 dir->log_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 dir->log_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 dir->log_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 1 dir->log_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 1 dir->log_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 1 dir->log_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 1 dir->log_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 1 dir->log_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 dir->root 4096-ptr_max
PARAM_VALUE 1 dir->root->delalloc_inodes.prev->next->next 4096-ptr_max
PARAM_VALUE 1 dir->root->delalloc_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 dir->root->delalloc_mutex.dep_map->name 0-255
PARAM_VALUE 1 dir->root->delalloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 dir->root->delalloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 dir->root->delalloc_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 1 dir->root->delalloc_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 1 dir->root->delalloc_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 1 dir->root->delalloc_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 1 dir->root->fs_info 4096-ptr_max
PARAM_VALUE 1 dir->root->fs_info->delayed_iput_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 dir->root->fs_info->delayed_iputs_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 1 dir->root->fs_info->delayed_iputs_wait.head.prev->next->next 4096-ptr_max
PARAM_VALUE 1 dir->root->fs_info->global_block_rsv.full 0
PARAM_VALUE 1 dir->root->fs_info->subvol_sem.dep_map->name 0-255
PARAM_VALUE 1 dir->root->fs_info->subvol_sem.first_waiter->list.next 2624917664208203776
PARAM_VALUE 1 dir->root->fs_info->subvol_sem.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 1 dir->root->fs_info->subvol_sem.first_waiter->type 0-1
PARAM_VALUE 1 dir->root->fs_info->subvol_sem.osq.tail.counter 0-s32max
PARAM_VALUE 1 dir->root->fs_info->subvol_sem.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 dir->root->fs_info->subvol_sem.wait_lock.owner (-1)
PARAM_VALUE 1 dir->root->fs_info->subvol_sem.wait_lock.owner_cpu u32max
PARAM_VALUE 1 dir->root->fs_info->trans_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 dir->root->ordered_extent_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 dir->root->ordered_extent_mutex.dep_map->name 0-255
PARAM_VALUE 1 dir->root->ordered_extent_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 dir->root->ordered_extent_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 dir->root->ordered_extent_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 1 dir->root->ordered_extent_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 1 dir->root->ordered_extent_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 1 dir->root->ordered_extents.prev->next->next 4096-ptr_max
PARAM_VALUE 1 dir->root->qgroup_meta_rsv_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 dentry 4096-ptr_max
PARAM_VALUE 2 dentry->d_inode 4096-ptr_max
PARAM_VALUE 2 dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 2 dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 2 dentry->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 2 dentry->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 2 dentry->d_inode->i_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648,2704,2712
PARAM_VALUE 2 dentry->d_op->d_dname 0,4096-ptr_max
PARAM_VALUE 2 dentry->d_op->d_iput 0,4096-ptr_max
PARAM_VALUE 2 dentry->d_op->d_prune 0,4096-ptr_max
PARAM_VALUE 2 dentry->d_op->d_real 0,4096-ptr_max
PARAM_VALUE 2 dentry->d_parent->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 2 dentry->d_parent->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 2 dentry->d_parent->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 2 dentry->d_parent->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 2 dentry->d_parent->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 2 dentry->d_parent->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 2 dentry->d_parent->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 2 dentry->d_sb->__s_d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 2 dentry->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 2 dentry->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 2 dentry->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 2 dentry->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 2 dentry->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 2 dentry->d_sb->__s_d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 2 dentry->d_sb->__s_d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 2 dentry->d_sb->__s_d_op->d_weak_revalidate 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328
BUF_SIZE 0 trans->block_rsv 120
BUF_SIZE 2 dentry (-1)-s32max
BUF_SIZE 2 dentry (-1)-s32max
CAPPED_DATA 2 dentry 1
CAPPED_DATA 2 dentry->d_parent->d_inode 1
DATA_SOURCE 0 trans r btrfs_start_transaction
DATA_SOURCE 1 dir $0
DATA_SOURCE 2 dentry $1
MEM_ZERO 0 trans->block_rsv
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 dentry->d_inode->i_mode 0-u16max
USER_DATA 2 dentry->d_inode->i_size (-9223372036854775807)-(-4),0-s64max
NO_OVERFLOW_SIMPLE 2 dentry->moved->d_inode->i_size
LOCK2 &fs_info->subvol_sem
HALF_LOCKED2 2 &dentry->d_inode->i_rwsem
HALF_LOCKED2 2 &dentry->d_lockref.lock
HALF_LOCKED2 2 &dentry->d_sb->s_vfs_rename_mutex
TYPE_LOCK (struct btrfs_fs_info)->subvol_sem

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

Type Parameter Key Value
PARAM_VALUE 0 trans 4096-ptr_max
PARAM_VALUE 1 dir 4096-ptr_max
PARAM_VALUE 1 dir->root->delalloc_inodes.next->next 4096-ptr_max
PARAM_VALUE 1 dir->root->delalloc_inodes.next->prev 4096-ptr_max
PARAM_VALUE 1 dir->root->delalloc_inodes.prev->next 4096-ptr_max
PARAM_VALUE 1 dir->root->delalloc_inodes.prev->next->next 4096-ptr_max
PARAM_VALUE 1 dir->root->delalloc_inodes.prev->next->prev 4096-ptr_max
PARAM_VALUE 1 dir->root->delalloc_inodes.prev->prev 4096-ptr_max
PARAM_VALUE 1 dir->root->delalloc_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 dir->root->delalloc_mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 dir->root->delalloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 dir->root->delalloc_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 1 dir->root->delalloc_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 1 dir->root->delalloc_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 1 dir->root->delalloc_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 1 dir->root->fs_info->delayed_iput_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 dir->root->fs_info->delayed_iputs_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 1 dir->root->fs_info->delayed_iputs_wait.head.prev->next->next 4096-ptr_max
PARAM_VALUE 1 dir->root->fs_info->flush_workers 4096-ptr_max
PARAM_VALUE 1 dir->root->fs_info->flush_workers->pending.counter s32min-s32max
PARAM_VALUE 1 dir->root->fs_info->qgroup_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 dir->root->fs_info->trans_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 dir->root->ordered_extent_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 dir->root->ordered_extent_mutex.dep_map->name 0-255
PARAM_VALUE 1 dir->root->ordered_extent_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 dir->root->ordered_extent_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 dir->root->ordered_extent_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 1 dir->root->ordered_extents.prev->next->next 4096-ptr_max
PARAM_VALUE 1 dir->root->qgroup_meta_rsv_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 dentry 4096-ptr_max
PARAM_VALUE 2 dentry->d_inode 4096-ptr_max
PARAM_VALUE 2 dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 2 dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 2 dentry->d_inode->i_rwsem.dep_map->name 0-255
PARAM_VALUE 2 dentry->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 2 dentry->d_inode->i_rwsem.first_waiter->list.next 2624917664208203776
PARAM_VALUE 2 dentry->d_inode->i_rwsem.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 2 dentry->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 2 dentry->d_inode->i_rwsem.osq.tail.counter 0-s32max
PARAM_VALUE 2 dentry->d_op->d_dname 0,4096-ptr_max
PARAM_VALUE 2 dentry->d_op->d_iput 0,4096-ptr_max
PARAM_VALUE 2 dentry->d_op->d_prune 0,4096-ptr_max
PARAM_VALUE 2 dentry->d_op->d_real 0,4096-ptr_max
PARAM_VALUE 2 dentry->d_parent->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 2 dentry->d_parent->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 2 dentry->d_parent->d_sb->__s_d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 2 dentry->d_parent->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 2 dentry->d_parent->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 2 dentry->d_parent->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 2 dentry->d_parent->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 2 dentry->d_parent->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 2 dentry->d_parent->d_sb->__s_d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 2 dentry->d_parent->d_sb->__s_d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 2 dentry->d_parent->d_sb->__s_d_op->d_weak_revalidate 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328
PARAM_VALUE 2 dentry->d_sb->__s_d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 2 dentry->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 2 dentry->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 2 dentry->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 2 dentry->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 2 dentry->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 2 dentry->d_sb->__s_d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 2 dentry->d_sb->__s_d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 2 dentry->d_sb->__s_d_op->d_weak_revalidate 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328
BUF_SIZE 2 dentry (-1),1-s32max
BUF_SIZE 2 dentry (-1),1-s32max
CAPPED_DATA 0 trans->transid 1
CAPPED_DATA 2 dentry 1
CAPPED_DATA 2 dentry->d_parent->d_inode 1
DATA_SOURCE 0 trans r __unlink_start_trans
DATA_SOURCE 2 dentry $1
BIT_INFO 2 dentry->d_inode->i_flags 0x0,0xfffdffff
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 dentry->d_inode->i_mode 0-u16max
USER_DATA 2 dentry->d_inode->i_size (-9223372036854775807)-(-4),0-s64max
NO_OVERFLOW_SIMPLE 2 dentry->dentry->d_inode->i_size
NO_OVERFLOW_SIMPLE 2 dentry->moved->d_inode->i_size
LOCK2 2 &dentry->d_inode->i_rwsem
HALF_LOCKED2 &dir->d_inode->i_rwsem
HALF_LOCKED2 &vfs_dir->i_rwsem
HALF_LOCKED2 2 &dentry->d_lockref.lock
HALF_LOCKED2 2 &dentry->d_sb->s_vfs_rename_mutex
TYPE_LOCK (struct inode)->i_rwsem