Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/btrfs/qgroup.c btrfs_qgroup_trace_extent() -> btrfs_qgroup_trace_extent_nolock()

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->dirty_extents.xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 record 4096-ptr_max
PARAM_VALUE 2 record->num_bytes 1-u64max
PARAM_VALUE 3 bytenr 1-u64max
BUF_SIZE 1 delayed_refs 296
BUF_SIZE 2 record 32
DATA_SOURCE 2 record r _kzalloc_noprof
DATA_SOURCE 3 bytenr $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 fs_info unit_byte
UNITS 3 bytenr unit_byte
HALF_LOCKED2 &eb->lock
HALF_LOCKED2 &fs_info->cleaner_mutex
HALF_LOCKED2 &root_eb->lock

fs/btrfs/delayed-ref.c add_delayed_ref_head() -> btrfs_qgroup_trace_extent_nolock()

Type Parameter Key Value
PARAM_VALUE 0 fs_info 4096-ptr_max
PARAM_VALUE 1 delayed_refs 4096-ptr_max
PARAM_VALUE 2 record 4096-ptr_max
PARAM_VALUE 2 record->data_rsv 1-u32max
PARAM_VALUE 2 record->data_rsv_refroot 1-u64max
PARAM_VALUE 2 record->old_roots 0
BUF_SIZE 1 delayed_refs 296
BUF_SIZE 2 record 0,32
BUF_SIZE 2 record 0,32
DATA_SOURCE 2 record $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 2 record->num_bytes
NO_OVERFLOW_SIMPLE 3 bytenr
UNITS 0 fs_info unit_byte
UNITS 3 bytenr unit_byte
LOCK2 &delayed_refs->lock
HALF_LOCKED2 &trans->fs_info->chunk_mutex
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->cache_write_mutex
HALF_LOCKED2 &trans->transaction->delayed_refs.lock
TYPE_LOCK (struct btrfs_delayed_ref_root)->lock