Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/btrfs/relocation.c add_remap_entry() -> add_remap_item()

Type Parameter Key Value
PARAM_VALUE 0 trans 4096-ptr_max
PARAM_VALUE 0 trans->fs_info->commit_root_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 trans->fs_info->commit_root_sem.first_waiter->type 0-1
PARAM_VALUE 0 trans->fs_info->remap_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 trans->fs_info->remap_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 trans->fs_info->tree_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 trans->fs_info->tree_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 1 path 4096-ptr_max
PARAM_VALUE 1 path->nodes 4096-ptr_max
PARAM_VALUE 1 path->slots 4096-ptr_max
PARAM_VALUE 1 *path->locks 0-255
PARAM_VALUE 1 *path->nodes 0
PARAM_VALUE 1 *path->slots s32min-s32max
PARAM_VALUE 2 new_addr 0
PARAM_VALUE 3 length 0-1048576
PARAM_VALUE 4 old_addr 0-18446744073709551614
BUF_SIZE 0 trans (-1),4,24,64,168-s32max
BUF_SIZE 0 trans (-1),4,24,64,168-s32max
CAPPED_DATA 3 length 1
CAPPED_DATA 3 length 1
CAPPED_DATA 4 old_addr 1
CAPPED_DATA 4 old_addr 1
DATA_SOURCE 0 trans $0
DATA_SOURCE 1 path $1
DATA_SOURCE 2 new_addr $4
DATA_SOURCE 3 length $5
DATA_SOURCE 4 old_addr $3
UNITS 2 new_addr unit_byte
UNITS 3 length unit_byte
UNITS 4 old_addr unit_byte
LOCK2 &fs_info->remap_mutex
TYPE_LOCK (struct btrfs_fs_info)->remap_mutex

fs/btrfs/relocation.c move_existing_remap() -> add_remap_item()

Type Parameter Key Value
PARAM_VALUE 0 trans 4096-ptr_max
PARAM_VALUE 1 path 4096-ptr_max
PARAM_VALUE 1 path->nodes 4096-ptr_max
PARAM_VALUE 1 path->slots 4096-ptr_max
PARAM_VALUE 1 *path->locks 0-255
PARAM_VALUE 1 *path->nodes 0
PARAM_VALUE 1 *path->slots s32min-s32max
CAPPED_DATA 3 length 1
DATA_SOURCE 0 trans r btrfs_join_transaction
DATA_SOURCE 1 path $1
UNITS 2 new_addr unit_byte
UNITS 3 length unit_byte
UNITS 4 old_addr unit_byte
LOCK2 &fs_info->remap_mutex
TYPE_LOCK (struct btrfs_fs_info)->remap_mutex