Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 3 files:

Smatch caller information:

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

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 0 *path->locks 0-255
PARAM_VALUE 0 *path->slots s32min-s32max
PARAM_VALUE 1 level 1-255
PARAM_VALUE 2 key 7771655576465264640
DATA_SOURCE 0 path r btrfs_alloc_path
NO_OVERFLOW_SIMPLE 1 level

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

Type Parameter Key Value
PARAM_VALUE 0 path 4096-ptr_max
PARAM_VALUE 0 path->keep_locks 1
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 0
PARAM_VALUE 2 key 4702389424745275392
PARAM_VALUE 2 key->type 168-169
DATA_SOURCE 0 path $1
RX_PATH
TASK_NOT_RUNNING

fs/btrfs/extent-tree.c maybe_drop_reference() -> find_next_key()

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 0 *path->locks 0-255
PARAM_VALUE 1 level 1
PARAM_VALUE 2 key 4096-ptr_max
DATA_SOURCE 0 path $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 level unit_byte
LOCK2 &fs_info->cleaner_mutex
LOCK2 &next->lock
HALF_LOCKED2 &next->lock
HALF_LOCKED2 &node->lock
TYPE_LOCK (struct btrfs_fs_info)->cleaner_mutex
TYPE_LOCK (struct extent_buffer)->lock

fs/btrfs/extent-tree.c walk_up_proc() -> find_next_key()

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 0 *path->locks 0-255
PARAM_VALUE 0 *path->slots s32min-s32max
PARAM_VALUE 1 level 1-255
PARAM_VALUE 2 key 4096-ptr_max
CAPPED_DATA 1 level 1
DATA_SOURCE 0 path $2
RX_PATH
TASK_NOT_RUNNING
UNITS 1 level unit_byte
LOCK2 &fs_info->cleaner_mutex
HALF_LOCKED2 &node->lock
TYPE_LOCK (struct btrfs_fs_info)->cleaner_mutex