Lines Matching defs:sdp
48 unsigned int gfs2_struct2blk(struct gfs2_sbd *sdp, unsigned int nstruct, in gfs2_struct2blk()
92 static int gfs2_ail1_start_one(struct gfs2_sbd *sdp, in gfs2_ail1_start_one()
145 void gfs2_ail1_flush(struct gfs2_sbd *sdp, struct writeback_control *wbc) in gfs2_ail1_flush()
168 static void gfs2_ail1_start(struct gfs2_sbd *sdp) in gfs2_ail1_start()
187 static void gfs2_ail1_empty_one(struct gfs2_sbd *sdp, struct gfs2_ail *ai) in gfs2_ail1_empty_one()
212 static int gfs2_ail1_empty(struct gfs2_sbd *sdp) in gfs2_ail1_empty()
231 static void gfs2_ail1_wait(struct gfs2_sbd *sdp) in gfs2_ail1_wait()
260 static void gfs2_ail2_empty_one(struct gfs2_sbd *sdp, struct gfs2_ail *ai) in gfs2_ail2_empty_one()
273 static void ail2_empty(struct gfs2_sbd *sdp, unsigned int new_tail) in ail2_empty()
319 int gfs2_log_reserve(struct gfs2_sbd *sdp, unsigned int blks) in gfs2_log_reserve()
361 static u64 log_bmap(struct gfs2_sbd *sdp, unsigned int lbn) in log_bmap()
385 static inline unsigned int log_distance(struct gfs2_sbd *sdp, unsigned int newer, in log_distance()
422 static unsigned int calc_reserved(struct gfs2_sbd *sdp) in calc_reserved()
449 static unsigned int current_tail(struct gfs2_sbd *sdp) in current_tail()
468 void gfs2_log_incr_head(struct gfs2_sbd *sdp) in gfs2_log_incr_head()
488 struct gfs2_sbd *sdp = bh->b_private; in gfs2_log_write_endio() local
503 struct buffer_head *gfs2_log_get_buf(struct gfs2_sbd *sdp) in gfs2_log_get_buf()
532 struct gfs2_sbd *sdp = bd->bd_gl->gl_sbd; in gfs2_fake_write_endio() local
550 struct buffer_head *gfs2_log_fake_buf(struct gfs2_sbd *sdp, in gfs2_log_fake_buf()
572 static void log_pull_tail(struct gfs2_sbd *sdp, unsigned int new_tail) in log_pull_tail()
593 static void log_write_header(struct gfs2_sbd *sdp, u32 flags, int pull) in log_write_header()
645 static void log_flush_commit(struct gfs2_sbd *sdp) in log_flush_commit()
662 static void gfs2_ordered_write(struct gfs2_sbd *sdp) in gfs2_ordered_write()
691 static void gfs2_ordered_wait(struct gfs2_sbd *sdp) in gfs2_ordered_wait()
720 void gfs2_log_flush(struct gfs2_sbd *sdp, struct gfs2_glock *gl) in gfs2_log_flush()
789 static void log_refund(struct gfs2_sbd *sdp, struct gfs2_trans *tr) in log_refund()
814 static void buf_lo_incore_commit(struct gfs2_sbd *sdp, struct gfs2_trans *tr) in buf_lo_incore_commit()
844 void gfs2_log_commit(struct gfs2_sbd *sdp, struct gfs2_trans *tr) in gfs2_log_commit()
863 void gfs2_log_shutdown(struct gfs2_sbd *sdp) in gfs2_log_shutdown()
897 void gfs2_meta_syncfs(struct gfs2_sbd *sdp) in gfs2_meta_syncfs()
909 static inline int gfs2_jrnl_flush_reqd(struct gfs2_sbd *sdp) in gfs2_jrnl_flush_reqd()
914 static inline int gfs2_ail_flush_reqd(struct gfs2_sbd *sdp) in gfs2_ail_flush_reqd()
930 struct gfs2_sbd *sdp = data; in gfs2_logd() local