Searched refs:rbm (Results 1 – 2 of 2) sorted by relevance
63 struct gfs2_rbm rbm; member75 static int gfs2_rbm_find(struct gfs2_rbm *rbm, u8 state, u32 *minext,87 static inline void gfs2_setbit(const struct gfs2_rbm *rbm, bool do_clone, in gfs2_setbit() argument91 struct gfs2_bitmap *bi = rbm_bi(rbm); in gfs2_setbit()93 const unsigned int bit = (rbm->offset % GFS2_NBBY) * GFS2_BIT_SIZE; in gfs2_setbit()95 byte1 = bi->bi_bh->b_data + bi->bi_offset + (rbm->offset / GFS2_NBBY); in gfs2_setbit()104 rbm->offset, cur_state, new_state); in gfs2_setbit()106 (unsigned long long)rbm->rgd->rd_addr, bi->bi_start); in gfs2_setbit()110 gfs2_consist_rgrpd(rbm->rgd); in gfs2_setbit()116 byte2 = bi->bi_clone + bi->bi_offset + (rbm->offset / GFS2_NBBY); in gfs2_setbit()[all …]
113 static inline struct gfs2_bitmap *rbm_bi(const struct gfs2_rbm *rbm) in rbm_bi() argument115 return rbm->rgd->rd_bits + rbm->bii; in rbm_bi()118 static inline u64 gfs2_rbm_to_block(const struct gfs2_rbm *rbm) in gfs2_rbm_to_block() argument120 return rbm->rgd->rd_data0 + (rbm_bi(rbm)->bi_start * GFS2_NBBY) + in gfs2_rbm_to_block()121 rbm->offset; in gfs2_rbm_to_block()