Lines Matching refs:GFS2_NBBY
94 const unsigned int bit = (rbm->offset % GFS2_NBBY) * GFS2_BIT_SIZE; in gfs2_setbit()
96 byte1 = bi->bi_bh->b_data + bi->bi_offset + (rbm->offset / GFS2_NBBY); in gfs2_setbit()
117 byte2 = bi->bi_clone + bi->bi_offset + (rbm->offset / GFS2_NBBY); in gfs2_setbit()
137 byte = buffer + (rbm->offset / GFS2_NBBY); in gfs2_testbit()
138 bit = (rbm->offset % GFS2_NBBY) * GFS2_BIT_SIZE; in gfs2_testbit()
245 return (((const unsigned char *)ptr - buf) * GFS2_NBBY) + bit; in gfs2_bitfit()
278 sizeof(struct gfs2_meta_header)) * GFS2_NBBY; in gfs2_rbm_from_block()
378 start += (rbm.offset / GFS2_NBBY); in gfs2_free_extlen()
379 bytes = min_t(u32, len / GFS2_NBBY, (end - start)); in gfs2_free_extlen()
382 chunk_size *= GFS2_NBBY; in gfs2_free_extlen()
791 bi->bi_blocks = bytes * GFS2_NBBY; in compute_bitstructs()
798 bi->bi_blocks = bytes * GFS2_NBBY; in compute_bitstructs()
805 bi->bi_blocks = bytes * GFS2_NBBY; in compute_bitstructs()
813 bi->bi_blocks = bytes * GFS2_NBBY; in compute_bitstructs()
824 if ((bi->bi_start + bi->bi_len) * GFS2_NBBY != rgd->rd_data) { in compute_bitstructs()
1122 while (goal < bi->bi_len * GFS2_NBBY) { in count_unlinked()
1293 blk = offset + ((bi->bi_start + x) * GFS2_NBBY); in gfs2_rgrp_send_discards()