Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 fs_info 4096-ptr_max
PARAM_VALUE 1 delayed_refs 4096-ptr_max
PARAM_VALUE 1 delayed_refs->head_refs.xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 delayed_refs->lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 head 4096-ptr_max
PARAM_VALUE 2 head->extent_op 0
PARAM_VALUE 2 head->lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 head->processing 0
PARAM_VALUE 2 head->tracked 0
BUF_SIZE 1 delayed_refs 296
CAPPED_DATA 2 &head->mutex 1
DATA_SOURCE 2 head r btrfs_find_delayed_ref_head
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 fs_info unit_byte
LOCK2 2 &head->mutex
HALF_LOCKED2 &buf->lock
HALF_LOCKED2 &cow->lock
HALF_LOCKED2 &fs_info->cleaner_mutex
HALF_LOCKED2 &fs_info->qgroup_ioctl_lock
HALF_LOCKED2 &fs_info->subvol_sem
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
TYPE_LOCK (struct btrfs_delayed_ref_head)->mutex

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

Type Parameter Key Value
PARAM_VALUE 0 fs_info 4096-ptr_max
PARAM_VALUE 1 delayed_refs 4096-ptr_max
PARAM_VALUE 1 delayed_refs->head_refs.xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 delayed_refs->lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 head 4096-ptr_max
PARAM_VALUE 2 head->extent_op 0
PARAM_VALUE 2 head->lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 head->tracked 0
BUF_SIZE 1 delayed_refs 296
CAPPED_DATA 2 head 1
DATA_SOURCE 2 head $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 fs_info unit_byte
HALF_LOCKED2 &fs_info->reloc_mutex

fs/btrfs/delayed-ref.c btrfs_destroy_delayed_refs() -> btrfs_cleanup_ref_head_accounting()

Type Parameter Key Value
PARAM_VALUE 0 fs_info 4096-ptr_max
PARAM_VALUE 0 fs_info->sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648
PARAM_VALUE 1 delayed_refs 4096-ptr_max
PARAM_VALUE 1 delayed_refs->head_refs.xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 delayed_refs->lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 head 4096-ptr_max
PARAM_VALUE 2 head->lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 head->mutex.dep_map->name 0-255
PARAM_VALUE 2 head->mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 2 head->mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 2 head->mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 2 head->mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 2 head->mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 2 head->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 2 head->mutex.wait_lock.owner (-1)
PARAM_VALUE 2 head->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 2 head->tracked 0
BUF_SIZE 1 delayed_refs 296
CAPPED_DATA 2 head->extent_op 1
CAPPED_DATA 2 &head->mutex 1
DATA_SOURCE 2 head r find_first_ref_head
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 fs_info unit_byte