Lines Matching refs:sdp
29 extern void gfs2_log_write_page(struct gfs2_sbd *sdp, struct page *page);
30 extern void gfs2_log_flush_bio(struct gfs2_sbd *sdp, int rw);
31 extern void gfs2_pin(struct gfs2_sbd *sdp, struct buffer_head *bh);
33 static inline unsigned int buf_limit(struct gfs2_sbd *sdp) in buf_limit() argument
37 limit = (sdp->sd_sb.sb_bsize - BUF_OFFSET) / sizeof(__be64); in buf_limit()
41 static inline unsigned int databuf_limit(struct gfs2_sbd *sdp) in databuf_limit() argument
45 limit = (sdp->sd_sb.sb_bsize - DATABUF_OFFSET) / (2 * sizeof(__be64)); in databuf_limit()
49 static inline void lops_before_commit(struct gfs2_sbd *sdp, in lops_before_commit() argument
55 gfs2_log_ops[x]->lo_before_commit(sdp, tr); in lops_before_commit()
58 static inline void lops_after_commit(struct gfs2_sbd *sdp, in lops_after_commit() argument
64 gfs2_log_ops[x]->lo_after_commit(sdp, tr); in lops_after_commit()