Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/btrfs/volumes.c rb_find_add_cached() -> rb_find_add_cached param 2()

Type Parameter Key Value
PARAM_VALUE 0 new 4096-ptr_max
PARAM_VALUE 1 exist 1-u64max
DATA_SOURCE 0 new $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &fs_info->mapping_tree_lock
HALF_LOCKED2 &fs_info->chunk_mutex
TYPE_LOCK (struct btrfs_fs_info)->mapping_tree_lock

fs/btrfs/delayed-inode.c rb_find_add_cached() -> rb_find_add_cached param 2()

Type Parameter Key Value
PARAM_VALUE 0 new 4096-ptr_max
PARAM_VALUE 1 exist 1-u64max
DATA_SOURCE 0 new $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &delayed_node->mutex
TYPE_LOCK (struct btrfs_delayed_node)->mutex

fs/btrfs/block-group.c rb_find_add_cached() -> rb_find_add_cached param 2()

Type Parameter Key Value
PARAM_VALUE 0 new 4096-ptr_max
PARAM_VALUE 1 exist 1-u64max
DATA_SOURCE 0 new $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &fs_info->block_group_cache_lock
HALF_LOCKED2 &fs_info->chunk_mutex
TYPE_LOCK (struct btrfs_fs_info)->block_group_cache_lock

fs/btrfs/backref.c rb_find_add_cached() -> rb_find_add_cached param 2()

Type Parameter Key Value
PARAM_VALUE 0 new 4096-ptr_max
PARAM_VALUE 1 exist 1-u64max
DATA_SOURCE 0 new $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fs_info->commit_root_sem

fs/btrfs/delayed-ref.c rb_find_add_cached() -> rb_find_add_cached param 2()

Type Parameter Key Value
PARAM_VALUE 0 new 4096-ptr_max
PARAM_VALUE 1 exist 1-u64max
BUF_SIZE 0 new 24
DATA_SOURCE 0 new $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &delayed_refs->lock
LOCK2 &href->lock
HALF_LOCKED2 &trans->fs_info->chunk_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->cache_write_mutex
HALF_LOCKED2 &trans->transaction->delayed_refs.lock
TYPE_LOCK (struct btrfs_delayed_ref_head)->lock
TYPE_LOCK (struct btrfs_delayed_ref_root)->lock