Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/fs/btrfs/
H A Ddelayed-ref.c749 static void init_delayed_ref_head(struct btrfs_delayed_ref_head *head_ref, in init_delayed_ref_head() argument
785 refcount_set(&head_ref->refs, 1); in init_delayed_ref_head()
786 head_ref->bytenr = bytenr; in init_delayed_ref_head()
787 head_ref->num_bytes = num_bytes; in init_delayed_ref_head()
788 head_ref->ref_mod = count_mod; in init_delayed_ref_head()
789 head_ref->must_insert_reserved = must_insert_reserved; in init_delayed_ref_head()
790 head_ref->is_data = is_data; in init_delayed_ref_head()
791 head_ref->is_system = is_system; in init_delayed_ref_head()
792 head_ref->ref_tree = RB_ROOT_CACHED; in init_delayed_ref_head()
793 INIT_LIST_HEAD(&head_ref->ref_add_list); in init_delayed_ref_head()
[all …]
H A Ddelayed-ref.h330 struct btrfs_delayed_ref_head *head_ref) in btrfs_ref_head_to_space_flags() argument
332 if (head_ref->is_data) in btrfs_ref_head_to_space_flags()
334 else if (head_ref->is_system) in btrfs_ref_head_to_space_flags()
/OK3568_Linux_fs/kernel/include/trace/events/
H A Dbtrfs.h913 const struct btrfs_delayed_ref_head *head_ref,
916 TP_ARGS(fs_info, head_ref, action),
926 __entry->bytenr = head_ref->bytenr;
927 __entry->num_bytes = head_ref->num_bytes;
929 __entry->is_data = head_ref->is_data;
942 const struct btrfs_delayed_ref_head *head_ref,
945 TP_ARGS(fs_info, head_ref, action)
951 const struct btrfs_delayed_ref_head *head_ref,
954 TP_ARGS(fs_info, head_ref, action)