Searched refs:rbm (Results 1 – 2 of 2) sorted by relevance
64 struct gfs2_rbm rbm; member76 static int gfs2_rbm_find(struct gfs2_rbm *rbm, u8 state, u32 *minext,88 static inline void gfs2_setbit(const struct gfs2_rbm *rbm, bool do_clone, in gfs2_setbit() argument92 struct gfs2_bitmap *bi = rbm_bi(rbm); in gfs2_setbit()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()105 rbm->offset, cur_state, new_state); in gfs2_setbit()107 (unsigned long long)rbm->rgd->rd_addr, bi->bi_start); in gfs2_setbit()111 gfs2_consist_rgrpd(rbm->rgd); in gfs2_setbit()117 byte2 = bi->bi_clone + bi->bi_offset + (rbm->offset / GFS2_NBBY); in gfs2_setbit()[all …]
133 static inline struct gfs2_bitmap *rbm_bi(const struct gfs2_rbm *rbm) in rbm_bi() argument135 return rbm->rgd->rd_bits + rbm->bii; in rbm_bi()138 static inline u64 gfs2_rbm_to_block(const struct gfs2_rbm *rbm) in gfs2_rbm_to_block() argument140 BUG_ON(rbm->offset >= rbm->rgd->rd_data); in gfs2_rbm_to_block()141 return rbm->rgd->rd_data0 + (rbm_bi(rbm)->bi_start * GFS2_NBBY) + in gfs2_rbm_to_block()142 rbm->offset; in gfs2_rbm_to_block()