Home
last modified time | relevance | path

Searched refs:expr (Results 1 – 7 of 7) sorted by relevance

/fs/xfs/
Dxfs_linux.h199 #define ASSERT_ALWAYS(expr) \ argument
200 (likely(expr) ? (void)0 : assfail(#expr, __FILE__, __LINE__))
203 #define ASSERT(expr) \ argument
204 (likely(expr) ? (void)0 : assfail(#expr, __FILE__, __LINE__))
210 #define ASSERT(expr) \ argument
211 (likely(expr) ? (void)0 : asswarn(#expr, __FILE__, __LINE__))
215 #define ASSERT(expr) ((void)0) argument
220 #define XFS_IS_CORRUPT(mp, expr) \ argument
221 (unlikely(expr) ? xfs_corruption_error(#expr, XFS_ERRLEVEL_LOW, (mp), \
Dxfs_error.h72 #define XFS_TEST_ERROR(expr, mp, tag) \ argument
73 ((expr) || xfs_errortag_test((mp), #expr, __FILE__, __LINE__, (tag)))
83 #define XFS_TEST_ERROR(expr, mp, tag) (expr) argument
Dxfs_message.c89 asswarn(char *expr, char *file, int line) in asswarn() argument
92 expr, file, line); in asswarn()
97 assfail(char *expr, char *file, int line) in assfail() argument
100 expr, file, line); in assfail()
Dxfs_message.h60 extern void assfail(char *expr, char *f, int l);
61 extern void asswarn(char *expr, char *f, int l);
/fs/ubifs/
Ddebug.h139 void ubifs_assert_failed(struct ubifs_info *c, const char *expr,
142 #define ubifs_assert(c, expr) do { \ argument
143 if (unlikely(!(expr))) { \
144 ubifs_assert_failed((struct ubifs_info *)c, #expr, __FILE__, \
Ddebug.c2992 void ubifs_assert_failed(struct ubifs_info *c, const char *expr, in ubifs_assert_failed() argument
2995 ubifs_err(c, "UBIFS assert failed: %s, in %s:%u", expr, file, line); in ubifs_assert_failed()
/fs/btrfs/
Dctree.h3123 static inline void assertfail(const char *expr, const char *file, int line) in assertfail() argument
3125 pr_err("assertion failed: %s, in %s:%d\n", expr, file, line); in assertfail()
3129 #define ASSERT(expr) \ argument
3130 (likely(expr) ? (void)0 : assertfail(#expr, __FILE__, __LINE__))
3133 static inline void assertfail(const char *expr, const char* file, int line) { } in assertfail() argument
3134 #define ASSERT(expr) (void)(expr) argument