Lines Matching refs:GFS2_NBBY
81 const unsigned int bit = (rbm->offset % GFS2_NBBY) * GFS2_BIT_SIZE; in gfs2_setbit()
83 byte1 = bi->bi_bh->b_data + bi->bi_offset + (rbm->offset / GFS2_NBBY); in gfs2_setbit()
108 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()
273 sizeof(struct gfs2_meta_header)) * GFS2_NBBY; in gfs2_rbm_from_block()
373 start += (rbm.offset / GFS2_NBBY); in gfs2_free_extlen()
374 bytes = min_t(u32, len / GFS2_NBBY, (end - start)); in gfs2_free_extlen()
377 chunk_size *= GFS2_NBBY; in gfs2_free_extlen()
766 bi->bi_blocks = bytes * GFS2_NBBY; in compute_bitstructs()
773 bi->bi_blocks = bytes * GFS2_NBBY; in compute_bitstructs()
780 bi->bi_blocks = bytes * GFS2_NBBY; in compute_bitstructs()
788 bi->bi_blocks = bytes * GFS2_NBBY; in compute_bitstructs()
799 if ((bi->bi_start + bi->bi_bytes) * GFS2_NBBY != rgd->rd_data) { in compute_bitstructs()
1310 blk = offset + ((bi->bi_start + x) * GFS2_NBBY); in gfs2_rgrp_send_discards()