Home
last modified time | relevance | path

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

/linux/fs/btrfs/
H A Ddelayed-ref.c725 static void init_delayed_ref_head(struct btrfs_delayed_ref_head *head_ref, in init_delayed_ref_head() argument
767 refcount_set(&head_ref->refs, 1); in init_delayed_ref_head()
768 head_ref->bytenr = generic_ref->bytenr; in init_delayed_ref_head()
769 head_ref->num_bytes = generic_ref->num_bytes; in init_delayed_ref_head()
770 head_ref->ref_mod = count_mod; in init_delayed_ref_head()
771 head_ref->reserved_bytes = reserved; in init_delayed_ref_head()
772 head_ref->must_insert_reserved = must_insert_reserved; in init_delayed_ref_head()
773 head_ref->owning_root = generic_ref->owning_root; in init_delayed_ref_head()
774 head_ref->is_data = (generic_ref->type == BTRFS_REF_DATA); in init_delayed_ref_head()
775 head_ref->is_system = (generic_ref->ref_root == BTRFS_CHUNK_TREE_OBJECTID); in init_delayed_ref_head()
[all …]
H A Ddelayed-ref.h361 struct btrfs_delayed_ref_head *head_ref) in btrfs_ref_head_to_space_flags() argument
363 if (head_ref->is_data) in btrfs_ref_head_to_space_flags()
365 else if (head_ref->is_system) in btrfs_ref_head_to_space_flags()
/linux/include/trace/events/
H A Dbtrfs.h971 const struct btrfs_delayed_ref_head *head_ref,
974 TP_ARGS(fs_info, head_ref, action),
984 __entry->bytenr = head_ref->bytenr;
985 __entry->num_bytes = head_ref->num_bytes;
987 __entry->is_data = head_ref->is_data;
1000 const struct btrfs_delayed_ref_head *head_ref,
1003 TP_ARGS(fs_info, head_ref, action)
1009 const struct btrfs_delayed_ref_head *head_ref,
1012 TP_ARGS(fs_info, head_ref, action)