Lines Matching refs:gfs2_rgrpd
40 struct gfs2_rgrpd *rgd;
308 struct gfs2_rgrpd *rgd = rbm->rgd; in gfs2_rbm_add()
435 static u32 gfs2_bitcount(struct gfs2_rgrpd *rgd, const u8 *buffer, in gfs2_bitcount()
465 void gfs2_rgrp_verify(struct gfs2_rgrpd *rgd) in gfs2_rgrp_verify()
524 struct gfs2_rgrpd *gfs2_blk2rgrpd(struct gfs2_sbd *sdp, u64 blk, bool exact) in gfs2_blk2rgrpd()
527 struct gfs2_rgrpd *cur; in gfs2_blk2rgrpd()
532 cur = rb_entry(n, struct gfs2_rgrpd, rd_node); in gfs2_blk2rgrpd()
562 struct gfs2_rgrpd *gfs2_rgrpd_get_first(struct gfs2_sbd *sdp) in gfs2_rgrpd_get_first()
565 struct gfs2_rgrpd *rgd; in gfs2_rgrpd_get_first()
569 rgd = rb_entry(n, struct gfs2_rgrpd, rd_node); in gfs2_rgrpd_get_first()
582 struct gfs2_rgrpd *gfs2_rgrpd_get_next(struct gfs2_rgrpd *rgd) in gfs2_rgrpd_get_next()
596 rgd = rb_entry(n, struct gfs2_rgrpd, rd_node); in gfs2_rgrpd_get_next()
608 void gfs2_free_clones(struct gfs2_rgrpd *rgd) in gfs2_free_clones()
638 struct gfs2_rgrpd *rgd; in __rs_deltree()
669 struct gfs2_rgrpd *rgd; in gfs2_rs_deltree()
703 static void return_all_reservations(struct gfs2_rgrpd *rgd) in return_all_reservations()
719 struct gfs2_rgrpd *rgd; in gfs2_clear_rgrpd()
723 rgd = rb_entry(n, struct gfs2_rgrpd, rd_node); in gfs2_clear_rgrpd()
755 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()
901 struct gfs2_rgrpd *rgd; in read_rindex_entry()
968 struct gfs2_rgrpd *rgd, *first; in set_rgrp_preferences()
1059 static void gfs2_rgrp_in(struct gfs2_rgrpd *rgd, const void *buf) in gfs2_rgrp_in()
1086 static void gfs2_rgrp_out(struct gfs2_rgrpd *rgd, void *buf) in gfs2_rgrp_out()
1088 struct gfs2_rgrpd *next = gfs2_rgrpd_get_next(rgd); in gfs2_rgrp_out()
1111 static int gfs2_rgrp_lvb_valid(struct gfs2_rgrpd *rgd) in gfs2_rgrp_lvb_valid()
1147 static u32 count_unlinked(struct gfs2_rgrpd *rgd) in count_unlinked()
1171 static void rgrp_set_bitmap_flags(struct gfs2_rgrpd *rgd) in rgrp_set_bitmap_flags()
1201 struct gfs2_rgrpd *rgd = gl->gl_object; in gfs2_rgrp_go_instantiate()
1262 static int update_rgrp_lvb(struct gfs2_rgrpd *rgd, struct gfs2_holder *gh) in update_rgrp_lvb()
1295 void gfs2_rgrp_brelse(struct gfs2_rgrpd *rgd) in gfs2_rgrp_brelse()
1390 struct gfs2_rgrpd *rgd; in gfs2_fitrim()
1391 struct gfs2_rgrpd *rgd_end; in gfs2_fitrim()
1493 struct gfs2_rgrpd *rgd = rs->rs_rgd; in rs_insert()
1538 static inline u32 rgd_free(struct gfs2_rgrpd *rgd, struct gfs2_blkreserv *rs) in rgd_free()
1562 static void rg_mblk_search(struct gfs2_rgrpd *rgd, struct gfs2_inode *ip, in rg_mblk_search()
1624 static u64 gfs2_next_unreserved_block(struct gfs2_rgrpd *rgd, u64 block, in gfs2_next_unreserved_block()
1842 static void try_rgrp_unlink(struct gfs2_rgrpd *rgd, u64 *last_unlinked, u64 skip) in try_rgrp_unlink()
1923 static bool gfs2_rgrp_congested(const struct gfs2_rgrpd *rgd, int loops) in gfs2_rgrp_congested()
1996 static bool gfs2_select_rgrp(struct gfs2_rgrpd **pos, const struct gfs2_rgrpd *begin) in gfs2_select_rgrp()
1998 struct gfs2_rgrpd *rgd = *pos; in gfs2_select_rgrp()
2017 static inline int fast_to_acquire(struct gfs2_rgrpd *rgd) in fast_to_acquire()
2048 struct gfs2_rgrpd *begin = NULL; in gfs2_inplace_reserve()
2078 struct gfs2_rgrpd *rgd; in gfs2_inplace_reserve()
2208 struct gfs2_rgrpd *rgd = rs->rs_rgd; in gfs2_inplace_release()
2262 static void rgblk_free(struct gfs2_sbd *sdp, struct gfs2_rgrpd *rgd, in rgblk_free()
2297 void gfs2_rgrp_dump(struct seq_file *seq, struct gfs2_rgrpd *rgd, in gfs2_rgrp_dump()
2324 static void gfs2_rgrp_error(struct gfs2_rgrpd *rgd) in gfs2_rgrp_error()
2352 struct gfs2_rgrpd *rgd = rbm->rgd; in gfs2_adjust_reservation()
2519 void __gfs2_free_blocks(struct gfs2_inode *ip, struct gfs2_rgrpd *rgd, in __gfs2_free_blocks()
2547 void gfs2_free_meta(struct gfs2_inode *ip, struct gfs2_rgrpd *rgd, in gfs2_free_meta()
2561 struct gfs2_rgrpd *rgd; in gfs2_unlink_di()
2576 void gfs2_free_di(struct gfs2_rgrpd *rgd, struct gfs2_inode *ip) in gfs2_free_di()
2615 struct gfs2_rgrpd *rgd; in gfs2_check_blk_type()
2664 struct gfs2_rgrpd *rgd; in gfs2_rlist_add()
2665 struct gfs2_rgrpd **tmp; in gfs2_rlist_add()
2704 tmp = kcalloc(new_space, sizeof(struct gfs2_rgrpd *), in gfs2_rlist_add()
2709 rlist->rl_space * sizeof(struct gfs2_rgrpd *)); in gfs2_rlist_add()
2764 void rgrp_lock_local(struct gfs2_rgrpd *rgd) in rgrp_lock_local()
2769 void rgrp_unlock_local(struct gfs2_rgrpd *rgd) in rgrp_unlock_local()