Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/btrfs/relocation.c merge_reloc_root() -> btrfs_unlock_up_safe()

Type Parameter Key Value
PARAM_VALUE 0 path 4096-ptr_max
PARAM_VALUE 0 path->lowest_level 0
PARAM_VALUE 0 path->nodes 4096-ptr_max
PARAM_VALUE 0 path->slots 4096-ptr_max
PARAM_VALUE 1 level 0
DATA_SOURCE 0 path r btrfs_alloc_path
NOCHECK_CALL

fs/btrfs/relocation.c replace_path() -> btrfs_unlock_up_safe()

Type Parameter Key Value
PARAM_VALUE 0 path 4096-ptr_max
PARAM_VALUE 0 path->lowest_level 0
PARAM_VALUE 0 path->nodes 4096-ptr_max
PARAM_VALUE 0 path->slots 4096-ptr_max
PARAM_VALUE 0 *path->locks 0-255
PARAM_VALUE 0 *path->nodes 0
PARAM_VALUE 0 *path->slots s32min-s32max
PARAM_VALUE 1 level 0
DATA_SOURCE 0 path $4
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 path->lowest_level
HALF_LOCKED2 &cow->lock

fs/btrfs/extent-tree.c btrfs_drop_snapshot() -> btrfs_unlock_up_safe()

Type Parameter Key Value
PARAM_VALUE 0 path 4096-ptr_max
PARAM_VALUE 0 path->lowest_level 0
PARAM_VALUE 1 level 0
DATA_SOURCE 0 path r btrfs_alloc_path
NOCHECK_CALL
HALF_LOCKED2 &fs_info->cleaner_mutex

fs/btrfs/extent-tree.c lookup_inline_extent_backref() -> btrfs_unlock_up_safe()

Type Parameter Key Value
PARAM_VALUE 0 path 4096-ptr_max
PARAM_VALUE 0 path->keep_locks 0
PARAM_VALUE 0 *path->locks 0-255
PARAM_VALUE 0 *path->slots s32min-s32max
PARAM_VALUE 1 level 1
DATA_SOURCE 0 path $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/btrfs/ctree.c btrfs_del_leaf() -> btrfs_unlock_up_safe()

Type Parameter Key Value
PARAM_VALUE 0 path 4096-ptr_max
PARAM_VALUE 0 path->nodes 4096-ptr_max
PARAM_VALUE 0 path->slots 4096-ptr_max
PARAM_VALUE 1 level 0
BUF_SIZE 0 path (-1)-s32max
BUF_SIZE 0 path (-1)-s32max
DATA_SOURCE 0 path $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &fs_info->cleaner_mutex
HALF_LOCKED2 &fs_info->qgroup_ioctl_lock
HALF_LOCKED2 &fs_info->subvol_sem
HALF_LOCKED2 &node->mutex
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/ctree.c btrfs_search_forward() -> btrfs_unlock_up_safe()

Type Parameter Key Value
PARAM_VALUE 0 path 4096-ptr_max
PARAM_VALUE 0 path->locks 4096-ptr_max
PARAM_VALUE 0 path->nodes 4096-ptr_max
PARAM_VALUE 0 path->slots 4096-ptr_max
PARAM_VALUE 1 level 1
DATA_SOURCE 0 path $2
NOCHECK_CALL
HALF_LOCKED2 &cur->lock
HALF_LOCKED2 &inode->vfs_inode.i_rwsem

fs/btrfs/ctree.c btrfs_search_old_slot() -> btrfs_unlock_up_safe()

Type Parameter Key Value
PARAM_VALUE 0 path 4096-ptr_max
PARAM_VALUE 0 path->locks 4096-ptr_max
PARAM_VALUE 0 path->nodes 4096-ptr_max
PARAM_VALUE 0 path->search_commit_root 0
PARAM_VALUE 0 path->slots 4096-ptr_max
PARAM_VALUE 0 *path->locks 0-255
PARAM_VALUE 0 *path->slots s32min-s32max
PARAM_VALUE 1 level 1-256
BUF_SIZE 0 path (-1),1-s32max
BUF_SIZE 0 path (-1),1-s32max
DATA_SOURCE 0 path $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 level unit_byte
HALF_LOCKED2 &b->lock
HALF_LOCKED2 &ctx->fs_info->commit_root_sem

fs/btrfs/ctree.c read_block_for_search() -> btrfs_unlock_up_safe()

Type Parameter Key Value
PARAM_VALUE 0 path 4096-ptr_max
PARAM_VALUE 0 path->nodes 4096-ptr_max
PARAM_VALUE 0 path->nowait 0
PARAM_VALUE 0 path->skip_locking 0
PARAM_VALUE 0 path->slots 4096-ptr_max
PARAM_VALUE 0 *path->locks 0-255
PARAM_VALUE 0 *path->slots s32min-s32max
PARAM_VALUE 1 level 1-256
BUF_SIZE 0 path (-1)-s32max
BUF_SIZE 0 path (-1)-s32max
DATA_SOURCE 0 path $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/btrfs/ctree.c read_block_for_search() -> btrfs_unlock_up_safe()

Type Parameter Key Value
PARAM_VALUE 0 path 4096-ptr_max
PARAM_VALUE 0 path->nodes 4096-ptr_max
PARAM_VALUE 0 path->nowait 0
PARAM_VALUE 0 path->skip_locking 0
PARAM_VALUE 0 path->slots 4096-ptr_max
PARAM_VALUE 0 *path->locks 0-255
PARAM_VALUE 0 *path->slots s32min-s32max
PARAM_VALUE 1 level 1-256
BUF_SIZE 0 path (-1)-s32max
BUF_SIZE 0 path (-1)-s32max
DATA_SOURCE 0 path $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/btrfs/ctree.c search_leaf() -> btrfs_unlock_up_safe()

Type Parameter Key Value
PARAM_VALUE 0 path 4096-ptr_max
PARAM_VALUE 0 path->locks 4096-ptr_max
PARAM_VALUE 0 path->nodes 4096-ptr_max
PARAM_VALUE 1 level 1
DATA_SOURCE 0 path $3
NOCHECK_CALL

fs/btrfs/ctree.c search_leaf() -> btrfs_unlock_up_safe()

Type Parameter Key Value
PARAM_VALUE 0 path 4096-ptr_max
PARAM_VALUE 0 path->locks 4096-ptr_max
PARAM_VALUE 0 path->nodes 4096-ptr_max
PARAM_VALUE 1 level 1
DATA_SOURCE 0 path $3
NOCHECK_CALL

fs/btrfs/ctree.c setup_items_for_insert() -> btrfs_unlock_up_safe()

Type Parameter Key Value
PARAM_VALUE 0 path 4096-ptr_max
PARAM_VALUE 0 path->slots 4096-ptr_max
PARAM_VALUE 1 level 1
BUF_SIZE 0 path (-1)-s32max
BUF_SIZE 0 path (-1)-s32max
DATA_SOURCE 0 path $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/btrfs/ctree.c setup_leaf_for_split() -> btrfs_unlock_up_safe()

Type Parameter Key Value
PARAM_VALUE 0 path 4096-ptr_max
PARAM_VALUE 0 path->keep_locks 0
PARAM_VALUE 0 path->nodes 4096-ptr_max
PARAM_VALUE 0 path->slots 4096-ptr_max
PARAM_VALUE 0 *path->locks 0-255
PARAM_VALUE 0 *path->slots s32min-s32max
PARAM_VALUE 1 level 1
DATA_SOURCE 0 path $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL