Lines Matching refs:cond
48 #define bch2_fs_inconsistent_on(cond, c, ...) \ argument
50 bool _ret = unlikely(!!(cond)); \
68 #define bch2_dev_inconsistent_on(cond, ca, ...) \ argument
70 bool _ret = unlikely(!!(cond)); \
88 #define bch2_trans_inconsistent_on(cond, trans, ...) \ argument
90 bool _ret = unlikely(!!(cond)); \
142 #define __fsck_err_on(cond, c, _flags, _err_type, ...) \ argument
149 (unlikely(cond) ? __fsck_err(c, _flags, _err_type, __VA_ARGS__) : false);\
152 #define need_fsck_err_on(cond, c, _err_type, ...) \ argument
153 __fsck_err_on(cond, c, FSCK_CAN_IGNORE|FSCK_NEED_FSCK, _err_type, __VA_ARGS__)
161 #define mustfix_fsck_err_on(cond, c, _err_type, ...) \ argument
162 __fsck_err_on(cond, c, FSCK_CAN_FIX, _err_type, __VA_ARGS__)
167 #define fsck_err_on(cond, c, _err_type, ...) \ argument
168 __fsck_err_on(cond, c, FSCK_CAN_FIX|FSCK_CAN_IGNORE, _err_type, __VA_ARGS__)
194 #define bkey_fsck_err_on(cond, ...) \ argument
196 if (unlikely(cond)) \
213 #define bch2_fs_fatal_err_on(cond, c, ...) \ argument
215 bool _ret = unlikely(!!(cond)); \
233 #define bch2_dev_io_err_on(cond, ca, _type, ...) \ argument
235 bool _ret = (cond); \
244 #define bch2_dev_inum_io_err_on(cond, ca, _type, ...) \ argument
246 bool _ret = (cond); \