Lines Matching refs:cond

19 #define VM_BUG_ON(cond) BUG_ON(cond)  argument
20 #define VM_BUG_ON_PAGE(cond, page) \ argument
22 if (unlikely(cond)) { \
23 dump_page(page, "VM_BUG_ON_PAGE(" __stringify(cond)")");\
27 #define VM_BUG_ON_FOLIO(cond, folio) \ argument
29 if (unlikely(cond)) { \
30 dump_page(&folio->page, "VM_BUG_ON_FOLIO(" __stringify(cond)")");\
34 #define VM_BUG_ON_VMA(cond, vma) \ argument
36 if (unlikely(cond)) { \
41 #define VM_BUG_ON_MM(cond, mm) \ argument
43 if (unlikely(cond)) { \
48 #define VM_WARN_ON_ONCE_PAGE(cond, page) ({ \ argument
50 int __ret_warn_once = !!(cond); \
53 dump_page(page, "VM_WARN_ON_ONCE_PAGE(" __stringify(cond)")");\
59 #define VM_WARN_ON_FOLIO(cond, folio) ({ \ argument
60 int __ret_warn = !!(cond); \
63 dump_page(&folio->page, "VM_WARN_ON_FOLIO(" __stringify(cond)")");\
68 #define VM_WARN_ON_ONCE_FOLIO(cond, folio) ({ \ argument
70 int __ret_warn_once = !!(cond); \
73 dump_page(&folio->page, "VM_WARN_ON_ONCE_FOLIO(" __stringify(cond)")");\
79 #define VM_WARN_ON_ONCE_MM(cond, mm) ({ \ argument
81 int __ret_warn_once = !!(cond); \
91 #define VM_WARN_ON(cond) (void)WARN_ON(cond) argument
92 #define VM_WARN_ON_ONCE(cond) (void)WARN_ON_ONCE(cond) argument
93 #define VM_WARN_ONCE(cond, format...) (void)WARN_ONCE(cond, format) argument
94 #define VM_WARN(cond, format...) (void)WARN(cond, format) argument
96 #define VM_BUG_ON(cond) BUILD_BUG_ON_INVALID(cond) argument
97 #define VM_BUG_ON_PAGE(cond, page) VM_BUG_ON(cond) argument
98 #define VM_BUG_ON_FOLIO(cond, folio) VM_BUG_ON(cond) argument
99 #define VM_BUG_ON_VMA(cond, vma) VM_BUG_ON(cond) argument
100 #define VM_BUG_ON_MM(cond, mm) VM_BUG_ON(cond) argument
101 #define VM_WARN_ON(cond) BUILD_BUG_ON_INVALID(cond) argument
102 #define VM_WARN_ON_ONCE(cond) BUILD_BUG_ON_INVALID(cond) argument
103 #define VM_WARN_ON_ONCE_PAGE(cond, page) BUILD_BUG_ON_INVALID(cond) argument
104 #define VM_WARN_ON_FOLIO(cond, folio) BUILD_BUG_ON_INVALID(cond) argument
105 #define VM_WARN_ON_ONCE_FOLIO(cond, folio) BUILD_BUG_ON_INVALID(cond) argument
106 #define VM_WARN_ON_ONCE_MM(cond, mm) BUILD_BUG_ON_INVALID(cond) argument
107 #define VM_WARN_ONCE(cond, format...) BUILD_BUG_ON_INVALID(cond) argument
108 #define VM_WARN(cond, format...) BUILD_BUG_ON_INVALID(cond) argument
118 #define VIRTUAL_BUG_ON(cond) BUG_ON(cond) argument
120 #define VIRTUAL_BUG_ON(cond) do { } while (0) argument
124 #define VM_BUG_ON_PGFLAGS(cond, page) VM_BUG_ON_PAGE(cond, page) argument
126 #define VM_BUG_ON_PGFLAGS(cond, page) BUILD_BUG_ON_INVALID(cond) argument