Home
last modified time | relevance | path

Searched refs:rnum (Results 1 – 6 of 6) sorted by relevance

/fs/reiserfs/
Ddo_balan.c190 if (tb->rnum[0] == -1) { /* R[0] must be also joined with S[0] */ in balance_leaf_when_delete()
227 RFALSE(tb->rnum[0] != 0, in balance_leaf_when_delete()
228 "PAP-12045: rnum must be 0 (%d)", tb->rnum[0]); in balance_leaf_when_delete()
238 RFALSE((tb->lnum[0] + tb->rnum[0] < n) || in balance_leaf_when_delete()
239 (tb->lnum[0] + tb->rnum[0] > n + 1), in balance_leaf_when_delete()
241 tb->rnum[0], tb->lnum[0], n); in balance_leaf_when_delete()
242 RFALSE((tb->lnum[0] + tb->rnum[0] == n) && in balance_leaf_when_delete()
246 RFALSE((tb->lnum[0] + tb->rnum[0] == n + 1) && in balance_leaf_when_delete()
252 leaf_shift_right(tb, tb->rnum[0], tb->rbytes); in balance_leaf_when_delete()
259 if (tb->rnum[0] == -1) { in balance_leaf_when_delete()
[all …]
Dfix_node.c294 tb->rnum[h] = cur_free / (DC_SIZE + KEY_SIZE); in check_right()
302 tb->rnum[h] = 0; in check_right()
319 tb->rnum[h] = vn->vn_nr_item; in check_right()
330 tb->rnum[0] = 0; in check_right()
337 tb->rnum[0]++; in check_right()
353 tb->rnum[0]++; in check_right()
586 int rnum, int blk_num, short *s012, int lb, int rb) in set_parameters() argument
590 tb->rnum[h] = rnum; in set_parameters()
604 PROC_INFO_ADD(tb->tb_sb, rnum[h], rnum); in set_parameters()
622 to_right = tb->rnum[0] - ((tb->rbytes != -1) ? 1 : 0); in is_leaf_removable()
[all …]
Dibalance.c612 if (tb->lnum[h] == 0 && tb->rnum[h] == 0) { in balance_internal_when_delete()
653 RFALSE(tb->rnum[h] != 0, in balance_internal_when_delete()
655 h, tb->rnum[h]); in balance_internal_when_delete()
663 if (tb->R[h] && tb->rnum[h] == -B_NR_ITEMS(tb->R[h]) - 1) { /* join S[h] with R[h] */ in balance_internal_when_delete()
675 RFALSE(tb->rnum[h] != 0, in balance_internal_when_delete()
677 tb->rnum[h]); in balance_internal_when_delete()
684 if (tb->rnum[h] < 0) { /* borrow from right neighbor R[h] */ in balance_internal_when_delete()
688 …internal_shift_left(INTERNAL_SHIFT_FROM_R_TO_S, tb, h, -tb->rnum[h]); /*tb->S[h], tb->CFR[h], tb->… in balance_internal_when_delete()
693 RFALSE(tb->rnum[h] == 0 || tb->lnum[h] + tb->rnum[h] != n + 1, in balance_internal_when_delete()
695 h, tb->lnum[h], h, tb->rnum[h], n); in balance_internal_when_delete()
[all …]
Dprints.c666 tb->insert_size[0], tb->lnum[0], tb->lbytes, tb->rnum[0], in store_print_tb()
677 h, tb->insert_size[h], tb->lnum[h], tb->rnum[h], in store_print_tb()
Dprocfs.c178 SFPL(rnum), in show_per_level()
Dreiserfs.h377 long int rnum[5]; /* XXX */ member
2081 int rnum[MAX_HEIGHT]; /* substitute right for left in comment above */ member