Lines Matching refs:lbytes

212 	       (tb->lbytes != -1 || tb->rbytes != -1),  in balance_leaf_when_delete_left()
215 tb->rbytes, tb->lbytes); in balance_leaf_when_delete_left()
217 (tb->lbytes < 1 || tb->rbytes != -1), in balance_leaf_when_delete_left()
220 tb->rbytes, tb->lbytes); in balance_leaf_when_delete_left()
222 leaf_shift_left(tb, tb->lnum[0], tb->lbytes); in balance_leaf_when_delete_left()
295 if (tb->item_pos == tb->lnum[0] - 1 && tb->lbytes != -1) { in balance_leaf_insert_left()
302 new_item_len = ih_item_len(ih) - tb->lbytes; in balance_leaf_insert_left()
324 add_le_ih_k_offset(ih, tb->lbytes << shift); in balance_leaf_insert_left()
327 if (tb->lbytes > tb->zeroes_num) { in balance_leaf_insert_left()
328 body_shift_bytes = tb->lbytes - tb->zeroes_num; in balance_leaf_insert_left()
331 tb->zeroes_num -= tb->lbytes; in balance_leaf_insert_left()
339 ret = leaf_shift_left(tb, tb->lnum[0] - 1, tb->lbytes); in balance_leaf_insert_left()
362 if (tb->lbytes > tb->pos_in_item) { in balance_leaf_paste_left_shift_dirent()
371 ret = leaf_shift_left(tb, tb->lnum[0], tb->lbytes - 1); in balance_leaf_paste_left_shift_dirent()
375 (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()
410 tb->pos_in_item -= tb->lbytes; in balance_leaf_paste_left_shift_dirent()
427 RFALSE(tb->lbytes <= 0, in balance_leaf_paste_left_shift()
429 "lbytes=%d", tb->lbytes); in balance_leaf_paste_left_shift()
436 if (tb->lbytes >= tb->pos_in_item) { in balance_leaf_paste_left_shift()
449 l_n = tb->lbytes - tb->pos_in_item; in balance_leaf_paste_left_shift()
515 tb->pos_in_item -= tb->lbytes; 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()
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()