Lines Matching refs:generic_ref
894 struct btrfs_ref *generic_ref, in btrfs_add_delayed_tree_ref() argument
905 int action = generic_ref->action; in btrfs_add_delayed_tree_ref()
906 int level = generic_ref->tree_ref.level; in btrfs_add_delayed_tree_ref()
907 u64 bytenr = generic_ref->bytenr; in btrfs_add_delayed_tree_ref()
908 u64 num_bytes = generic_ref->len; in btrfs_add_delayed_tree_ref()
909 u64 parent = generic_ref->parent; in btrfs_add_delayed_tree_ref()
912 is_system = (generic_ref->tree_ref.owning_root == BTRFS_CHUNK_TREE_OBJECTID); in btrfs_add_delayed_tree_ref()
914 ASSERT(generic_ref->type == BTRFS_REF_METADATA && generic_ref->action); in btrfs_add_delayed_tree_ref()
926 !generic_ref->skip_qgroup) { in btrfs_add_delayed_tree_ref()
941 generic_ref->tree_ref.owning_root, action, in btrfs_add_delayed_tree_ref()
943 ref->root = generic_ref->tree_ref.owning_root; in btrfs_add_delayed_tree_ref()
948 generic_ref->tree_ref.owning_root, 0, action, in btrfs_add_delayed_tree_ref()
987 struct btrfs_ref *generic_ref, in btrfs_add_delayed_data_ref() argument
996 int action = generic_ref->action; in btrfs_add_delayed_data_ref()
998 u64 bytenr = generic_ref->bytenr; in btrfs_add_delayed_data_ref()
999 u64 num_bytes = generic_ref->len; in btrfs_add_delayed_data_ref()
1000 u64 parent = generic_ref->parent; in btrfs_add_delayed_data_ref()
1001 u64 ref_root = generic_ref->data_ref.owning_root; in btrfs_add_delayed_data_ref()
1002 u64 owner = generic_ref->data_ref.ino; in btrfs_add_delayed_data_ref()
1003 u64 offset = generic_ref->data_ref.offset; in btrfs_add_delayed_data_ref()
1006 ASSERT(generic_ref->type == BTRFS_REF_DATA && action); in btrfs_add_delayed_data_ref()
1030 !generic_ref->skip_qgroup) { in btrfs_add_delayed_data_ref()