Lines Matching refs:edges
185 struct btrfs_backref_edge *edges[], int *index) in walk_up_backref() argument
193 edges[idx++] = edge; in walk_up_backref()
205 struct btrfs_backref_edge *edges[], int *index) in walk_down_backref() argument
212 edge = edges[idx - 1]; in walk_down_backref()
220 edges[idx - 1] = edge; in walk_down_backref()
2109 struct btrfs_backref_edge *edges[]) in select_reloc_root() argument
2119 next = walk_up_backref(next, edges, &index); in select_reloc_root()
2197 next = walk_down_backref(edges, &index); in select_reloc_root()
2216 next = edges[index]->node[UPPER]; in select_reloc_root()
2236 struct btrfs_backref_edge *edges[BTRFS_MAX_LEVEL - 1]; in select_one_root() local
2242 next = walk_up_backref(next, edges, &index); in select_one_root()
2262 next = walk_down_backref(edges, &index); in select_one_root()
2279 struct btrfs_backref_edge *edges[BTRFS_MAX_LEVEL - 1]; in calcu_metadata_size() local
2298 edges[index++] = edge; in calcu_metadata_size()
2301 next = walk_down_backref(edges, &index); in calcu_metadata_size()
2362 struct btrfs_backref_edge *edges[BTRFS_MAX_LEVEL - 1]; in do_relocation() local
2384 root = select_reloc_root(trans, rc, upper, edges); in do_relocation()
2560 struct btrfs_backref_edge *edges[BTRFS_MAX_LEVEL - 1]; in update_processed_blocks() local
2576 edges[index++] = edge; in update_processed_blocks()
2579 next = walk_down_backref(edges, &index); in update_processed_blocks()