Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/btrfs/file.c btrfs_insert_replace_extent() -> btrfs_alloc_reserved_file_extent()

Type Parameter Key Value
PARAM_VALUE 0 trans 4096-ptr_max
PARAM_VALUE 0 trans->block_rsv->full 0
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->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 root 4096-ptr_max
PARAM_VALUE 3 offset 0-18446744073709551614
PARAM_VALUE 4 ram_bytes 0-s32max,18446744071562067968-u64max
PARAM_VALUE 5 ins 7869873745118494720
PARAM_VALUE 5 ins->objectid 1-u64max
PARAM_VALUE 5 ins->type 168
BUF_SIZE 0 trans (-1),4,24,64,168-s32max
BUF_SIZE 0 trans (-1),4,24,64,168-s32max
CAPPED_DATA 3 offset 1
CAPPED_DATA 3 offset 1
DATA_SOURCE 0 trans $0
NOSPEC 3 offset
NOSPEC 3 offset
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 offset 0-s32max[c]
NO_OVERFLOW_SIMPLE 3 offset
NO_OVERFLOW_SIMPLE 5 ins->offset
UNITS 3 offset unit_byte

fs/btrfs/inode.c insert_reserved_file_extent() -> btrfs_alloc_reserved_file_extent()

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->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 root 4096-ptr_max
PARAM_VALUE 4 ram_bytes 0-s32max,18446744071562067968-u64max
PARAM_VALUE 5 ins 6244483004498051072
PARAM_VALUE 5 ins->type 168
BUF_SIZE 0 trans (-1)-s32max
BUF_SIZE 0 trans (-1)-s32max
CAPPED_DATA 0 trans 1
DATA_SOURCE 0 trans $0
DATA_SOURCE 4 ram_bytes $5
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 5 ins->offset
UNITS 3 offset unit_byte