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()
359 static bool gfs2_ail1_empty(struct gfs2_sbd *sdp, int max_revokes) in gfs2_ail1_empty()
379 static void gfs2_ail1_wait(struct gfs2_sbd *sdp) in gfs2_ail1_wait()
401 static void __ail2_empty(struct gfs2_sbd *sdp, struct gfs2_trans *tr) in __ail2_empty()
410 static void ail2_empty(struct gfs2_sbd *sdp, unsigned int new_tail) in ail2_empty()
436 bool gfs2_log_is_empty(struct gfs2_sbd *sdp) { in gfs2_log_is_empty()
440 static bool __gfs2_log_try_reserve_revokes(struct gfs2_sbd *sdp, unsigned int revokes) in __gfs2_log_try_reserve_revokes()
460 void gfs2_log_release_revokes(struct gfs2_sbd *sdp, unsigned int revokes) in gfs2_log_release_revokes()
473 void gfs2_log_release(struct gfs2_sbd *sdp, unsigned int blks) in gfs2_log_release()
492 static bool __gfs2_log_try_reserve(struct gfs2_sbd *sdp, unsigned int blks, in __gfs2_log_try_reserve()
528 static void __gfs2_log_reserve(struct gfs2_sbd *sdp, unsigned int blks, in __gfs2_log_reserve()
565 bool gfs2_log_try_reserve(struct gfs2_sbd *sdp, struct gfs2_trans *tr, in gfs2_log_try_reserve()
596 void gfs2_log_reserve(struct gfs2_sbd *sdp, struct gfs2_trans *tr, in gfs2_log_reserve()
624 static inline unsigned int log_distance(struct gfs2_sbd *sdp, unsigned int newer, in log_distance()
657 static unsigned int calc_reserved(struct gfs2_sbd *sdp) in calc_reserved()
672 static void log_pull_tail(struct gfs2_sbd *sdp) in log_pull_tail()
686 void log_flush_wait(struct gfs2_sbd *sdp) in log_flush_wait()
721 static void gfs2_ordered_write(struct gfs2_sbd *sdp) in gfs2_ordered_write()
743 static void gfs2_ordered_wait(struct gfs2_sbd *sdp) in gfs2_ordered_wait()
762 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_ordered_del_inode() local
769 void gfs2_add_revoke(struct gfs2_sbd *sdp, struct gfs2_bufdata *bd) in gfs2_add_revoke()
805 void gfs2_flush_revokes(struct gfs2_sbd *sdp) in gfs2_flush_revokes()
831 void gfs2_write_log_header(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd, in gfs2_write_log_header()
913 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()
1040 void gfs2_log_flush(struct gfs2_sbd *sdp, struct gfs2_glock *gl, u32 flags) in gfs2_log_flush()
1188 static void gfs2_merge_trans(struct gfs2_sbd *sdp, struct gfs2_trans *new) in gfs2_merge_trans()
1210 static void log_refund(struct gfs2_sbd *sdp, struct gfs2_trans *tr) in log_refund()
1237 static inline int gfs2_jrnl_flush_reqd(struct gfs2_sbd *sdp) in gfs2_jrnl_flush_reqd()
1244 static inline int gfs2_ail_flush_reqd(struct gfs2_sbd *sdp) in gfs2_ail_flush_reqd()
1267 void gfs2_log_commit(struct gfs2_sbd *sdp, struct gfs2_trans *tr) in gfs2_log_commit()
1281 static void gfs2_log_shutdown(struct gfs2_sbd *sdp) in gfs2_log_shutdown()
1304 struct gfs2_sbd *sdp = data; in gfs2_logd() local