| /fs/bcachefs/ |
| A D | error.h | 44 #define bch2_fs_inconsistent_on(cond, ...) \ argument 46 bool _ret = unlikely(!!(cond)); \ 55 #define bch2_trans_inconsistent_on(cond, ...) \ argument 57 bool _ret = unlikely(!!(cond)); \ 142 #define fsck_err_on(cond, c, _err_type, ...) \ argument 148 #define log_fsck_err_on(cond, ...) \ argument 150 bool _ret = unlikely(!!(cond)); \ 180 #define bkey_fsck_err_on(cond, ...) \ argument 182 if (unlikely(cond)) \ 199 #define bch2_fs_fatal_err_on(cond, c, ...) \ argument [all …]
|
| A D | util.h | 32 #define EBUG_ON(cond) BUG_ON(cond) argument 34 #define EBUG_ON(cond) argument 367 #define kthread_wait(cond) \ argument 378 if (cond) \ 387 #define kthread_wait_freezable(cond) \ argument 397 if (cond) \
|
| A D | eytzinger.h | 10 #define EYTZINGER_BUG_ON(cond) BUG_ON(cond) argument 12 #define EYTZINGER_BUG_ON(cond) argument
|
| A D | darray.h | 91 #define darray_find_p(_d, _i, cond) \ argument 96 if (cond) { \
|
| A D | six.c | 19 #define EBUG_ON(cond) BUG_ON(cond) argument 21 #define EBUG_ON(cond) do {} while (0) argument
|
| A D | journal_io.c | 338 #define journal_entry_err_on(cond, ...) \ argument 339 ((cond) ? journal_entry_err(__VA_ARGS__) : false)
|
| A D | alloc_background.c | 722 #define need_discard_or_freespace_err_on(cond, ...) \ argument 723 (unlikely(cond) ? need_discard_or_freespace_err(__VA_ARGS__) : false)
|
| A D | btree_io.c | 671 #define btree_err_on(cond, ...) ((cond) ? btree_err(__VA_ARGS__) : false) argument
|
| /fs/btrfs/ |
| A D | messages.h | 140 #define ASSERT(cond, args...) \ argument 143 if (!likely(cond)) { \ 146 #cond, (long)(cond), __FILE__, __LINE__); \ 149 #cond, (long)(cond), __FILE__, __LINE__ __REST_ARGS(args)); \ 159 #define ASSERT(cond, args...) \ argument 162 if (!likely(cond)) { \ 164 #cond, (long)(cond), __FILE__, __LINE__); \ 172 #define ASSERT(cond, args...) (void)(cond) argument
|
| A D | zoned.c | 75 return (zone->cond == BLK_ZONE_COND_FULL) || in sb_zone_is_full() 97 empty[i] = (zones[i].cond == BLK_ZONE_COND_EMPTY); in sb_write_pointer() 212 zones[i].cond = BLK_ZONE_COND_NOT_WP; in emulate_report_zones() 490 switch (zones[i].cond) { in btrfs_get_dev_zone_info() 826 if (reset && reset->cond != BLK_ZONE_COND_EMPTY) { in sb_log_location() 838 reset->cond = BLK_ZONE_COND_EMPTY; in sb_log_location() 960 if (zone->cond == BLK_ZONE_COND_FULL) { in btrfs_advance_sb_log() 965 if (zone->cond == BLK_ZONE_COND_EMPTY) in btrfs_advance_sb_log() 966 zone->cond = BLK_ZONE_COND_IMP_OPEN; in btrfs_advance_sb_log() 993 zone->cond = BLK_ZONE_COND_FULL; in btrfs_advance_sb_log() [all …]
|
| /fs/xfs/libxfs/ |
| A D | xfs_zones.c | 92 switch (zone->cond) { in xfs_zone_validate_seq() 105 rtg_rgno(rtg), zone->cond); in xfs_zone_validate_seq() 109 rtg_rgno(rtg), zone->cond); in xfs_zone_validate_seq() 121 switch (zone->cond) { in xfs_zone_validate_conv() 127 rtg_rgno(rtg), zone->cond); in xfs_zone_validate_conv()
|
| /fs/ocfs2/cluster/ |
| A 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/ |
| A D | jfs_lock.h | 22 #define __SLEEP_COND(wq, cond, lock_cmd, unlock_cmd) \ argument 29 if (cond) \
|
| A 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/netfs/ |
| A D | fscache_io.c | 214 bool using_pgpriv2, bool cond) in __fscache_write_to_cache() argument 233 wreq->set_bits = cond; in __fscache_write_to_cache() 261 fscache_clear_page_bits(mapping, start, len, cond); in __fscache_write_to_cache()
|
| /fs/zonefs/ |
| A D | super.c | 194 switch (zone->cond) { in zonefs_check_zone_condition() 386 zone.cond = BLK_ZONE_COND_NOT_WP; in __zonefs_io_error() 986 if (next->cond == BLK_ZONE_COND_READONLY && in zonefs_init_zgroup() 987 zone->cond != BLK_ZONE_COND_OFFLINE) in zonefs_init_zgroup() 988 zone->cond = BLK_ZONE_COND_READONLY; in zonefs_init_zgroup() 989 else if (next->cond == BLK_ZONE_COND_OFFLINE) in zonefs_init_zgroup() 990 zone->cond = BLK_ZONE_COND_OFFLINE; in zonefs_init_zgroup() 1034 (zone->cond == BLK_ZONE_COND_IMP_OPEN || in zonefs_init_zgroup() 1035 zone->cond == BLK_ZONE_COND_EXP_OPEN)) { in zonefs_init_zgroup()
|
| /fs/f2fs/ |
| A D | segment.c | 5291 blk_zone_cond_str(zone->cond)); in check_zone_write_pointer() 5295 if ((!valid_block_cnt && zone->cond == BLK_ZONE_COND_EMPTY) || in check_zone_write_pointer() 5296 (valid_block_cnt && zone->cond == BLK_ZONE_COND_FULL)) in check_zone_write_pointer() 5302 blk_zone_cond_str(zone->cond)); in check_zone_write_pointer() 5320 zone_segno, valid_block_cnt, blk_zone_cond_str(zone->cond)); in check_zone_write_pointer()
|
| /fs/xfs/ |
| A D | xfs_zone_alloc.c | 1049 if (!zone || zone->cond == BLK_ZONE_COND_NOT_WP) { in xfs_init_zone()
|