Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

fs/btrfs/inode.c btrfs_lookup_dentry() -> btrfs_orphan_cleanup()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 0 root->fs_info->fs_roots_radix_lock.rlock.dep_map->name 0-255
RX_PATH
TASK_NOT_RUNNING
LOCK2 &fs_info->cleanup_work_sem
HALF_LOCKED2 &fs_info->subvol_sem
TYPE_LOCK (struct btrfs_fs_info)->cleanup_work_sem

fs/btrfs/disk-io.c btrfs_cleanup_fs_roots() -> btrfs_orphan_cleanup()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

fs/btrfs/disk-io.c btrfs_start_pre_rw_mount() -> btrfs_orphan_cleanup()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &fs_info->cleanup_work_sem
TYPE_LOCK (struct btrfs_fs_info)->cleanup_work_sem

fs/btrfs/disk-io.c btrfs_start_pre_rw_mount() -> btrfs_orphan_cleanup()

Type Parameter Key Value
PARAM_VALUE 0 root->accounting_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 root->fs_info->allocated_roots.prev->next 4096-ptr_max
PARAM_VALUE 0 root->fs_info->allocated_roots.prev->next->next 4096-ptr_max
PARAM_VALUE 0 root->fs_info->dirty_cowonly_roots.next 4096-ptr_max
PARAM_VALUE 0 root->fs_info->dirty_cowonly_roots.next->next 4096-ptr_max
PARAM_VALUE 0 root->fs_info->dirty_cowonly_roots.next->prev 4096-ptr_max
PARAM_VALUE 0 root->fs_info->dirty_cowonly_roots.prev 4096-ptr_max
PARAM_VALUE 0 root->fs_info->dirty_cowonly_roots.prev->next 4096-ptr_max
PARAM_VALUE 0 root->fs_info->dirty_cowonly_roots.prev->next->next 4096-ptr_max
PARAM_VALUE 0 root->fs_info->fs_roots_radix_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 root->fs_info->global_block_rsv.full 1
PARAM_VALUE 0 root->fs_info->global_block_rsv.reserved 0-536870912
PARAM_VALUE 0 root->fs_info->global_block_rsv.size 0-536870912
PARAM_VALUE 0 root->fs_info->qgroup_flags 0,4-u64max
PARAM_VALUE 0 root->node->fs_info->tree_mod_log.rb_node 4096-ptr_max
PARAM_VALUE 0 root->node->fs_info->tree_mod_log_lock.owner (-1)
PARAM_VALUE 0 root->node->fs_info->tree_mod_log_lock.owner_cpu u32max
PARAM_VALUE 0 root->node->fs_info->tree_mod_log_lock.raw_lock.wlocked 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &fs_info->cleanup_work_sem
TYPE_LOCK (struct btrfs_fs_info)->cleanup_work_sem

fs/btrfs/ioctl.c btrfs_ioctl_start_sync() -> btrfs_orphan_cleanup()

Type Parameter Key Value
DATA_SOURCE 0 root $0
NOCHECK_CALL

fs/btrfs/ioctl.c create_snapshot() -> btrfs_orphan_cleanup()

Type Parameter Key Value
LOCK2 &fs_info->subvol_sem
TYPE_LOCK (struct btrfs_fs_info)->subvol_sem