Lines Matching refs:rd_bits
47 return rbm->rgd->rd_bits + rbm->bii; in rbm_bi()
309 struct gfs2_bitmap *bi = rgd->rd_bits + rbm->bii; in gfs2_rbm_add()
319 if (bi == rgd->rd_bits + rgd->rd_length) in gfs2_rbm_add()
323 rbm->bii = bi - rgd->rd_bits; in gfs2_rbm_add()
477 bi = rgd->rd_bits + buf; in gfs2_rgrp_verify()
613 struct gfs2_bitmap *bi = rgd->rd_bits + x; in gfs2_free_clones()
739 kfree(rgd->rd_bits); in gfs2_clear_rgrpd()
740 rgd->rd_bits = NULL; in gfs2_clear_rgrpd()
765 rgd->rd_bits = kcalloc(length, sizeof(struct gfs2_bitmap), GFP_NOFS); in compute_bitstructs()
766 if (!rgd->rd_bits) in compute_bitstructs()
772 bi = rgd->rd_bits + x; in compute_bitstructs()
813 bi = rgd->rd_bits + (length - 1); in compute_bitstructs()
950 kfree(rgd->rd_bits); in read_rindex_entry()
951 rgd->rd_bits = NULL; in read_rindex_entry()
1112 struct gfs2_rgrp *str = (struct gfs2_rgrp *)rgd->rd_bits[0].bi_bh->b_data; in gfs2_rgrp_lvb_valid()
1152 for (i = 0, bi = rgd->rd_bits; i < length; i++, bi++) { in count_unlinked()
1176 bi = rgd->rd_bits + x; in rgrp_set_bitmap_flags()
1181 bi = rgd->rd_bits + x; in rgrp_set_bitmap_flags()
1207 if (rgd->rd_bits[0].bi_bh != NULL) in gfs2_rgrp_go_instantiate()
1211 bi = rgd->rd_bits + x; in gfs2_rgrp_go_instantiate()
1218 bi = rgd->rd_bits + y; in gfs2_rgrp_go_instantiate()
1229 gfs2_rgrp_in(rgd, (rgd->rd_bits[0].bi_bh)->b_data); in gfs2_rgrp_go_instantiate()
1239 rgd->rd_bits[0].bi_bh->b_data); in gfs2_rgrp_go_instantiate()
1253 bi = rgd->rd_bits + x; in gfs2_rgrp_go_instantiate()
1299 struct gfs2_bitmap *bi = rgd->rd_bits + x; in gfs2_rgrp_brelse()
1441 struct gfs2_bitmap *bi = rgd->rd_bits + x; in gfs2_fitrim()
1457 bh = rgd->rd_bits[0].bi_bh; in gfs2_fitrim()
2444 test_bit(GBF_FULL, &rbm.rgd->rd_bits->bi_flags), in gfs2_alloc_blocks()
2485 gfs2_trans_add_meta(rbm.rgd->rd_gl, rbm.rgd->rd_bits[0].bi_bh); in gfs2_alloc_blocks()
2486 gfs2_rgrp_out(rbm.rgd, rbm.rgd->rd_bits[0].bi_bh->b_data); in gfs2_alloc_blocks()
2526 gfs2_trans_add_meta(rgd->rd_gl, rgd->rd_bits[0].bi_bh); in __gfs2_free_blocks()
2527 gfs2_rgrp_out(rgd, rgd->rd_bits[0].bi_bh->b_data); in __gfs2_free_blocks()
2567 gfs2_trans_add_meta(rgd->rd_gl, rgd->rd_bits[0].bi_bh); in gfs2_unlink_di()
2568 gfs2_rgrp_out(rgd, rgd->rd_bits[0].bi_bh->b_data); in gfs2_unlink_di()
2584 gfs2_trans_add_meta(rgd->rd_gl, rgd->rd_bits[0].bi_bh); in gfs2_free_di()
2585 gfs2_rgrp_out(rgd, rgd->rd_bits[0].bi_bh->b_data); in gfs2_free_di()