Searched refs:S0 (Results 1 – 2 of 2) sorted by relevance
/fs/reiserfs/ |
D | lbalance.c | 664 struct buffer_head *S0 = PATH_PLAST_BUFFER(tb->tb_path); in leaf_shift_left() local 671 if (B_NR_ITEMS(S0) == 0) { /* number of items in S[0] == 0 */ in leaf_shift_left() 691 replace_key(tb, tb->CFL[0], tb->lkey[0], S0, 0); in leaf_shift_left() 694 !(is_direntry_le_ih(B_N_PITEM_HEAD(S0, 0)) in leaf_shift_left() 695 && !I_ENTRY_COUNT(B_N_PITEM_HEAD(S0, 0)))) && in leaf_shift_left() 697 (B_N_PKEY(S0, 0), S0->b_size)), in leaf_shift_left()
|
D | fix_node.c | 658 struct buffer_head *S0; in are_leaves_removable() local 660 S0 = PATH_H_PBUFFER(tb->tb_path, 0); in are_leaves_removable() 674 RFALSE(B_NR_ITEMS(S0) != 1, in are_leaves_removable() 676 B_NR_ITEMS(S0)); in are_leaves_removable() 678 ih = B_N_PITEM_HEAD(S0, 0); in are_leaves_removable() 701 if (MAX_CHILD_SIZE(S0) + vn->vn_size <= rfree + lfree + ih_size) { in are_leaves_removable() 1755 struct buffer_head *S0, *F0; in dc_check_balance_leaf() local 1758 S0 = PATH_H_PBUFFER(tb->tb_path, 0); in dc_check_balance_leaf() 1763 maxsize = MAX_CHILD_SIZE(S0); /* maximal possible size of an item */ in dc_check_balance_leaf() 1767 RFALSE(-levbytes >= maxsize - B_FREE_SPACE(S0), in dc_check_balance_leaf()
|