Searched refs:head_ref (Results 1 – 2 of 2) sorted by relevance
716 static void init_delayed_ref_head(struct btrfs_delayed_ref_head *head_ref, in init_delayed_ref_head() argument752 refcount_set(&head_ref->refs, 1); in init_delayed_ref_head()753 head_ref->bytenr = bytenr; in init_delayed_ref_head()754 head_ref->num_bytes = num_bytes; in init_delayed_ref_head()755 head_ref->ref_mod = count_mod; in init_delayed_ref_head()756 head_ref->must_insert_reserved = must_insert_reserved; in init_delayed_ref_head()757 head_ref->is_data = is_data; in init_delayed_ref_head()758 head_ref->is_system = is_system; in init_delayed_ref_head()759 head_ref->ref_tree = RB_ROOT_CACHED; in init_delayed_ref_head()760 INIT_LIST_HEAD(&head_ref->ref_add_list); in init_delayed_ref_head()[all …]
331 struct btrfs_delayed_ref_head *head_ref) in btrfs_ref_head_to_space_flags() argument333 if (head_ref->is_data) in btrfs_ref_head_to_space_flags()335 else if (head_ref->is_system) in btrfs_ref_head_to_space_flags()