Home
last modified time | relevance | path

Searched refs:head_ref (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/fs/btrfs/
Ddelayed-ref.c717 static void init_delayed_ref_head(struct btrfs_delayed_ref_head *head_ref, in init_delayed_ref_head() argument
757 refcount_set(&head_ref->refs, 1); in init_delayed_ref_head()
758 head_ref->bytenr = bytenr; in init_delayed_ref_head()
759 head_ref->num_bytes = num_bytes; in init_delayed_ref_head()
760 head_ref->ref_mod = count_mod; in init_delayed_ref_head()
761 head_ref->must_insert_reserved = must_insert_reserved; in init_delayed_ref_head()
762 head_ref->is_data = is_data; in init_delayed_ref_head()
763 head_ref->is_system = is_system; in init_delayed_ref_head()
764 head_ref->ref_tree = RB_ROOT_CACHED; in init_delayed_ref_head()
765 INIT_LIST_HEAD(&head_ref->ref_add_list); in init_delayed_ref_head()
[all …]
Ddelayed-ref.h360 struct btrfs_delayed_ref_head *head_ref) in btrfs_ref_head_to_space_flags() argument
362 if (head_ref->is_data) in btrfs_ref_head_to_space_flags()
364 else if (head_ref->is_system) in btrfs_ref_head_to_space_flags()
/linux-6.6.21/include/trace/events/
Dbtrfs.h1005 const struct btrfs_delayed_ref_head *head_ref,
1008 TP_ARGS(fs_info, head_ref, action),
1018 __entry->bytenr = head_ref->bytenr;
1019 __entry->num_bytes = head_ref->num_bytes;
1021 __entry->is_data = head_ref->is_data;
1034 const struct btrfs_delayed_ref_head *head_ref,
1037 TP_ARGS(fs_info, head_ref, action)
1043 const struct btrfs_delayed_ref_head *head_ref,
1046 TP_ARGS(fs_info, head_ref, action)