Lines Matching refs:gfs2_rgrpd

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()
503 struct gfs2_rgrpd *gfs2_blk2rgrpd(struct gfs2_sbd *sdp, u64 blk, bool exact) in gfs2_blk2rgrpd()
506 struct gfs2_rgrpd *cur; in gfs2_blk2rgrpd()
511 cur = rb_entry(n, struct gfs2_rgrpd, rd_node); in gfs2_blk2rgrpd()
541 struct gfs2_rgrpd *gfs2_rgrpd_get_first(struct gfs2_sbd *sdp) in gfs2_rgrpd_get_first()
544 struct gfs2_rgrpd *rgd; in gfs2_rgrpd_get_first()
548 rgd = rb_entry(n, struct gfs2_rgrpd, rd_node); in gfs2_rgrpd_get_first()
561 struct gfs2_rgrpd *gfs2_rgrpd_get_next(struct gfs2_rgrpd *rgd) in gfs2_rgrpd_get_next()
575 rgd = rb_entry(n, struct gfs2_rgrpd, rd_node); 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()
670 struct gfs2_rgrpd *rgd; in gfs2_rs_deltree()
706 static void return_all_reservations(struct gfs2_rgrpd *rgd) in return_all_reservations()
722 struct gfs2_rgrpd *rgd; in gfs2_clear_rgrpd()
726 rgd = rb_entry(n, struct gfs2_rgrpd, rd_node); in gfs2_clear_rgrpd()
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()
870 struct gfs2_rgrpd *cur = rb_entry(*newn, struct gfs2_rgrpd, in rgd_insert()
902 struct gfs2_rgrpd *rgd; in read_rindex_entry()
968 struct gfs2_rgrpd *rgd, *first; in set_rgrp_preferences()
1055 static void gfs2_rgrp_in(struct gfs2_rgrpd *rgd, const void *buf) in gfs2_rgrp_in()
1069 static void gfs2_rgrp_out(struct gfs2_rgrpd *rgd, void *buf) in gfs2_rgrp_out()
1081 static int gfs2_rgrp_lvb_valid(struct gfs2_rgrpd *rgd) in gfs2_rgrp_lvb_valid()
1105 static void update_rgrp_lvb_unlinked(struct gfs2_rgrpd *rgd, u32 change) in update_rgrp_lvb_unlinked()
1112 static u32 count_unlinked(struct gfs2_rgrpd *rgd) in count_unlinked()
1147 static int gfs2_rgrp_bh_get(struct gfs2_rgrpd *rgd) in gfs2_rgrp_bh_get()
1214 static int update_rgrp_lvb(struct gfs2_rgrpd *rgd) in update_rgrp_lvb()
1239 struct gfs2_rgrpd *rgd = gh->gh_gl->gl_object; in gfs2_rgrp_go_lock()
1253 void gfs2_rgrp_brelse(struct gfs2_rgrpd *rgd) in gfs2_rgrp_brelse()
1275 struct gfs2_rgrpd *rgd = gh->gh_gl->gl_object; in gfs2_rgrp_go_unlock()
1364 struct gfs2_rgrpd *rgd; in gfs2_fitrim()
1365 struct gfs2_rgrpd *rgd_end; in gfs2_fitrim()
1460 struct gfs2_rgrpd *rgd = rs->rs_rbm.rgd; in rs_insert()
1501 static void rg_mblk_search(struct gfs2_rgrpd *rgd, struct gfs2_inode *ip, in rg_mblk_search()
1555 static u64 gfs2_next_unreserved_block(struct gfs2_rgrpd *rgd, u64 block, in gfs2_next_unreserved_block()
1778 static void try_rgrp_unlink(struct gfs2_rgrpd *rgd, u64 *last_unlinked, u64 skip) in try_rgrp_unlink()
1861 static bool gfs2_rgrp_congested(const struct gfs2_rgrpd *rgd, int loops) in gfs2_rgrp_congested()
1934 static bool gfs2_select_rgrp(struct gfs2_rgrpd **pos, const struct gfs2_rgrpd *begin) in gfs2_select_rgrp()
1936 struct gfs2_rgrpd *rgd = *pos; in gfs2_select_rgrp()
1954 static inline int fast_to_acquire(struct gfs2_rgrpd *rgd) in fast_to_acquire()
1986 struct gfs2_rgrpd *begin = NULL; in gfs2_inplace_reserve()
2130 static unsigned char gfs2_get_block_type(struct gfs2_rgrpd *rgd, u64 block) in gfs2_get_block_type()
2185 static struct gfs2_rgrpd *rgblk_free(struct gfs2_sbd *sdp, u64 bstart, in rgblk_free()
2228 struct gfs2_rgrpd *rgd = gl->gl_object; in gfs2_rgrp_dump()
2246 static void gfs2_rgrp_error(struct gfs2_rgrpd *rgd) in gfs2_rgrp_error()
2271 struct gfs2_rgrpd *rgd = rbm->rgd; in gfs2_adjust_reservation()
2432 struct gfs2_rgrpd *rgd; in __gfs2_free_blocks()
2470 struct gfs2_rgrpd *rgd; in gfs2_unlink_di()
2483 static void gfs2_free_uninit_di(struct gfs2_rgrpd *rgd, u64 blkno) in gfs2_free_uninit_di()
2486 struct gfs2_rgrpd *tmp_rgd; in gfs2_free_uninit_di()
2507 void gfs2_free_di(struct gfs2_rgrpd *rgd, struct gfs2_inode *ip) in gfs2_free_di()
2528 struct gfs2_rgrpd *rgd; in gfs2_check_blk_type()
2564 struct gfs2_rgrpd *rgd; in gfs2_rlist_add()
2565 struct gfs2_rgrpd **tmp; in gfs2_rlist_add()
2589 tmp = kcalloc(new_space, sizeof(struct gfs2_rgrpd *), in gfs2_rlist_add()
2594 rlist->rl_space * sizeof(struct gfs2_rgrpd *)); in gfs2_rlist_add()