Lines Matching refs:lnum
152 if (tb->lnum[0] == -1) { in balance_leaf_when_delete_left()
206 RFALSE((tb->lnum[0] + tb->rnum[0] < n) || in balance_leaf_when_delete_left()
207 (tb->lnum[0] + tb->rnum[0] > n + 1), in balance_leaf_when_delete_left()
210 tb->rnum[0], tb->lnum[0], n); in balance_leaf_when_delete_left()
211 RFALSE((tb->lnum[0] + tb->rnum[0] == n) && in balance_leaf_when_delete_left()
216 RFALSE((tb->lnum[0] + tb->rnum[0] == n + 1) && in balance_leaf_when_delete_left()
222 leaf_shift_left(tb, tb->lnum[0], tb->lbytes); in balance_leaf_when_delete_left()
271 if (tb->lnum[0]) in balance_leaf_when_delete()
295 if (tb->item_pos == tb->lnum[0] - 1 && tb->lbytes != -1) { in balance_leaf_insert_left()
299 ret = leaf_shift_left(tb, tb->lnum[0] - 1, -1); in balance_leaf_insert_left()
339 ret = leaf_shift_left(tb, tb->lnum[0] - 1, tb->lbytes); in balance_leaf_insert_left()
371 ret = leaf_shift_left(tb, tb->lnum[0], tb->lbytes - 1); in balance_leaf_paste_left_shift_dirent()
406 leaf_shift_left(tb, tb->lnum[0], tb->lbytes); in balance_leaf_paste_left_shift_dirent()
458 ret = leaf_shift_left(tb, tb->lnum[0], in balance_leaf_paste_left_shift()
525 leaf_shift_left(tb, tb->lnum[0], tb->lbytes); in balance_leaf_paste_left_shift()
560 ret = leaf_shift_left(tb, tb->lnum[0], tb->lbytes); in balance_leaf_paste_left_whole()
591 if (tb->item_pos == tb->lnum[0] - 1 && tb->lbytes != -1) in balance_leaf_paste_left()
603 if (tb->lnum[0] <= 0) in balance_leaf_left()
607 if (tb->item_pos < tb->lnum[0]) { in balance_leaf_left()
616 leaf_shift_left(tb, tb->lnum[0], tb->lbytes); in balance_leaf_left()
1413 tb->item_pos -= (tb->lnum[0] - ((tb->lbytes != -1) ? 1 : 0)); in balance_leaf()
1430 RFALSE(!tb->lnum[0] || !tb->rnum[0], in balance_leaf()
1663 if (tb->lnum[0]) { in check_before_balancing()
1684 if (tb->lnum[0]) { in check_after_balance_leaf()
1745 if (tb->lnum[h]) in check_internal_levels()