Lines Matching refs:bp_index
35 path[level].bp_index = 0; in nilfs_btree_alloc_path()
566 path[level].bp_index = index; in nilfs_btree_do_lookup()
598 path[level].bp_index = index; in nilfs_btree_do_lookup()
625 path[level].bp_index = index; in nilfs_btree_do_lookup_last()
637 path[level].bp_index = index; in nilfs_btree_do_lookup_last()
674 index = path[level].bp_index + next_adj; in nilfs_btree_get_next_key()
737 index = path[level].bp_index + 1; in nilfs_btree_lookup_contig()
759 p.index = path[level + 1].bp_index + 1; in nilfs_btree_lookup_contig()
765 path[level + 1].bp_index = p.index; in nilfs_btree_lookup_contig()
777 path[level].bp_index = index; in nilfs_btree_lookup_contig()
800 path[level].bp_index, key); in nilfs_btree_promote_key()
803 } while ((path[level].bp_index == 0) && in nilfs_btree_promote_key()
810 path[level].bp_index, key); in nilfs_btree_promote_key()
824 nilfs_btree_node_insert(node, path[level].bp_index, in nilfs_btree_do_insert()
829 if (path[level].bp_index == 0) in nilfs_btree_do_insert()
835 nilfs_btree_node_insert(node, path[level].bp_index, in nilfs_btree_do_insert()
856 if (n > path[level].bp_index) { in nilfs_btree_carry_left()
876 path[level].bp_index += lnchildren; in nilfs_btree_carry_left()
877 path[level + 1].bp_index--; in nilfs_btree_carry_left()
881 path[level].bp_index -= n; in nilfs_btree_carry_left()
902 if (n > nchildren - path[level].bp_index) { in nilfs_btree_carry_right()
915 path[level + 1].bp_index++; in nilfs_btree_carry_right()
918 path[level + 1].bp_index--; in nilfs_btree_carry_right()
924 path[level].bp_index -= nilfs_btree_node_get_nchildren(node); in nilfs_btree_carry_right()
925 path[level + 1].bp_index++; in nilfs_btree_carry_right()
948 if (n > nchildren - path[level].bp_index) { in nilfs_btree_split()
961 path[level].bp_index -= nilfs_btree_node_get_nchildren(node); in nilfs_btree_split()
962 nilfs_btree_node_insert(right, path[level].bp_index, in nilfs_btree_split()
981 path[level + 1].bp_index++; in nilfs_btree_split()
1024 if (path[level].bp_index > 0) { in nilfs_btree_find_near()
1027 path[level].bp_index - 1, in nilfs_btree_find_near()
1035 return nilfs_btree_node_get_ptr(node, path[level].bp_index, in nilfs_btree_find_near()
1100 pindex = path[level + 1].bp_index; in nilfs_btree_prepare_insert()
1274 nilfs_btree_node_delete(node, path[level].bp_index, in nilfs_btree_do_delete()
1278 if (path[level].bp_index == 0) in nilfs_btree_do_delete()
1283 nilfs_btree_node_delete(node, path[level].bp_index, in nilfs_btree_do_delete()
1318 path[level].bp_index += n; in nilfs_btree_borrow_left()
1345 path[level + 1].bp_index++; in nilfs_btree_borrow_right()
1348 path[level + 1].bp_index--; in nilfs_btree_borrow_right()
1377 path[level].bp_index += nilfs_btree_node_get_nchildren(left); in nilfs_btree_concat_left()
1402 path[level + 1].bp_index++; in nilfs_btree_concat_right()
1451 for (level = NILFS_BTREE_LEVEL_NODE_MIN, dindex = path[level].bp_index; in nilfs_btree_prepare_delete()
1469 pindex = path[level + 1].bp_index; in nilfs_btree_prepare_delete()
1934 nilfs_btree_node_get_ptr(parent, path[level + 1].bp_index, in nilfs_btree_prepare_update_v()
1980 nilfs_btree_node_set_ptr(parent, path[level + 1].bp_index, in nilfs_btree_commit_update_v()
2066 path[level + 1].bp_index, in nilfs_btree_propagate_v()
2216 ptr = nilfs_btree_node_get_ptr(parent, path[level + 1].bp_index, in nilfs_btree_assign_p()
2233 nilfs_btree_node_set_ptr(parent, path[level + 1].bp_index, blocknr, in nilfs_btree_assign_p()
2236 key = nilfs_btree_node_get_key(parent, path[level + 1].bp_index); in nilfs_btree_assign_p()
2260 ptr = nilfs_btree_node_get_ptr(parent, path[level + 1].bp_index, in nilfs_btree_assign_v()
2268 key = nilfs_btree_node_get_key(parent, path[level + 1].bp_index); in nilfs_btree_assign_v()