Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/btrfs/extent-tree.c btrfs_cleanup_ref_head_accounting() -> btrfs_calc_delayed_ref_csum_bytes()

Type Parameter Key Value
PARAM_VALUE 0 fs_info 4096-ptr_max
DATA_SOURCE 0 fs_info $0
DATA_SOURCE 1 num_csum_items r btrfs_csum_bytes_to_leaves
RX_PATH
TASK_NOT_RUNNING
UNITS 0 fs_info unit_byte
HALF_LOCKED2 &head->mutex

fs/btrfs/delayed-ref.c btrfs_delayed_refs_rsv_release() -> btrfs_calc_delayed_ref_csum_bytes()

Type Parameter Key Value
PARAM_VALUE 0 fs_info 4096-ptr_max
DATA_SOURCE 0 fs_info $0
DATA_SOURCE 1 num_csum_items $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 fs_info->chunk_root->dirty_log_pages.inode->disk_i_size
NO_OVERFLOW_SIMPLE 0 fs_info->chunk_root->dirty_log_pages.inode->vfs_inode.i_size
NO_OVERFLOW_SIMPLE 0 fs_info->stripe_root->dirty_log_pages.inode->disk_i_size
NO_OVERFLOW_SIMPLE 0 fs_info->stripe_root->dirty_log_pages.inode->vfs_inode.i_size
NO_OVERFLOW_SIMPLE 0 fs_info->tree_root->dirty_log_pages.inode->disk_i_size
NO_OVERFLOW_SIMPLE 0 fs_info->tree_root->dirty_log_pages.inode->vfs_inode.i_size
UNITS 0 fs_info unit_byte
HALF_LOCKED2 &delayed_refs->lock
HALF_LOCKED2 &existing->lock
HALF_LOCKED2 &head->lock
HALF_LOCKED2 0 &fs_info->chunk_mutex
HALF_LOCKED2 0 &fs_info->commit_root_sem
HALF_LOCKED2 0 &fs_info->fs_devices->device_list_mutex
HALF_LOCKED2 0 &fs_info->fs_roots_radix_lock
HALF_LOCKED2 0 &fs_info->qgroup_ioctl_lock
HALF_LOCKED2 0 &fs_info->qgroup_lock
HALF_LOCKED2 0 &fs_info->unused_bg_unpin_mutex

fs/btrfs/delayed-ref.c btrfs_update_delayed_refs_rsv() -> btrfs_calc_delayed_ref_csum_bytes()

Type Parameter Key Value
PARAM_VALUE 0 fs_info 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 fs_info unit_byte
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->delayed_refs.lock