Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/btrfs/delayed-ref.c add_delayed_ref() -> init_delayed_ref_head()

Type Parameter Key Value
PARAM_VALUE 0 head_ref 1-u64max
PARAM_VALUE 1 generic_ref 4096-ptr_max
PARAM_VALUE 1 generic_ref->action 1-3
PARAM_VALUE 1 generic_ref->tree_ref.level (-1)-255
PARAM_VALUE 1 generic_ref->type 1-2
PARAM_VALUE 2 qrecord 0,4096-ptr_max
PARAM_VALUE 3 reserved 0-s32max,18446744071562067968-u64max
BUF_SIZE 2 qrecord 0,32
BUF_SIZE 2 qrecord 0,32
DATA_SOURCE 0 head_ref r kmem_cache_alloc_noprof
DATA_SOURCE 1 generic_ref $1
DATA_SOURCE 3 reserved $3
NOSPEC 1 generic_ref->data_ref.offset
HARD_MAX 1 generic_ref->type 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 generic_ref->data_ref.offset 0-s32max[c]
NO_OVERFLOW_SIMPLE 1 generic_ref->bytenr
NO_OVERFLOW_SIMPLE 1 generic_ref->num_bytes
NO_OVERFLOW_SIMPLE 1 generic_ref->parent
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

fs/btrfs/delayed-ref.c btrfs_add_delayed_extent_op() -> init_delayed_ref_head()

Type Parameter Key Value
PARAM_VALUE 0 head_ref 1-u64max
PARAM_VALUE 1 generic_ref 5522291035585355776
PARAM_VALUE 1 generic_ref->action 4
PARAM_VALUE 1 generic_ref->owning_root 0
PARAM_VALUE 1 generic_ref->parent 0
PARAM_VALUE 1 generic_ref->ref_root 0
PARAM_VALUE 1 generic_ref->tree_ref.level 0-255
PARAM_VALUE 1 generic_ref->type 2
PARAM_VALUE 2 qrecord 0
PARAM_VALUE 3 reserved 0
DATA_SOURCE 0 head_ref r kmem_cache_alloc_noprof
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 generic_ref->bytenr
NO_OVERFLOW_SIMPLE 1 generic_ref->num_bytes
HALF_LOCKED2 &fs_info->cleaner_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->delayed_refs.lock