Lines Matching defs:rgd
409 static u32 gfs2_bitcount(struct gfs2_rgrpd *rgd, const u8 *buffer, in gfs2_bitcount()
439 void gfs2_rgrp_verify(struct gfs2_rgrpd *rgd) in gfs2_rgrp_verify()
539 struct gfs2_rgrpd *rgd; in gfs2_rgrpd_get_first() local
556 struct gfs2_rgrpd *gfs2_rgrpd_get_next(struct gfs2_rgrpd *rgd) in gfs2_rgrpd_get_next()
582 void gfs2_free_clones(struct gfs2_rgrpd *rgd) in gfs2_free_clones()
611 struct gfs2_rgrpd *rgd; in __rs_deltree() local
653 struct gfs2_rgrpd *rgd; in gfs2_rs_deltree() local
686 static void return_all_reservations(struct gfs2_rgrpd *rgd) in return_all_reservations()
702 struct gfs2_rgrpd *rgd; in gfs2_clear_rgrpd() local
738 static int compute_bitstructs(struct gfs2_rgrpd *rgd) in compute_bitstructs()
846 static int rgd_insert(struct gfs2_rgrpd *rgd) in rgd_insert()
884 struct gfs2_rgrpd *rgd; in read_rindex_entry() local
949 struct gfs2_rgrpd *rgd, *first; in set_rgrp_preferences() local
1040 static void gfs2_rgrp_in(struct gfs2_rgrpd *rgd, const void *buf) in gfs2_rgrp_in()
1067 static void gfs2_rgrp_out(struct gfs2_rgrpd *rgd, void *buf) in gfs2_rgrp_out()
1092 static int gfs2_rgrp_lvb_valid(struct gfs2_rgrpd *rgd) in gfs2_rgrp_lvb_valid()
1128 static u32 count_unlinked(struct gfs2_rgrpd *rgd) in count_unlinked()
1163 static int gfs2_rgrp_bh_get(struct gfs2_rgrpd *rgd) in gfs2_rgrp_bh_get()
1230 static int update_rgrp_lvb(struct gfs2_rgrpd *rgd) in update_rgrp_lvb()
1255 struct gfs2_rgrpd *rgd = gh->gh_gl->gl_object; in gfs2_rgrp_go_lock() local
1269 void gfs2_rgrp_brelse(struct gfs2_rgrpd *rgd) in gfs2_rgrp_brelse()
1363 struct gfs2_rgrpd *rgd; in gfs2_fitrim() local
1461 struct gfs2_rgrpd *rgd = rs->rs_rbm.rgd; in rs_insert() local
1506 static inline u32 rgd_free(struct gfs2_rgrpd *rgd, struct gfs2_blkreserv *rs) in rgd_free()
1530 static void rg_mblk_search(struct gfs2_rgrpd *rgd, struct gfs2_inode *ip, in rg_mblk_search()
1583 static u64 gfs2_next_unreserved_block(struct gfs2_rgrpd *rgd, u64 block, in gfs2_next_unreserved_block()
1801 static void try_rgrp_unlink(struct gfs2_rgrpd *rgd, u64 *last_unlinked, u64 skip) in try_rgrp_unlink()
1882 static bool gfs2_rgrp_congested(const struct gfs2_rgrpd *rgd, int loops) in gfs2_rgrp_congested()
1957 struct gfs2_rgrpd *rgd = *pos; in gfs2_select_rgrp() local
1975 static inline int fast_to_acquire(struct gfs2_rgrpd *rgd) in fast_to_acquire()
2185 static void rgblk_free(struct gfs2_sbd *sdp, struct gfs2_rgrpd *rgd, in rgblk_free()
2220 void gfs2_rgrp_dump(struct seq_file *seq, struct gfs2_rgrpd *rgd, in gfs2_rgrp_dump()
2247 static void gfs2_rgrp_error(struct gfs2_rgrpd *rgd) in gfs2_rgrp_error()
2275 struct gfs2_rgrpd *rgd = rbm->rgd; in gfs2_adjust_reservation() local
2435 void __gfs2_free_blocks(struct gfs2_inode *ip, struct gfs2_rgrpd *rgd, in __gfs2_free_blocks()
2461 void gfs2_free_meta(struct gfs2_inode *ip, struct gfs2_rgrpd *rgd, in gfs2_free_meta()
2475 struct gfs2_rgrpd *rgd; in gfs2_unlink_di() local
2488 void gfs2_free_di(struct gfs2_rgrpd *rgd, struct gfs2_inode *ip) in gfs2_free_di()
2521 struct gfs2_rgrpd *rgd; in gfs2_check_blk_type() local
2563 struct gfs2_rgrpd *rgd; in gfs2_rlist_add() local