• Home
  • Raw
  • Download

Lines Matching full:sdp

28 void gfs2_assert_i(struct gfs2_sbd *sdp);
30 #define gfs2_assert(sdp, assertion) \ argument
33 gfs2_assert_i(sdp); \
39 void gfs2_assert_withdraw_i(struct gfs2_sbd *sdp, char *assertion,
43 #define gfs2_assert_withdraw(sdp, assertion) \ argument
47 gfs2_assert_withdraw_i((sdp), #assertion, \
52 #define gfs2_assert_withdraw_delayed(sdp, assertion) \ argument
56 gfs2_assert_withdraw_i((sdp), #assertion, \
61 void gfs2_assert_warn_i(struct gfs2_sbd *sdp, char *assertion,
64 #define gfs2_assert_warn(sdp, assertion) \ argument
68 gfs2_assert_warn_i((sdp), #assertion, \
73 void gfs2_consist_i(struct gfs2_sbd *sdp,
76 #define gfs2_consist(sdp) \ argument
77 gfs2_consist_i((sdp), __func__, __FILE__, __LINE__)
94 int gfs2_meta_check_ii(struct gfs2_sbd *sdp, struct buffer_head *bh,
98 static inline int gfs2_meta_check(struct gfs2_sbd *sdp, in gfs2_meta_check() argument
104 fs_err(sdp, "Magic number missing at %llu\n", in gfs2_meta_check()
111 int gfs2_metatype_check_ii(struct gfs2_sbd *sdp, struct buffer_head *bh,
116 static inline int gfs2_metatype_check_i(struct gfs2_sbd *sdp, in gfs2_metatype_check_i() argument
126 return gfs2_meta_check_ii(sdp, bh, "magic number", function, in gfs2_metatype_check_i()
129 return gfs2_metatype_check_ii(sdp, bh, type, t, function, in gfs2_metatype_check_i()
134 #define gfs2_metatype_check(sdp, bh, type) \ argument
135 gfs2_metatype_check_i((sdp), (bh), (type), __func__, __FILE__, __LINE__)
147 int gfs2_io_error_i(struct gfs2_sbd *sdp, const char *function,
150 extern int check_journal_clean(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd,
152 extern int gfs2_freeze_lock_shared(struct gfs2_sbd *sdp);
155 #define gfs2_io_error(sdp) \ argument
156 gfs2_io_error_i((sdp), __func__, __FILE__, __LINE__)
159 void gfs2_io_error_bh_i(struct gfs2_sbd *sdp, struct buffer_head *bh,
163 #define gfs2_io_error_bh_wd(sdp, bh) \ argument
164 gfs2_io_error_bh_i((sdp), (bh), __func__, __FILE__, __LINE__, true)
166 #define gfs2_io_error_bh(sdp, bh) \ argument
167 gfs2_io_error_bh_i((sdp), (bh), __func__, __FILE__, __LINE__, false)
193 * @sdp: the superblock
195 static inline void gfs2_withdraw_delayed(struct gfs2_sbd *sdp) in gfs2_withdraw_delayed() argument
197 set_bit(SDF_WITHDRAWING, &sdp->sd_flags); in gfs2_withdraw_delayed()
202 * @sdp: the superblock
204 static inline bool gfs2_withdrawn(struct gfs2_sbd *sdp) in gfs2_withdrawn() argument
206 return test_bit(SDF_WITHDRAWN, &sdp->sd_flags) || in gfs2_withdrawn()
207 test_bit(SDF_WITHDRAWING, &sdp->sd_flags); in gfs2_withdrawn()
212 * @sdp: the superblock
214 static inline bool gfs2_withdrawing(struct gfs2_sbd *sdp) in gfs2_withdrawing() argument
216 return test_bit(SDF_WITHDRAWING, &sdp->sd_flags) && in gfs2_withdrawing()
217 !test_bit(SDF_WITHDRAWN, &sdp->sd_flags); in gfs2_withdrawing()
220 static inline bool gfs2_withdraw_in_prog(struct gfs2_sbd *sdp) in gfs2_withdraw_in_prog() argument
222 return test_bit(SDF_WITHDRAW_IN_PROG, &sdp->sd_flags); in gfs2_withdraw_in_prog()
225 #define gfs2_tune_get(sdp, field) \ argument
226 gfs2_tune_get_i(&(sdp)->sd_tune, &(sdp)->sd_tune.field)
229 void gfs2_lm(struct gfs2_sbd *sdp, const char *fmt, ...);
230 int gfs2_withdraw(struct gfs2_sbd *sdp);