Lines Matching refs:cond

17 #define VM_BUG_ON(cond) BUG_ON(cond)  argument
18 #define VM_BUG_ON_PAGE(cond, page) \ argument
20 if (unlikely(cond)) { \
21 dump_page(page, "VM_BUG_ON_PAGE(" __stringify(cond)")");\
25 #define VM_BUG_ON_FOLIO(cond, folio) \ argument
27 if (unlikely(cond)) { \
28 dump_page(&folio->page, "VM_BUG_ON_FOLIO(" __stringify(cond)")");\
32 #define VM_BUG_ON_VMA(cond, vma) \ argument
34 if (unlikely(cond)) { \
39 #define VM_BUG_ON_MM(cond, mm) \ argument
41 if (unlikely(cond)) { \
46 #define VM_WARN_ON_ONCE_PAGE(cond, page) ({ \ argument
48 int __ret_warn_once = !!(cond); \
51 dump_page(page, "VM_WARN_ON_ONCE_PAGE(" __stringify(cond)")");\
57 #define VM_WARN_ON_FOLIO(cond, folio) ({ \ argument
58 int __ret_warn = !!(cond); \
61 dump_page(&folio->page, "VM_WARN_ON_FOLIO(" __stringify(cond)")");\
66 #define VM_WARN_ON_ONCE_FOLIO(cond, folio) ({ \ argument
68 int __ret_warn_once = !!(cond); \
71 dump_page(&folio->page, "VM_WARN_ON_ONCE_FOLIO(" __stringify(cond)")");\
78 #define VM_WARN_ON(cond) (void)WARN_ON(cond) argument
79 #define VM_WARN_ON_ONCE(cond) (void)WARN_ON_ONCE(cond) argument
80 #define VM_WARN_ONCE(cond, format...) (void)WARN_ONCE(cond, format) argument
81 #define VM_WARN(cond, format...) (void)WARN(cond, format) argument
83 #define VM_BUG_ON(cond) BUILD_BUG_ON_INVALID(cond) argument
84 #define VM_BUG_ON_PAGE(cond, page) VM_BUG_ON(cond) argument
85 #define VM_BUG_ON_FOLIO(cond, folio) VM_BUG_ON(cond) argument
86 #define VM_BUG_ON_VMA(cond, vma) VM_BUG_ON(cond) argument
87 #define VM_BUG_ON_MM(cond, mm) VM_BUG_ON(cond) argument
88 #define VM_WARN_ON(cond) BUILD_BUG_ON_INVALID(cond) argument
89 #define VM_WARN_ON_ONCE(cond) BUILD_BUG_ON_INVALID(cond) argument
90 #define VM_WARN_ON_ONCE_PAGE(cond, page) BUILD_BUG_ON_INVALID(cond) argument
91 #define VM_WARN_ON_FOLIO(cond, folio) BUILD_BUG_ON_INVALID(cond) argument
92 #define VM_WARN_ON_ONCE_FOLIO(cond, folio) BUILD_BUG_ON_INVALID(cond) argument
93 #define VM_WARN_ONCE(cond, format...) BUILD_BUG_ON_INVALID(cond) argument
94 #define VM_WARN(cond, format...) BUILD_BUG_ON_INVALID(cond) argument
104 #define VIRTUAL_BUG_ON(cond) BUG_ON(cond) argument
106 #define VIRTUAL_BUG_ON(cond) do { } while (0) argument
110 #define VM_BUG_ON_PGFLAGS(cond, page) VM_BUG_ON_PAGE(cond, page) argument
112 #define VM_BUG_ON_PGFLAGS(cond, page) BUILD_BUG_ON_INVALID(cond) argument