Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/btrfs/extent-tree.c btrfs_alloc_tree_block() -> btrfs_free_delayed_extent_op()

Type Parameter Key Value
PARAM_VALUE 0 op 0,4096-ptr_max
PARAM_VALUE 0 op->flags_to_set 0,256
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &fs_info->subvol_sem

fs/btrfs/extent-tree.c btrfs_run_delayed_refs_for_head() -> btrfs_free_delayed_extent_op()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &fs_info->reloc_mutex

fs/btrfs/extent-tree.c btrfs_set_disk_extent_flags() -> btrfs_free_delayed_extent_op()

Type Parameter Key Value
PARAM_VALUE 0 op 4096-ptr_max
PARAM_VALUE 0 op->flags_to_set 256
PARAM_VALUE 0 op->update_flags 1
PARAM_VALUE 0 op->update_key 0
DATA_SOURCE 0 op r btrfs_alloc_delayed_extent_op
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &cow->lock
HALF_LOCKED2 &fs_info->cleaner_mutex

fs/btrfs/extent-tree.c cleanup_extent_op() -> btrfs_free_delayed_extent_op()

Type Parameter Key Value
PARAM_VALUE 0 op 1-u64max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &head->lock
HALF_LOCKED2 &delayed_refs->lock
TYPE_LOCK (struct btrfs_delayed_ref_head)->lock

fs/btrfs/extent-tree.c run_and_cleanup_extent_op() -> btrfs_free_delayed_extent_op()

Type Parameter Key Value
PARAM_VALUE 0 op 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &cow->lock
HALF_LOCKED2 &fs_info->reloc_mutex
HALF_LOCKED2 &head->mutex

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

Type Parameter Key Value
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &delayed_refs->lock
LOCK2 &head->lock
LOCK2 &head->mutex
TYPE_LOCK (struct btrfs_delayed_ref_head)->lock
TYPE_LOCK (struct btrfs_delayed_ref_head)->mutex
TYPE_LOCK (struct btrfs_delayed_ref_root)->lock

fs/btrfs/delayed-ref.c update_existing_head_ref() -> btrfs_free_delayed_extent_op()

Type Parameter Key Value
PARAM_VALUE 0 op 4096-ptr_max
PARAM_VALUE 0 op->flags_to_set 0,256
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &delayed_refs->lock
LOCK2 &existing->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_head)->lock
TYPE_LOCK (struct btrfs_delayed_ref_root)->lock