| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_tile_printk.h | 37 #define xe_tile_WARN_type(_tile, _type, _condition, _fmt, ...) \ argument 38 xe_WARN##_type((_tile)->xe, _condition, _fmt, ## __VA_ARGS__) 40 #define xe_tile_WARN(_tile, _condition, _fmt, ...) \ argument 41 xe_tile_WARN_type((_tile),, _condition, __XE_TILE_PRINTK_FMT((_tile), _fmt, ##__VA_ARGS__)) 43 #define xe_tile_WARN_ONCE(_tile, _condition, _fmt, ...) \ argument 44 xe_tile_WARN_type((_tile), _ONCE, _condition, __XE_TILE_PRINTK_FMT((_tile), _fmt, ##__VA_ARGS__)) 46 #define xe_tile_WARN_ON(_tile, _condition) \ argument 47 xe_tile_WARN((_tile), _condition, "%s(%s)", "WARN_ON", __stringify(_condition)) 49 #define xe_tile_WARN_ON_ONCE(_tile, _condition) \ argument 50 xe_tile_WARN_ONCE((_tile), _condition, "%s(%s)", "WARN_ON_ONCE", __stringify(_condition))
|
| H A D | xe_gt_printk.h | 38 #define xe_gt_WARN_type(_gt, _type, _condition, _fmt, ...) \ argument 39 xe_tile_WARN##_type((_gt)->tile, _condition, _fmt, ## __VA_ARGS__) 41 #define xe_gt_WARN(_gt, _condition, _fmt, ...) \ argument 42 xe_gt_WARN_type((_gt),, _condition, __XE_GT_PRINTK_FMT((_gt), _fmt, ##__VA_ARGS__)) 44 #define xe_gt_WARN_ONCE(_gt, _condition, _fmt, ...) \ argument 45 xe_gt_WARN_type((_gt), _ONCE, _condition, __XE_GT_PRINTK_FMT((_gt), _fmt, ##__VA_ARGS__)) 47 #define xe_gt_WARN_ON(_gt, _condition) \ argument 48 xe_gt_WARN((_gt), _condition, "%s(%s)", "WARN_ON", __stringify(_condition)) 50 #define xe_gt_WARN_ON_ONCE(_gt, _condition) \ argument 51 xe_gt_WARN_ONCE((_gt), _condition, "%s(%s)", "WARN_ON_ONCE", __stringify(_condition))
|
| H A D | xe_printk.h | 39 #define xe_WARN_type(_xe, _type, _condition, _fmt, ...) \ argument 40 drm_WARN##_type(&(_xe)->drm, _condition, _fmt, ## __VA_ARGS__) 42 #define xe_WARN(_xe, _condition, _fmt, ...) \ argument 43 xe_WARN_type((_xe),, _condition, __XE_PRINTK_FMT((_xe), _fmt, ## __VA_ARGS__)) 45 #define xe_WARN_ONCE(_xe, _condition, _fmt, ...) \ argument 46 xe_WARN_type((_xe), _ONCE, _condition, __XE_PRINTK_FMT((_xe), _fmt, ## __VA_ARGS__)) 48 #define xe_WARN_ON(_xe, _condition) \ argument 49 xe_WARN((_xe), _condition, "%s(%s)", "WARN_ON", __stringify(_condition)) 51 #define xe_WARN_ON_ONCE(_xe, _condition) \ argument 52 xe_WARN_ONCE((_xe), _condition, "%s(%s)", "WARN_ON_ONCE", __stringify(_condition))
|
| /linux/tools/testing/selftests/kvm/include/ |
| H A D | ucall_common.h | 79 #define ____GUEST_ASSERT(_condition, _exp, _fmt, _args...) \ argument 81 if (!(_condition)) \ 85 #define __GUEST_ASSERT(_condition, _fmt, _args...) \ argument 86 ____GUEST_ASSERT(_condition, #_condition, _fmt, ##_args) 88 #define GUEST_ASSERT(_condition) \ argument 89 __GUEST_ASSERT(_condition, #_condition)
|