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()
146 byte = buffer + (rbm->offset / GFS2_NBBY); in gfs2_testbit()
147 bit = (rbm->offset % GFS2_NBBY) * GFS2_BIT_SIZE; in gfs2_testbit()
254 return (((const unsigned char *)ptr - buf) * GFS2_NBBY) + bit; in gfs2_bitfit()
287 sizeof(struct gfs2_meta_header)) * GFS2_NBBY; in gfs2_rbm_from_block()
387 start += (rbm.offset / GFS2_NBBY); in gfs2_free_extlen()
388 bytes = min_t(u32, len / GFS2_NBBY, (end - start)); in gfs2_free_extlen()
391 chunk_size *= GFS2_NBBY; in gfs2_free_extlen()
784 bi->bi_blocks = bytes * GFS2_NBBY; in compute_bitstructs()
791 bi->bi_blocks = bytes * GFS2_NBBY; in compute_bitstructs()
798 bi->bi_blocks = bytes * GFS2_NBBY; in compute_bitstructs()
806 bi->bi_blocks = bytes * GFS2_NBBY; in compute_bitstructs()
817 if ((bi->bi_start + bi->bi_len) * GFS2_NBBY != rgd->rd_data) { in compute_bitstructs()
1125 while (goal < bi->bi_len * GFS2_NBBY) { in count_unlinked()
1311 blk = offset + ((bi->bi_start + x) * GFS2_NBBY); in gfs2_rgrp_send_discards()