Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/btrfs/relocation.c __del_reloc_root() -> put_reloc_control()

Type Parameter Key Value
PARAM_VALUE 0 rc 1-u64max
DATA_SOURCE 0 rc r get_reloc_control
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/btrfs/relocation.c btrfs_init_reloc_root() -> put_reloc_control()

Type Parameter Key Value
PARAM_VALUE 0 rc 1-u64max
DATA_SOURCE 0 rc r get_reloc_control
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &fs_info->reloc_mutex

fs/btrfs/relocation.c btrfs_reloc_cow_block() -> put_reloc_control()

Type Parameter Key Value
PARAM_VALUE 0 rc 4096-ptr_max
DATA_SOURCE 0 rc r get_reloc_control
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 rc->nodes_relocated
HALF_LOCKED2 &buf->lock
HALF_LOCKED2 &trans->fs_info->commit_root_sem
HALF_LOCKED2 &trans->fs_info->fs_devices->device_list_mutex
HALF_LOCKED2 &trans->fs_info->fs_roots_radix_lock
HALF_LOCKED2 &trans->fs_info->qgroup_ioctl_lock
HALF_LOCKED2 &trans->fs_info->qgroup_lock
HALF_LOCKED2 &trans->fs_info->unused_bg_unpin_mutex
HALF_LOCKED2 &trans->transaction->delayed_refs.lock

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

Type Parameter Key Value
PARAM_VALUE 0 rc 1-u64max
DATA_SOURCE 0 rc r get_reloc_control
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 rc 4096-ptr_max
DATA_SOURCE 0 rc r get_reloc_control
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &fs_info->cleaner_mutex