Searched refs:root_level (Results 1 – 7 of 7) sorted by relevance
/fs/btrfs/ |
D | qgroup.c | 1980 static int adjust_slots_upwards(struct btrfs_path *path, int root_level) in adjust_slots_upwards() argument 1986 if (root_level == 0) in adjust_slots_upwards() 1989 while (level <= root_level) { in adjust_slots_upwards() 2000 if (level != root_level) { in adjust_slots_upwards() 2020 eb = path->nodes[root_level]; in adjust_slots_upwards() 2021 if (path->slots[root_level] >= btrfs_header_nritems(eb)) in adjust_slots_upwards() 2076 int dst_level, int root_level, in qgroup_trace_extent_swap() argument 2083 int cur_level = root_level; in qgroup_trace_extent_swap() 2086 BUG_ON(dst_level > root_level); in qgroup_trace_extent_swap() 2088 if (btrfs_header_level(src_eb) != root_level) in qgroup_trace_extent_swap() [all …]
|
D | qgroup.h | 355 u64 root_gen, int root_level);
|
D | backref.c | 602 int root_level; in resolve_indirect_ref() local 635 root_level = btrfs_header_level(root->commit_root); in resolve_indirect_ref() 637 root_level = btrfs_header_level(root->node); in resolve_indirect_ref() 639 root_level = btrfs_old_root_level(root, ctx->time_seq); in resolve_indirect_ref() 641 if (root_level + 1 == level) in resolve_indirect_ref()
|
D | send.c | 7509 int *level, int root_level) in tree_move_next_or_upnext() argument 7518 if (*level == root_level) { in tree_move_next_or_upnext() 7541 int *level, int root_level, in tree_advance() argument 7549 ret = tree_move_next_or_upnext(path, level, root_level); in tree_advance() 7622 int root_level; in restart_after_relocation() local 7669 root_level = btrfs_header_level(sctx->send_root->commit_root); in restart_after_relocation() 7670 if (root_level > 0) { in restart_after_relocation() 7671 ret = replace_node_with_clone(left_path, root_level); in restart_after_relocation() 7676 root_level = btrfs_header_level(sctx->parent_root->commit_root); in restart_after_relocation() 7677 if (root_level > 0) { in restart_after_relocation() [all …]
|
D | accessors.h | 724 BTRFS_SETGET_STACK_FUNCS(root_level, struct btrfs_root_item, level, 8); 883 root_level, 8);
|
D | transaction.c | 1934 super->root_level = root_item->level; in update_super_roots()
|
/fs/xfs/scrub/ |
D | btree.c | 502 unsigned int root_level = cur->bc_nlevels - 1; in xchk_btree_check_minrecs() local 522 root_block = xfs_btree_get_block(cur, root_level, &root_bp); in xchk_btree_check_minrecs() 523 root_maxrecs = cur->bc_ops->get_dmaxrecs(cur, root_level); in xchk_btree_check_minrecs() 535 if (level < root_level) in xchk_btree_check_minrecs()
|