Home
last modified time | relevance | path

Searched refs:cond (Results 1 – 6 of 6) sorted by relevance

/fs/unicode/
Dutf8-selftest.c25 #define _test(cond, func, line, fmt, ...) do { \ argument
27 if (!cond) { \
30 func, line, #cond, (fmt?":":".")); \
35 #define test_f(cond, fmt, ...) _test(cond, __func__, __LINE__, fmt, ##__VA_ARGS__) argument
36 #define test(cond) _test(cond, __func__, __LINE__, "") argument
/fs/zonefs/
Dsuper.c278 switch (zone->cond) { in zonefs_check_zone_condition()
305 zone->cond = BLK_ZONE_COND_OFFLINE; in zonefs_check_zone_condition()
347 if (zone->cond != BLK_ZONE_COND_OFFLINE && in zonefs_handle_io_error()
348 zone->cond != BLK_ZONE_COND_READONLY && in zonefs_handle_io_error()
382 if (zone->cond == BLK_ZONE_COND_OFFLINE || in zonefs_handle_io_error()
386 if (zone->cond != BLK_ZONE_COND_OFFLINE) { in zonefs_handle_io_error()
387 zone->cond = BLK_ZONE_COND_OFFLINE; in zonefs_handle_io_error()
391 } else if (zone->cond == BLK_ZONE_COND_READONLY || in zonefs_handle_io_error()
395 if (zone->cond != BLK_ZONE_COND_READONLY) { in zonefs_handle_io_error()
396 zone->cond = BLK_ZONE_COND_READONLY; in zonefs_handle_io_error()
[all …]
/fs/ocfs2/cluster/
Dmasklog.h185 #define mlog_bug_on_msg(cond, fmt, args...) do { \ argument
186 if (cond) { \
187 mlog(ML_ERROR, "bug expression: " #cond "\n"); \
/fs/jfs/
Djfs_lock.h22 #define __SLEEP_COND(wq, cond, lock_cmd, unlock_cmd) \ argument
29 if (cond) \
Djfs_logmgr.c116 #define LCACHE_SLEEP_COND(wq, cond, flags) \ argument
118 if (cond) \
120 __SLEEP_COND(wq, cond, LCACHE_LOCK(flags), LCACHE_UNLOCK(flags)); \
/fs/reiserfs/
Dreiserfs.h909 #define __RASSERT(cond, scond, format, args...) \ argument
911 if (!(cond)) \
912 reiserfs_panic(NULL, "assertion failure", "(" #cond ") at " \
917 #define RASSERT(cond, format, args...) __RASSERT(cond, #cond, format, ##args) argument
920 #define RFALSE(cond, format, args...) __RASSERT(!(cond), "!(" #cond ")", format, ##args) argument
922 #define RFALSE( cond, format, args... ) do {;} while( 0 ) argument