Searched refs:cond (Results 1 – 7 of 7) sorted by relevance
/fs/unicode/ |
D | utf8-selftest.c | 25 #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/btrfs/ |
D | zoned.c | 68 empty[0] = (zones[0].cond == BLK_ZONE_COND_EMPTY); in sb_write_pointer() 69 empty[1] = (zones[1].cond == BLK_ZONE_COND_EMPTY); in sb_write_pointer() 70 full[0] = (zones[0].cond == BLK_ZONE_COND_FULL); in sb_write_pointer() 71 full[1] = (zones[1].cond == BLK_ZONE_COND_FULL); in sb_write_pointer() 186 zones[i].cond = BLK_ZONE_COND_NOT_WP; in emulate_report_zones() 458 if (zones[i].cond == BLK_ZONE_COND_EMPTY) in btrfs_get_dev_zone_info() 747 if (reset && reset->cond != BLK_ZONE_COND_EMPTY) { in sb_log_location() 748 ASSERT(reset->cond == BLK_ZONE_COND_FULL); in sb_log_location() 756 reset->cond = BLK_ZONE_COND_EMPTY; in sb_log_location() 864 if (zone->cond != BLK_ZONE_COND_FULL) { in btrfs_advance_sb_log() [all …]
|
/fs/zonefs/ |
D | super.c | 286 switch (zone->cond) { in zonefs_check_zone_condition() 313 zone->cond = BLK_ZONE_COND_OFFLINE; in zonefs_check_zone_condition() 353 if (zone->cond != BLK_ZONE_COND_OFFLINE && in zonefs_io_error_cb() 354 zone->cond != BLK_ZONE_COND_READONLY && in zonefs_io_error_cb() 387 if (zone->cond == BLK_ZONE_COND_OFFLINE || in zonefs_io_error_cb() 391 if (zone->cond != BLK_ZONE_COND_OFFLINE) { in zonefs_io_error_cb() 392 zone->cond = BLK_ZONE_COND_OFFLINE; in zonefs_io_error_cb() 396 } else if (zone->cond == BLK_ZONE_COND_READONLY || in zonefs_io_error_cb() 400 if (zone->cond != BLK_ZONE_COND_READONLY) { in zonefs_io_error_cb() 401 zone->cond = BLK_ZONE_COND_READONLY; in zonefs_io_error_cb() [all …]
|
/fs/ocfs2/cluster/ |
D | masklog.h | 183 #define mlog_bug_on_msg(cond, fmt, args...) do { \ argument 184 if (cond) { \ 185 mlog(ML_ERROR, "bug expression: " #cond "\n"); \
|
/fs/jfs/ |
D | jfs_lock.h | 22 #define __SLEEP_COND(wq, cond, lock_cmd, unlock_cmd) \ argument 29 if (cond) \
|
D | jfs_logmgr.c | 116 #define LCACHE_SLEEP_COND(wq, cond, flags) \ argument 118 if (cond) \ 120 __SLEEP_COND(wq, cond, LCACHE_LOCK(flags), LCACHE_UNLOCK(flags)); \
|
/fs/reiserfs/ |
D | reiserfs.h | 907 #define __RASSERT(cond, scond, format, args...) \ argument 909 if (!(cond)) \ 910 reiserfs_panic(NULL, "assertion failure", "(" #cond ") at " \ 915 #define RASSERT(cond, format, args...) __RASSERT(cond, #cond, format, ##args) argument 918 #define RFALSE(cond, format, args...) __RASSERT(!(cond), "!(" #cond ")", format, ##args) argument 920 #define RFALSE( cond, format, args... ) do {;} while( 0 ) argument
|