Home
last modified time | relevance | path

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

/fs/reiserfs/
Ddo_balan.c154 if (tb->rnum[0] == -1) { in balance_leaf_when_delete_left()
191 RFALSE(tb->rnum[0] != 0, in balance_leaf_when_delete_left()
192 "PAP-12045: rnum must be 0 (%d)", tb->rnum[0]); 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()
223 leaf_shift_right(tb, tb->rnum[0], tb->rbytes); in balance_leaf_when_delete_left()
274 if (tb->rnum[0] == -1) { in balance_leaf_when_delete()
[all …]
Dfix_node.c291 tb->rnum[h] = cur_free / (DC_SIZE + KEY_SIZE); in check_right()
299 tb->rnum[h] = 0; in check_right()
316 tb->rnum[h] = vn->vn_nr_item; in check_right()
327 tb->rnum[0] = 0; in check_right()
334 tb->rnum[0]++; in check_right()
358 tb->rnum[0]++; in check_right()
622 int rnum, int blk_num, short *s012, int lb, int rb) in set_parameters() argument
626 tb->rnum[h] = rnum; in set_parameters()
642 PROC_INFO_ADD(tb->tb_sb, rnum[h], rnum); in set_parameters()
664 to_right = tb->rnum[0] - ((tb->rbytes != -1) ? 1 : 0); in is_leaf_removable()
[all …]
Dibalance.c655 if (tb->lnum[h] == 0 && tb->rnum[h] == 0) { in balance_internal_when_delete()
699 RFALSE(tb->rnum[h] != 0, in balance_internal_when_delete()
701 h, tb->rnum[h]); in balance_internal_when_delete()
710 if (tb->R[h] && tb->rnum[h] == -B_NR_ITEMS(tb->R[h]) - 1) { in balance_internal_when_delete()
723 RFALSE(tb->rnum[h] != 0, in balance_internal_when_delete()
725 tb->rnum[h]); in balance_internal_when_delete()
732 if (tb->rnum[h] < 0) { in balance_internal_when_delete()
736 …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()
742 RFALSE(tb->rnum[h] == 0 || tb->lnum[h] + tb->rnum[h] != n + 1, in balance_internal_when_delete()
744 h, tb->lnum[h], h, tb->rnum[h], n); in balance_internal_when_delete()
[all …]
Dprints.c693 tb->insert_size[0], tb->lnum[0], tb->lbytes, tb->rnum[0], in store_print_tb()
704 h, tb->insert_size[h], tb->lnum[h], tb->rnum[h], in store_print_tb()
Dprocfs.c181 SFPL(rnum), in show_per_level()
Dreiserfs.h474 long int rnum[5]; /* XXX */ member
2449 int rnum[MAX_HEIGHT]; member