Home
last modified time | relevance | path

Searched refs:_condition (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/i915/gt/
Dintel_gt_print.h42 #define gt_WARN(_gt, _condition, _fmt, ...) \ argument
43 drm_WARN(&(_gt)->i915->drm, _condition, "GT%u: " _fmt, (_gt)->info.id, ##__VA_ARGS__)
45 #define gt_WARN_ONCE(_gt, _condition, _fmt, ...) \ argument
46 drm_WARN_ONCE(&(_gt)->i915->drm, _condition, "GT%u: " _fmt, (_gt)->info.id, ##__VA_ARGS__)
48 #define gt_WARN_ON(_gt, _condition) \ argument
49 gt_WARN(_gt, _condition, "%s", "gt_WARN_ON(" __stringify(_condition) ")")
51 #define gt_WARN_ON_ONCE(_gt, _condition) \ argument
52 gt_WARN_ONCE(_gt, _condition, "%s", "gt_WARN_ONCE(" __stringify(_condition) ")")
/linux-6.6.21/tools/testing/selftests/kvm/include/
Ducall_common.h67 #define ____GUEST_ASSERT(_condition, _exp, _fmt, _args...) \ argument
69 if (!(_condition)) \
73 #define __GUEST_ASSERT(_condition, _fmt, _args...) \ argument
74 ____GUEST_ASSERT(_condition, #_condition, _fmt, ##_args)
76 #define GUEST_ASSERT(_condition) \ argument
77 __GUEST_ASSERT(_condition, #_condition)