Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/btrfs/relocation.c btrfs_reloc_post_snapshot() -> have_reloc_root()

Type Parameter Key Value

fs/btrfs/relocation.c btrfs_reloc_pre_snapshot() -> have_reloc_root()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &fs_info->reloc_mutex
HALF_LOCKED2 &dev_replace->lock_finishing_cancel_unmount
HALF_LOCKED2 &fs_info->cleaner_mutex
HALF_LOCKED2 &fs_info->subvol_sem
HALF_LOCKED2 &fs_info->transaction_kthread_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct btrfs_fs_info)->reloc_mutex

fs/btrfs/relocation.c btrfs_update_reloc_root() -> have_reloc_root()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
BUF_SIZE 0 root (-1),2888
BUF_SIZE 0 root (-1),2888
CAPPED_DATA 0 root 1
DATA_SOURCE 0 root $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fs_info->cleaner_mutex