Lines Matching refs:bytenr
310 u64 bytenr; in htree_insert() local
314 bytenr = ins->bytenr; in htree_insert()
320 if (bytenr < entry->bytenr) { in htree_insert()
322 } else if (bytenr > entry->bytenr) { in htree_insert()
387 struct btrfs_delayed_ref_root *dr, u64 bytenr, in find_ref_head() argument
399 if (bytenr < entry->bytenr) in find_ref_head()
401 else if (bytenr > entry->bytenr) in find_ref_head()
407 if (bytenr > entry->bytenr) { in find_ref_head()
576 delayed_refs->run_delayed_start = head->bytenr + in btrfs_select_ref_head()
736 u64 bytenr, u64 num_bytes, u64 ref_root, in init_delayed_ref_head() argument
771 head_ref->bytenr = bytenr; in init_delayed_ref_head()
790 qrecord->bytenr = bytenr; in init_delayed_ref_head()
879 u64 bytenr, u64 num_bytes, u64 ref_root, in init_delayed_ref_common() argument
891 ref->bytenr = bytenr; in init_delayed_ref_common()
922 u64 bytenr = generic_ref->bytenr; in btrfs_add_delayed_tree_ref() local
955 init_delayed_ref_common(fs_info, &ref->node, bytenr, num_bytes, in btrfs_add_delayed_tree_ref()
962 init_delayed_ref_head(head_ref, record, bytenr, num_bytes, in btrfs_add_delayed_tree_ref()
1013 u64 bytenr = generic_ref->bytenr; in btrfs_add_delayed_data_ref() local
1030 init_delayed_ref_common(fs_info, &ref->node, bytenr, num_bytes, in btrfs_add_delayed_data_ref()
1055 init_delayed_ref_head(head_ref, record, bytenr, num_bytes, ref_root, in btrfs_add_delayed_data_ref()
1091 u64 bytenr, u64 num_bytes, in btrfs_add_delayed_extent_op() argument
1101 init_delayed_ref_head(head_ref, NULL, bytenr, num_bytes, 0, 0, in btrfs_add_delayed_extent_op()
1126 btrfs_find_delayed_ref_head(struct btrfs_delayed_ref_root *delayed_refs, u64 bytenr) in btrfs_find_delayed_ref_head() argument
1130 return find_ref_head(delayed_refs, bytenr, false); in btrfs_find_delayed_ref_head()