Lines Matching refs:GFS2_NBBY
42 * bits. So, each byte represents GFS2_NBBY (i.e. 4) blocks.
81 const unsigned int bit = (rbm->offset % GFS2_NBBY) * GFS2_BIT_SIZE;
83 byte1 = bi->bi_bh->b_data + bi->bi_offset + (rbm->offset / GFS2_NBBY);
108 byte2 = bi->bi_clone + bi->bi_offset + (rbm->offset / GFS2_NBBY);
137 byte = buffer + (rbm->offset / GFS2_NBBY);
138 bit = (rbm->offset % GFS2_NBBY) * GFS2_BIT_SIZE;
245 return (((const unsigned char *)ptr - buf) * GFS2_NBBY) + bit;
273 sizeof(struct gfs2_meta_header)) * GFS2_NBBY;
373 start += (rbm.offset / GFS2_NBBY);
374 bytes = min_t(u32, len / GFS2_NBBY, (end - start));
377 chunk_size *= GFS2_NBBY;
766 bi->bi_blocks = bytes * GFS2_NBBY;
773 bi->bi_blocks = bytes * GFS2_NBBY;
780 bi->bi_blocks = bytes * GFS2_NBBY;
788 bi->bi_blocks = bytes * GFS2_NBBY;
799 if ((bi->bi_start + bi->bi_bytes) * GFS2_NBBY != rgd->rd_data) {
1312 blk = offset + ((bi->bi_start + x) * GFS2_NBBY);