Searched refs:rbm (Results 1 – 2 of 2) sorted by relevance
61 struct gfs2_rbm rbm; member73 static int gfs2_rbm_find(struct gfs2_rbm *rbm, u8 state, u32 *minext,85 static inline void gfs2_setbit(const struct gfs2_rbm *rbm, bool do_clone, in gfs2_setbit() argument89 struct gfs2_bitmap *bi = rbm_bi(rbm); in gfs2_setbit()91 const unsigned int bit = (rbm->offset % GFS2_NBBY) * GFS2_BIT_SIZE; in gfs2_setbit()93 byte1 = bi->bi_bh->b_data + bi->bi_offset + (rbm->offset / GFS2_NBBY); in gfs2_setbit()101 struct gfs2_sbd *sdp = rbm->rgd->rd_sbd; 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 (unsigned long long)gfs2_rbm_to_block(rbm)); in gfs2_setbit()[all …]
130 static inline struct gfs2_bitmap *rbm_bi(const struct gfs2_rbm *rbm) in rbm_bi() argument132 return rbm->rgd->rd_bits + rbm->bii; in rbm_bi()135 static inline u64 gfs2_rbm_to_block(const struct gfs2_rbm *rbm) in gfs2_rbm_to_block() argument137 BUG_ON(rbm->offset >= rbm->rgd->rd_data); in gfs2_rbm_to_block()138 return rbm->rgd->rd_data0 + (rbm_bi(rbm)->bi_start * GFS2_NBBY) + in gfs2_rbm_to_block()139 rbm->offset; in gfs2_rbm_to_block()