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_rmdir() -> btrfs_record_unlink_dir()

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 inode 4096-ptr_max
PARAM_VALUE 2 inode->root 4096-ptr_max
PARAM_VALUE 2 inode->vfs_inode.i_ino 0-1,3-255,257-u64max
PARAM_VALUE 2 inode->vfs_inode.i_size s64min-0
PARAM_VALUE 3 for_rename 0
DATA_SOURCE 0 trans r __unlink_start_trans
FUZZY_MAX 2 inode->vfs_inode.i_size 0
HARD_MAX 2 inode->vfs_inode.i_size 0
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

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

Type Parameter Key Value
PARAM_VALUE 0 trans 0-ptr_max
PARAM_VALUE 1 dir 4096-ptr_max
PARAM_VALUE 2 inode 4096-ptr_max
PARAM_VALUE 3 for_rename 0
DATA_SOURCE 0 trans r __unlink_start_trans
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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