Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/btrfs/tree-log.c truncate_inode_items() -> btrfs_truncate_inode_items()

Type Parameter Key Value
PARAM_VALUE 2 control 4348837922705043456
PARAM_VALUE 2 control->clear_extent_range 0
PARAM_VALUE 2 control->extents_found 0
PARAM_VALUE 2 control->inode 0
PARAM_VALUE 2 control->last_size 0
PARAM_VALUE 2 control->skip_ref_updates 1
PARAM_VALUE 2 control->sub_bytes 0
DATA_SOURCE 0 trans $0
DATA_SOURCE 1 root $1

fs/btrfs/inode.c btrfs_evict_inode() -> btrfs_truncate_inode_items()

Type Parameter Key Value
PARAM_VALUE 0 trans 4096-ptr_max
PARAM_VALUE 0 trans->block_rsv 4956572460587024384
PARAM_VALUE 0 trans->block_rsv->failfast 1
PARAM_VALUE 0 trans->block_rsv->full 0
PARAM_VALUE 0 trans->block_rsv->qgroup_rsv_reserved 0
PARAM_VALUE 0 trans->block_rsv->qgroup_rsv_size 0
PARAM_VALUE 0 trans->block_rsv->space_info 0,4096-ptr_max
PARAM_VALUE 0 trans->block_rsv->type 9
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 2 control 5245899918915010560
PARAM_VALUE 2 control->clear_extent_range 0
PARAM_VALUE 2 control->extents_found 0
PARAM_VALUE 2 control->inode 4096-ptr_max
PARAM_VALUE 2 control->last_size 0
PARAM_VALUE 2 control->min_type 0
PARAM_VALUE 2 control->new_size 0
PARAM_VALUE 2 control->skip_ref_updates 0
PARAM_VALUE 2 control->sub_bytes 0
BUF_SIZE 0 trans->block_rsv 120
DATA_SOURCE 0 trans r evict_refill_and_join
MEM_ZERO 0 trans->block_rsv
RX_PATH
TASK_NOT_RUNNING

fs/btrfs/free-space-cache.c btrfs_truncate_free_space_cache() -> btrfs_truncate_inode_items()

Type Parameter Key Value
PARAM_VALUE 0 trans 4096-ptr_max
PARAM_VALUE 0 trans->fs_info->chunk_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 trans->fs_info->chunk_root->node->lock.first_waiter->type 0-1
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->sb->s_umount.first_waiter->handoff_set 0-1
PARAM_VALUE 0 trans->fs_info->sb->s_umount.first_waiter->type 0-1
PARAM_VALUE 0 trans->fs_info->stripe_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 trans->fs_info->stripe_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 2 control 1875155201714597888
PARAM_VALUE 2 control->clear_extent_range 1
PARAM_VALUE 2 control->extents_found 0
PARAM_VALUE 2 control->inode 4096-ptr_max
PARAM_VALUE 2 control->last_size 0
PARAM_VALUE 2 control->min_type 108
PARAM_VALUE 2 control->new_size 0
PARAM_VALUE 2 control->skip_ref_updates 0
PARAM_VALUE 2 control->sub_bytes 0
BUF_SIZE 0 trans (-1),1-s32max
BUF_SIZE 0 trans (-1),1-s32max
DATA_SOURCE 0 trans $0
RX_PATH
TASK_NOT_RUNNING
USER_PTR 0 trans->pending_snapshot->inherit
HALF_LOCKED2 &fs_info->cleaner_mutex
HALF_LOCKED2 0 &trans->transaction->cache_write_mutex