Lines Matching defs: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()
152 static void dump_ail_list(struct gfs2_sbd *sdp) in dump_ail_list()
193 void gfs2_ail1_flush(struct gfs2_sbd *sdp, struct writeback_control *wbc) in gfs2_ail1_flush()
237 static void gfs2_ail1_start(struct gfs2_sbd *sdp) in gfs2_ail1_start()
249 static void gfs2_log_update_flush_tail(struct gfs2_sbd *sdp) in gfs2_log_update_flush_tail()
262 static void gfs2_log_update_head(struct gfs2_sbd *sdp) in gfs2_log_update_head()
275 static void gfs2_ail_empty_tr(struct gfs2_sbd *sdp, struct gfs2_trans *tr, in gfs2_ail_empty_tr()
297 static int gfs2_ail1_empty_one(struct gfs2_sbd *sdp, struct gfs2_trans *tr, in gfs2_ail1_empty_one()
351 static bool gfs2_ail1_empty(struct gfs2_sbd *sdp, int max_revokes) in gfs2_ail1_empty()
371 static void gfs2_ail1_wait(struct gfs2_sbd *sdp) in gfs2_ail1_wait()
393 static void __ail2_empty(struct gfs2_sbd *sdp, struct gfs2_trans *tr) in __ail2_empty()
402 static void ail2_empty(struct gfs2_sbd *sdp, unsigned int new_tail) in ail2_empty()
428 bool gfs2_log_is_empty(struct gfs2_sbd *sdp) { in gfs2_log_is_empty()
432 static bool __gfs2_log_try_reserve_revokes(struct gfs2_sbd *sdp, unsigned int revokes) in __gfs2_log_try_reserve_revokes()
452 void gfs2_log_release_revokes(struct gfs2_sbd *sdp, unsigned int revokes) in gfs2_log_release_revokes()
465 void gfs2_log_release(struct gfs2_sbd *sdp, unsigned int blks) in gfs2_log_release()
484 static bool __gfs2_log_try_reserve(struct gfs2_sbd *sdp, unsigned int blks, in __gfs2_log_try_reserve()
520 static void __gfs2_log_reserve(struct gfs2_sbd *sdp, unsigned int blks, in __gfs2_log_reserve()
557 bool gfs2_log_try_reserve(struct gfs2_sbd *sdp, struct gfs2_trans *tr, in gfs2_log_try_reserve()
588 void gfs2_log_reserve(struct gfs2_sbd *sdp, struct gfs2_trans *tr, in gfs2_log_reserve()
616 static inline unsigned int log_distance(struct gfs2_sbd *sdp, unsigned int newer, in log_distance()
649 static unsigned int calc_reserved(struct gfs2_sbd *sdp) in calc_reserved()
664 static void log_pull_tail(struct gfs2_sbd *sdp) in log_pull_tail()
678 void log_flush_wait(struct gfs2_sbd *sdp) in log_flush_wait()
713 static void gfs2_ordered_write(struct gfs2_sbd *sdp) in gfs2_ordered_write()
735 static void gfs2_ordered_wait(struct gfs2_sbd *sdp) in gfs2_ordered_wait()
754 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); in gfs2_ordered_del_inode() local
761 void gfs2_add_revoke(struct gfs2_sbd *sdp, struct gfs2_bufdata *bd) in gfs2_add_revoke()
797 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()
1032 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