Lines Matching refs:sdp
31 void gfs2_assert_i(struct gfs2_sbd *sdp);
33 #define gfs2_assert(sdp, assertion) \ argument
36 gfs2_assert_i(sdp); \
42 int gfs2_assert_withdraw_i(struct gfs2_sbd *sdp, char *assertion,
45 #define gfs2_assert_withdraw(sdp, assertion) \ argument
46 ((likely(assertion)) ? 0 : gfs2_assert_withdraw_i((sdp), #assertion, \
50 int gfs2_assert_warn_i(struct gfs2_sbd *sdp, char *assertion,
53 #define gfs2_assert_warn(sdp, assertion) \ argument
54 ((likely(assertion)) ? 0 : gfs2_assert_warn_i((sdp), #assertion, \
58 int gfs2_consist_i(struct gfs2_sbd *sdp, int cluster_wide,
61 #define gfs2_consist(sdp) \ argument
62 gfs2_consist_i((sdp), 0, __func__, __FILE__, __LINE__)
79 int gfs2_meta_check_ii(struct gfs2_sbd *sdp, struct buffer_head *bh,
83 static inline int gfs2_meta_check(struct gfs2_sbd *sdp, in gfs2_meta_check() argument
96 int gfs2_metatype_check_ii(struct gfs2_sbd *sdp, struct buffer_head *bh,
101 static inline int gfs2_metatype_check_i(struct gfs2_sbd *sdp, in gfs2_metatype_check_i() argument
111 return gfs2_meta_check_ii(sdp, bh, "magic number", function, in gfs2_metatype_check_i()
114 return gfs2_metatype_check_ii(sdp, bh, type, t, function, in gfs2_metatype_check_i()
119 #define gfs2_metatype_check(sdp, bh, type) \ argument
120 gfs2_metatype_check_i((sdp), (bh), (type), __func__, __FILE__, __LINE__)
132 int gfs2_io_error_i(struct gfs2_sbd *sdp, const char *function,
135 #define gfs2_io_error(sdp) \ argument
136 gfs2_io_error_i((sdp), __func__, __FILE__, __LINE__);
139 int gfs2_io_error_bh_i(struct gfs2_sbd *sdp, struct buffer_head *bh,
142 #define gfs2_io_error_bh(sdp, bh) \ argument
143 gfs2_io_error_bh_i((sdp), (bh), __func__, __FILE__, __LINE__);
165 #define gfs2_tune_get(sdp, field) \ argument
166 gfs2_tune_get_i(&(sdp)->sd_tune, &(sdp)->sd_tune.field)
169 int gfs2_lm_withdraw(struct gfs2_sbd *sdp, const char *fmt, ...);