Lines Matching defs:rgd
414 static u32 gfs2_bitcount(struct gfs2_rgrpd *rgd, const u8 *buffer, in gfs2_bitcount()
444 void gfs2_rgrp_verify(struct gfs2_rgrpd *rgd) in gfs2_rgrp_verify()
487 static inline int rgrp_contains_block(struct gfs2_rgrpd *rgd, u64 block) in rgrp_contains_block()
544 struct gfs2_rgrpd *rgd; in gfs2_rgrpd_get_first() local
561 struct gfs2_rgrpd *gfs2_rgrpd_get_next(struct gfs2_rgrpd *rgd) in gfs2_rgrpd_get_next()
587 void gfs2_free_clones(struct gfs2_rgrpd *rgd) in gfs2_free_clones()
637 struct gfs2_rgrpd *rgd; in __rs_deltree() local
670 struct gfs2_rgrpd *rgd; in gfs2_rs_deltree() local
706 static void return_all_reservations(struct gfs2_rgrpd *rgd) in return_all_reservations()
722 struct gfs2_rgrpd *rgd; in gfs2_clear_rgrpd() local
746 static void gfs2_rindex_print(const struct gfs2_rgrpd *rgd) in gfs2_rindex_print()
764 static int compute_bitstructs(struct gfs2_rgrpd *rgd) in compute_bitstructs()
863 static int rgd_insert(struct gfs2_rgrpd *rgd) in rgd_insert()
902 struct gfs2_rgrpd *rgd; in read_rindex_entry() local
967 struct gfs2_rgrpd *rgd, *first; in set_rgrp_preferences() local
1054 static void gfs2_rgrp_in(struct gfs2_rgrpd *rgd, const void *buf) in gfs2_rgrp_in()
1068 static void gfs2_rgrp_out(struct gfs2_rgrpd *rgd, void *buf) in gfs2_rgrp_out()
1080 static int gfs2_rgrp_lvb_valid(struct gfs2_rgrpd *rgd) in gfs2_rgrp_lvb_valid()
1104 static void update_rgrp_lvb_unlinked(struct gfs2_rgrpd *rgd, u32 change) in update_rgrp_lvb_unlinked()
1111 static u32 count_unlinked(struct gfs2_rgrpd *rgd) in count_unlinked()
1146 static int gfs2_rgrp_bh_get(struct gfs2_rgrpd *rgd) in gfs2_rgrp_bh_get()
1213 static int update_rgrp_lvb(struct gfs2_rgrpd *rgd) in update_rgrp_lvb()
1238 struct gfs2_rgrpd *rgd = gh->gh_gl->gl_object; in gfs2_rgrp_go_lock() local
1254 struct gfs2_rgrpd *rgd = gh->gh_gl->gl_object; in gfs2_rgrp_go_unlock() local
1348 struct gfs2_rgrpd *rgd; in gfs2_fitrim() local
1444 struct gfs2_rgrpd *rgd = rs->rs_rbm.rgd; in rs_insert() local
1485 static void rg_mblk_search(struct gfs2_rgrpd *rgd, struct gfs2_inode *ip, in rg_mblk_search()
1539 static u64 gfs2_next_unreserved_block(struct gfs2_rgrpd *rgd, u64 block, in gfs2_next_unreserved_block()
1764 static void try_rgrp_unlink(struct gfs2_rgrpd *rgd, u64 *last_unlinked, u64 skip) in try_rgrp_unlink()
1847 static bool gfs2_rgrp_congested(const struct gfs2_rgrpd *rgd, int loops) in gfs2_rgrp_congested()
1913 struct gfs2_rgrpd *rgd = *pos; in gfs2_select_rgrp() local
1931 static inline int fast_to_acquire(struct gfs2_rgrpd *rgd) in fast_to_acquire()
2107 static unsigned char gfs2_get_block_type(struct gfs2_rgrpd *rgd, u64 block) in gfs2_get_block_type()
2205 struct gfs2_rgrpd *rgd = gl->gl_object; in gfs2_rgrp_dump() local
2223 static void gfs2_rgrp_error(struct gfs2_rgrpd *rgd) in gfs2_rgrp_error()
2248 struct gfs2_rgrpd *rgd = rbm->rgd; in gfs2_adjust_reservation() local
2409 struct gfs2_rgrpd *rgd; in __gfs2_free_blocks() local
2447 struct gfs2_rgrpd *rgd; in gfs2_unlink_di() local
2460 static void gfs2_free_uninit_di(struct gfs2_rgrpd *rgd, u64 blkno) in gfs2_free_uninit_di()
2484 void gfs2_free_di(struct gfs2_rgrpd *rgd, struct gfs2_inode *ip) in gfs2_free_di()
2505 struct gfs2_rgrpd *rgd; in gfs2_check_blk_type() local
2541 struct gfs2_rgrpd *rgd; in gfs2_rlist_add() local