Lines Matching defs:sdp

48 unsigned int gfs2_struct2blk(struct gfs2_sbd *sdp, unsigned int nstruct)  in gfs2_struct2blk()
100 static int gfs2_ail1_start_one(struct gfs2_sbd *sdp, in gfs2_ail1_start_one()
160 static void dump_ail_list(struct gfs2_sbd *sdp) in dump_ail_list()
201 void gfs2_ail1_flush(struct gfs2_sbd *sdp, struct writeback_control *wbc) in gfs2_ail1_flush()
245 static void gfs2_ail1_start(struct gfs2_sbd *sdp) in gfs2_ail1_start()
257 static void gfs2_log_update_flush_tail(struct gfs2_sbd *sdp) in gfs2_log_update_flush_tail()
270 static void gfs2_log_update_head(struct gfs2_sbd *sdp) in gfs2_log_update_head()
283 static void gfs2_ail_empty_tr(struct gfs2_sbd *sdp, struct gfs2_trans *tr, in gfs2_ail_empty_tr()
305 static int gfs2_ail1_empty_one(struct gfs2_sbd *sdp, struct gfs2_trans *tr, in gfs2_ail1_empty_one()
358 static int gfs2_ail1_empty(struct gfs2_sbd *sdp, int max_revokes) in gfs2_ail1_empty()
383 static void gfs2_ail1_wait(struct gfs2_sbd *sdp) in gfs2_ail1_wait()
405 static void __ail2_empty(struct gfs2_sbd *sdp, struct gfs2_trans *tr) in __ail2_empty()
414 static void ail2_empty(struct gfs2_sbd *sdp, unsigned int new_tail) in ail2_empty()
440 bool gfs2_log_is_empty(struct gfs2_sbd *sdp) { in gfs2_log_is_empty()
444 static bool __gfs2_log_try_reserve_revokes(struct gfs2_sbd *sdp, unsigned int revokes) in __gfs2_log_try_reserve_revokes()
464 void gfs2_log_release_revokes(struct gfs2_sbd *sdp, unsigned int revokes) in gfs2_log_release_revokes()
477 void gfs2_log_release(struct gfs2_sbd *sdp, unsigned int blks) in gfs2_log_release()
496 static bool __gfs2_log_try_reserve(struct gfs2_sbd *sdp, unsigned int blks, in __gfs2_log_try_reserve()
532 static void __gfs2_log_reserve(struct gfs2_sbd *sdp, unsigned int blks, in __gfs2_log_reserve()
569 bool gfs2_log_try_reserve(struct gfs2_sbd *sdp, struct gfs2_trans *tr, in gfs2_log_try_reserve()
600 void gfs2_log_reserve(struct gfs2_sbd *sdp, struct gfs2_trans *tr, in gfs2_log_reserve()
628 static inline unsigned int log_distance(struct gfs2_sbd *sdp, unsigned int newer, in log_distance()
661 static unsigned int calc_reserved(struct gfs2_sbd *sdp) in calc_reserved()
676 static void log_pull_tail(struct gfs2_sbd *sdp) in log_pull_tail()
690 void log_flush_wait(struct gfs2_sbd *sdp) in log_flush_wait()
725 static void gfs2_ordered_write(struct gfs2_sbd *sdp) in gfs2_ordered_write()
747 static void gfs2_ordered_wait(struct gfs2_sbd *sdp) in gfs2_ordered_wait()
766 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_ordered_del_inode() local
773 void gfs2_add_revoke(struct gfs2_sbd *sdp, struct gfs2_bufdata *bd) in gfs2_add_revoke()
809 void gfs2_flush_revokes(struct gfs2_sbd *sdp) in gfs2_flush_revokes()
832 void gfs2_write_log_header(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd, in gfs2_write_log_header()
914 static void log_write_header(struct gfs2_sbd *sdp, u32 flags) in log_write_header()
939 void gfs2_ail_drain(struct gfs2_sbd *sdp) in gfs2_ail_drain()
974 static void empty_ail1_list(struct gfs2_sbd *sdp) in empty_ail1_list()
1034 void gfs2_log_flush(struct gfs2_sbd *sdp, struct gfs2_glock *gl, u32 flags) in gfs2_log_flush()
1181 static void gfs2_merge_trans(struct gfs2_sbd *sdp, struct gfs2_trans *new) in gfs2_merge_trans()
1203 static void log_refund(struct gfs2_sbd *sdp, struct gfs2_trans *tr) in log_refund()
1230 static inline int gfs2_jrnl_flush_reqd(struct gfs2_sbd *sdp) in gfs2_jrnl_flush_reqd()
1237 static inline int gfs2_ail_flush_reqd(struct gfs2_sbd *sdp) in gfs2_ail_flush_reqd()
1260 void gfs2_log_commit(struct gfs2_sbd *sdp, struct gfs2_trans *tr) in gfs2_log_commit()
1274 static void gfs2_log_shutdown(struct gfs2_sbd *sdp) in gfs2_log_shutdown()
1297 struct gfs2_sbd *sdp = data; in gfs2_logd() local