Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_linux.h225 #define ASSERT_ALWAYS(expr) \ argument
226 (likely(expr) ? (void)0 : assfail(#expr, __FILE__, __LINE__))
229 #define ASSERT(expr) \ argument
230 (likely(expr) ? (void)0 : assfail(#expr, __FILE__, __LINE__))
236 #define ASSERT(expr) \ argument
237 (likely(expr) ? (void)0 : asswarn(#expr, __FILE__, __LINE__))
241 #define ASSERT(expr) ((void)0) argument
Dxfs_error.h71 #define XFS_TEST_ERROR(expr, mp, tag) \ argument
72 ((expr) || xfs_errortag_test((mp), #expr, __FILE__, __LINE__, (tag)))
82 #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.c2991 void ubifs_assert_failed(struct ubifs_info *c, const char *expr, in ubifs_assert_failed() argument
2994 ubifs_err(c, "UBIFS assert failed: %s, in %s:%u", expr, file, line); in ubifs_assert_failed()
/fs/btrfs/
Dctree.h3113 static inline void assfail(const char *expr, const char *file, int line) in assfail() argument
3116 pr_err("assertion failed: %s, in %s:%d\n", expr, file, line); in assfail()
3121 #define ASSERT(expr) \ argument
3122 (likely(expr) ? (void)0 : assfail(#expr, __FILE__, __LINE__))