Lines Matching refs:gfs2_sbd
36 static void gfs2_log_shutdown(struct gfs2_sbd *sdp);
49 unsigned int gfs2_struct2blk(struct gfs2_sbd *sdp, unsigned int nstruct)
92 static int gfs2_ail1_start_one(struct gfs2_sbd *sdp,
157 static void dump_ail_list(struct gfs2_sbd *sdp)
198 void gfs2_ail1_flush(struct gfs2_sbd *sdp, struct writeback_control *wbc)
242 static void gfs2_ail1_start(struct gfs2_sbd *sdp)
254 static void gfs2_log_update_flush_tail(struct gfs2_sbd *sdp)
267 static void gfs2_log_update_head(struct gfs2_sbd *sdp)
280 static void gfs2_ail_empty_tr(struct gfs2_sbd *sdp, struct gfs2_trans *tr,
302 static int gfs2_ail1_empty_one(struct gfs2_sbd *sdp, struct gfs2_trans *tr,
356 static bool gfs2_ail1_empty(struct gfs2_sbd *sdp, int max_revokes)
376 static void gfs2_ail1_wait(struct gfs2_sbd *sdp)
398 static void __ail2_empty(struct gfs2_sbd *sdp, struct gfs2_trans *tr)
407 static void ail2_empty(struct gfs2_sbd *sdp, unsigned int new_tail)
433 bool gfs2_log_is_empty(struct gfs2_sbd *sdp) {
437 static bool __gfs2_log_try_reserve_revokes(struct gfs2_sbd *sdp, unsigned int revokes)
457 void gfs2_log_release_revokes(struct gfs2_sbd *sdp, unsigned int revokes)
470 void gfs2_log_release(struct gfs2_sbd *sdp, unsigned int blks)
489 static bool __gfs2_log_try_reserve(struct gfs2_sbd *sdp, unsigned int blks,
525 static void __gfs2_log_reserve(struct gfs2_sbd *sdp, unsigned int blks,
562 bool gfs2_log_try_reserve(struct gfs2_sbd *sdp, struct gfs2_trans *tr,
593 void gfs2_log_reserve(struct gfs2_sbd *sdp, struct gfs2_trans *tr,
621 static inline unsigned int log_distance(struct gfs2_sbd *sdp, unsigned int newer,
654 static unsigned int calc_reserved(struct gfs2_sbd *sdp)
669 static void log_pull_tail(struct gfs2_sbd *sdp)
683 void log_flush_wait(struct gfs2_sbd *sdp)
718 static void gfs2_ordered_write(struct gfs2_sbd *sdp)
740 static void gfs2_ordered_wait(struct gfs2_sbd *sdp)
759 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);
766 void gfs2_add_revoke(struct gfs2_sbd *sdp, struct gfs2_bufdata *bd)
802 void gfs2_flush_revokes(struct gfs2_sbd *sdp)
828 void gfs2_write_log_header(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd,
910 static void log_write_header(struct gfs2_sbd *sdp, u32 flags)
936 void gfs2_ail_drain(struct gfs2_sbd *sdp)
971 static void empty_ail1_list(struct gfs2_sbd *sdp)
1037 void gfs2_log_flush(struct gfs2_sbd *sdp, struct gfs2_glock *gl, u32 flags)
1186 static void gfs2_merge_trans(struct gfs2_sbd *sdp, struct gfs2_trans *new)
1208 static void log_refund(struct gfs2_sbd *sdp, struct gfs2_trans *tr)
1235 static inline int gfs2_jrnl_flush_reqd(struct gfs2_sbd *sdp)
1242 static inline int gfs2_ail_flush_reqd(struct gfs2_sbd *sdp)
1265 void gfs2_log_commit(struct gfs2_sbd *sdp, struct gfs2_trans *tr)
1279 static void gfs2_log_shutdown(struct gfs2_sbd *sdp)
1302 struct gfs2_sbd *sdp = data;