Lines Matching refs:gfs2_sbd

35 static void gfs2_log_shutdown(struct gfs2_sbd *sdp);
48 unsigned int gfs2_struct2blk(struct gfs2_sbd *sdp, unsigned int nstruct) in gfs2_struct2blk()
91 static int gfs2_ail1_start_one(struct gfs2_sbd *sdp, in gfs2_ail1_start_one()
151 static void dump_ail_list(struct gfs2_sbd *sdp) in dump_ail_list()
192 void gfs2_ail1_flush(struct gfs2_sbd *sdp, struct writeback_control *wbc) in gfs2_ail1_flush()
236 static void gfs2_ail1_start(struct gfs2_sbd *sdp) in gfs2_ail1_start()
248 static void gfs2_log_update_flush_tail(struct gfs2_sbd *sdp) in gfs2_log_update_flush_tail()
261 static void gfs2_log_update_head(struct gfs2_sbd *sdp) in gfs2_log_update_head()
274 static void gfs2_ail_empty_tr(struct gfs2_sbd *sdp, struct gfs2_trans *tr, in gfs2_ail_empty_tr()
296 static int gfs2_ail1_empty_one(struct gfs2_sbd *sdp, struct gfs2_trans *tr, in gfs2_ail1_empty_one()
349 static int gfs2_ail1_empty(struct gfs2_sbd *sdp, int max_revokes) in gfs2_ail1_empty()
374 static void gfs2_ail1_wait(struct gfs2_sbd *sdp) in gfs2_ail1_wait()
396 static void __ail2_empty(struct gfs2_sbd *sdp, struct gfs2_trans *tr) in __ail2_empty()
405 static void ail2_empty(struct gfs2_sbd *sdp, unsigned int new_tail) in ail2_empty()
431 bool gfs2_log_is_empty(struct gfs2_sbd *sdp) { in gfs2_log_is_empty()
435 static bool __gfs2_log_try_reserve_revokes(struct gfs2_sbd *sdp, unsigned int revokes) in __gfs2_log_try_reserve_revokes()
455 void gfs2_log_release_revokes(struct gfs2_sbd *sdp, unsigned int revokes) in gfs2_log_release_revokes()
468 void gfs2_log_release(struct gfs2_sbd *sdp, unsigned int blks) in gfs2_log_release()
487 static bool __gfs2_log_try_reserve(struct gfs2_sbd *sdp, unsigned int blks, in __gfs2_log_try_reserve()
523 static void __gfs2_log_reserve(struct gfs2_sbd *sdp, unsigned int blks, in __gfs2_log_reserve()
560 bool gfs2_log_try_reserve(struct gfs2_sbd *sdp, struct gfs2_trans *tr, in gfs2_log_try_reserve()
591 void gfs2_log_reserve(struct gfs2_sbd *sdp, struct gfs2_trans *tr, in gfs2_log_reserve()
619 static inline unsigned int log_distance(struct gfs2_sbd *sdp, unsigned int newer, in log_distance()
652 static unsigned int calc_reserved(struct gfs2_sbd *sdp) in calc_reserved()
667 static void log_pull_tail(struct gfs2_sbd *sdp) in log_pull_tail()
681 void log_flush_wait(struct gfs2_sbd *sdp) in log_flush_wait()
716 static void gfs2_ordered_write(struct gfs2_sbd *sdp) in gfs2_ordered_write()
738 static void gfs2_ordered_wait(struct gfs2_sbd *sdp) in gfs2_ordered_wait()
757 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_ordered_del_inode()
764 void gfs2_add_revoke(struct gfs2_sbd *sdp, struct gfs2_bufdata *bd) in gfs2_add_revoke()
800 void gfs2_flush_revokes(struct gfs2_sbd *sdp) in gfs2_flush_revokes()
823 void gfs2_write_log_header(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd, in gfs2_write_log_header()
905 static void log_write_header(struct gfs2_sbd *sdp, u32 flags) in log_write_header()
931 void gfs2_ail_drain(struct gfs2_sbd *sdp) in gfs2_ail_drain()
966 static void empty_ail1_list(struct gfs2_sbd *sdp) in empty_ail1_list()
1026 void gfs2_log_flush(struct gfs2_sbd *sdp, struct gfs2_glock *gl, u32 flags) in gfs2_log_flush()
1175 static void gfs2_merge_trans(struct gfs2_sbd *sdp, struct gfs2_trans *new) in gfs2_merge_trans()
1197 static void log_refund(struct gfs2_sbd *sdp, struct gfs2_trans *tr) in log_refund()
1239 void gfs2_log_commit(struct gfs2_sbd *sdp, struct gfs2_trans *tr) in gfs2_log_commit()
1255 static void gfs2_log_shutdown(struct gfs2_sbd *sdp) in gfs2_log_shutdown()
1268 static inline int gfs2_jrnl_flush_reqd(struct gfs2_sbd *sdp) in gfs2_jrnl_flush_reqd()
1275 static inline int gfs2_ail_flush_reqd(struct gfs2_sbd *sdp) in gfs2_ail_flush_reqd()
1296 struct gfs2_sbd *sdp = data; in gfs2_logd()