Lines Matching refs:n_rem
676 int n_shift, n_rem, r_zeros_number; in balance_leaf() local
689 if ( (n_rem = tb->insert_size[0] - tb->rbytes) < 0 ) in balance_leaf()
690 n_rem = 0; in balance_leaf()
694 unsigned long temp_rem = n_rem; in balance_leaf()
698 temp_rem = n_rem << (tb->tb_sb->s_blocksize_bits - in balance_leaf()
715 if ( n_rem > zeros_num ) { in balance_leaf()
717 r_body = body + n_rem - zeros_num; in balance_leaf()
721 r_zeros_number = zeros_num - n_rem; in balance_leaf()
725 leaf_paste_in_buffer(&bi, 0, n_shift, tb->insert_size[0] - n_rem, r_body, r_zeros_number); in balance_leaf()
729 RFALSE( n_rem, in balance_leaf()
734 tb->insert_size[0] = n_rem; in balance_leaf()
735 if ( ! n_rem ) in balance_leaf()
956 int n_shift, n_rem, r_zeros_number; in balance_leaf() local
970 n_rem = tb->insert_size[0] - sbytes[i]; in balance_leaf()
971 if ( n_rem < 0 ) in balance_leaf()
972 n_rem = 0; in balance_leaf()
979 if ( n_rem > zeros_num ) { in balance_leaf()
981 r_body = body + n_rem - zeros_num; in balance_leaf()
985 r_zeros_number = zeros_num - n_rem; in balance_leaf()
989 leaf_paste_in_buffer(&bi, 0, n_shift, tb->insert_size[0]-n_rem, r_body,r_zeros_number); in balance_leaf()
997 (n_rem << (tb->tb_sb->s_blocksize_bits - in balance_leaf()
1001 n_rem ); in balance_leaf()
1005 tb->insert_size[0] = n_rem; in balance_leaf()
1006 if ( ! n_rem ) in balance_leaf()