Home
last modified time | relevance | path

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

/linux-6.1.9/fs/btrfs/
Ddelayed-ref.c737 static void init_delayed_ref_head(struct btrfs_delayed_ref_head *head_ref, in init_delayed_ref_head() argument
773 refcount_set(&head_ref->refs, 1); in init_delayed_ref_head()
774 head_ref->bytenr = bytenr; in init_delayed_ref_head()
775 head_ref->num_bytes = num_bytes; in init_delayed_ref_head()
776 head_ref->ref_mod = count_mod; in init_delayed_ref_head()
777 head_ref->must_insert_reserved = must_insert_reserved; in init_delayed_ref_head()
778 head_ref->is_data = is_data; in init_delayed_ref_head()
779 head_ref->is_system = is_system; in init_delayed_ref_head()
780 head_ref->ref_tree = RB_ROOT_CACHED; in init_delayed_ref_head()
781 INIT_LIST_HEAD(&head_ref->ref_add_list); in init_delayed_ref_head()
[all …]
Ddelayed-ref.h336 struct btrfs_delayed_ref_head *head_ref) in btrfs_ref_head_to_space_flags() argument
338 if (head_ref->is_data) in btrfs_ref_head_to_space_flags()
340 else if (head_ref->is_system) in btrfs_ref_head_to_space_flags()
/linux-6.1.9/include/trace/events/
Dbtrfs.h976 const struct btrfs_delayed_ref_head *head_ref,
979 TP_ARGS(fs_info, head_ref, action),
989 __entry->bytenr = head_ref->bytenr;
990 __entry->num_bytes = head_ref->num_bytes;
992 __entry->is_data = head_ref->is_data;
1005 const struct btrfs_delayed_ref_head *head_ref,
1008 TP_ARGS(fs_info, head_ref, action)
1014 const struct btrfs_delayed_ref_head *head_ref,
1017 TP_ARGS(fs_info, head_ref, action)