Lines Matching refs:GFS2_NBBY
53 return rbm->rgd->rd_data0 + (rbm_bi(rbm)->bi_start * GFS2_NBBY) +
60 * bits. So, each byte represents GFS2_NBBY (i.e. 4) blocks.
99 const unsigned int bit = (rbm->offset % GFS2_NBBY) * GFS2_BIT_SIZE;
101 byte1 = bi->bi_bh->b_data + bi->bi_offset + (rbm->offset / GFS2_NBBY);
126 byte2 = bi->bi_clone + bi->bi_offset + (rbm->offset / GFS2_NBBY);
155 byte = buffer + (rbm->offset / GFS2_NBBY);
156 bit = (rbm->offset % GFS2_NBBY) * GFS2_BIT_SIZE;
261 return (((const unsigned char *)ptr - buf) * GFS2_NBBY) + bit;
289 sizeof(struct gfs2_meta_header)) * GFS2_NBBY;
399 start += (rbm.offset / GFS2_NBBY);
400 bytes = min_t(u32, len / GFS2_NBBY, (end - start));
403 chunk_size *= GFS2_NBBY;
782 bi->bi_blocks = bytes * GFS2_NBBY;
789 bi->bi_blocks = bytes * GFS2_NBBY;
796 bi->bi_blocks = bytes * GFS2_NBBY;
804 bi->bi_blocks = bytes * GFS2_NBBY;
815 if ((bi->bi_start + bi->bi_bytes) * GFS2_NBBY != rgd->rd_data) {
1335 blk = offset + ((bi->bi_start + x) * GFS2_NBBY);