Lines Matching refs:k
819 int insert_num, n, k; in balance_internal() local
853 k = 0; in balance_internal()
891 k = tb->lnum[h] - child_pos - 1; in balance_internal()
898 n + child_pos + 1, k, in balance_internal()
901 replace_lkey(tb, h, insert_key + k); in balance_internal()
909 MAX_CHILD_SIZE(insert_ptr[k]) - in balance_internal()
910 B_FREE_SPACE(insert_ptr[k])); in balance_internal()
911 put_dc_block_number(dc, insert_ptr[k]->b_blocknr); in balance_internal()
915 k++; in balance_internal()
916 insert_key += k; in balance_internal()
917 insert_ptr += k; in balance_internal()
918 insert_num -= k; in balance_internal()
957 k = tb->rnum[h] - n + child_pos - 1; in balance_internal()
964 0, k, insert_key + 1, in balance_internal()
967 replace_rkey(tb, h, insert_key + insert_num - k - 1); in balance_internal()
976 [insert_num - k - 1]) - in balance_internal()
978 [insert_num - k - 1])); in balance_internal()
980 insert_ptr[insert_num - k - in balance_internal()
985 insert_num -= (k + 1); in balance_internal()
1106 k = snum - n + child_pos - 1; in balance_internal()
1108 internal_insert_childs(&dest_bi, /*S_new, */ 0, k, in balance_internal()
1112 memcpy(&new_insert_key, insert_key + insert_num - k - 1, in balance_internal()
1122 (insert_ptr[insert_num - k - 1]) - in balance_internal()
1124 [insert_num - k - 1]))); in balance_internal()
1126 insert_ptr[insert_num - k - in balance_internal()
1131 insert_num -= (k + 1); in balance_internal()