Lines Matching refs:cond

21 #define VM_BUG_ON(cond) BUG_ON(cond)  argument
22 #define VM_BUG_ON_PAGE(cond, page) \ argument
24 if (unlikely(cond)) { \
25 dump_page(page, "VM_BUG_ON_PAGE(" __stringify(cond)")");\
29 #define VM_BUG_ON_FOLIO(cond, folio) \ argument
31 if (unlikely(cond)) { \
32 dump_page(&folio->page, "VM_BUG_ON_FOLIO(" __stringify(cond)")");\
36 #define VM_BUG_ON_VMA(cond, vma) \ argument
38 if (unlikely(cond)) { \
43 #define VM_BUG_ON_MM(cond, mm) \ argument
45 if (unlikely(cond)) { \
50 #define VM_WARN_ON_ONCE_PAGE(cond, page) ({ \ argument
52 int __ret_warn_once = !!(cond); \
55 dump_page(page, "VM_WARN_ON_ONCE_PAGE(" __stringify(cond)")");\
61 #define VM_WARN_ON_FOLIO(cond, folio) ({ \ argument
62 int __ret_warn = !!(cond); \
65 dump_page(&folio->page, "VM_WARN_ON_FOLIO(" __stringify(cond)")");\
70 #define VM_WARN_ON_ONCE_FOLIO(cond, folio) ({ \ argument
72 int __ret_warn_once = !!(cond); \
75 dump_page(&folio->page, "VM_WARN_ON_ONCE_FOLIO(" __stringify(cond)")");\
81 #define VM_WARN_ON_ONCE_MM(cond, mm) ({ \ argument
83 int __ret_warn_once = !!(cond); \
92 #define VM_WARN_ON_VMG(cond, vmg) ({ \ argument
93 int __ret_warn = !!(cond); \
96 dump_vmg(vmg, "VM_WARN_ON_VMG(" __stringify(cond)")"); \
102 #define VM_WARN_ON(cond) (void)WARN_ON(cond) argument
103 #define VM_WARN_ON_ONCE(cond) (void)WARN_ON_ONCE(cond) argument
104 #define VM_WARN_ONCE(cond, format...) (void)WARN_ONCE(cond, format) argument
105 #define VM_WARN(cond, format...) (void)WARN(cond, format) argument
107 #define VM_BUG_ON(cond) BUILD_BUG_ON_INVALID(cond) argument
108 #define VM_BUG_ON_PAGE(cond, page) VM_BUG_ON(cond) argument
109 #define VM_BUG_ON_FOLIO(cond, folio) VM_BUG_ON(cond) argument
110 #define VM_BUG_ON_VMA(cond, vma) VM_BUG_ON(cond) argument
111 #define VM_BUG_ON_MM(cond, mm) VM_BUG_ON(cond) argument
112 #define VM_WARN_ON(cond) BUILD_BUG_ON_INVALID(cond) argument
113 #define VM_WARN_ON_ONCE(cond) BUILD_BUG_ON_INVALID(cond) argument
114 #define VM_WARN_ON_ONCE_PAGE(cond, page) BUILD_BUG_ON_INVALID(cond) argument
115 #define VM_WARN_ON_FOLIO(cond, folio) BUILD_BUG_ON_INVALID(cond) argument
116 #define VM_WARN_ON_ONCE_FOLIO(cond, folio) BUILD_BUG_ON_INVALID(cond) argument
117 #define VM_WARN_ON_ONCE_MM(cond, mm) BUILD_BUG_ON_INVALID(cond) argument
118 #define VM_WARN_ON_VMG(cond, vmg) BUILD_BUG_ON_INVALID(cond) argument
119 #define VM_WARN_ONCE(cond, format...) BUILD_BUG_ON_INVALID(cond) argument
120 #define VM_WARN(cond, format...) BUILD_BUG_ON_INVALID(cond) argument
130 #define VIRTUAL_BUG_ON(cond) BUG_ON(cond) argument
132 #define VIRTUAL_BUG_ON(cond) do { } while (0) argument
136 #define VM_BUG_ON_PGFLAGS(cond, page) VM_BUG_ON_PAGE(cond, page) argument
138 #define VM_BUG_ON_PGFLAGS(cond, page) BUILD_BUG_ON_INVALID(cond) argument