Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

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

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->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->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
BUF_SIZE 0 trans->block_rsv 120
DATA_SOURCE 0 trans r btrfs_start_transaction
DATA_SOURCE 1 dir $0
MEM_ZERO 0 trans->block_rsv
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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_rmdir() -> btrfs_record_snapshot_destroy()

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
CAPPED_DATA 0 trans->transid 1
DATA_SOURCE 0 trans r __unlink_start_trans
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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