Lines Matching refs:cond
18 #define VM_BUG_ON(cond) BUG_ON(cond) argument
19 #define VM_BUG_ON_PAGE(cond, page) \ argument
21 if (unlikely(cond)) { \
22 dump_page(page, "VM_BUG_ON_PAGE(" __stringify(cond)")");\
26 #define VM_BUG_ON_VMA(cond, vma) \ argument
28 if (unlikely(cond)) { \
33 #define VM_BUG_ON_MM(cond, mm) \ argument
35 if (unlikely(cond)) { \
40 #define VM_WARN_ON_ONCE_PAGE(cond, page) ({ \ argument
42 int __ret_warn_once = !!(cond); \
45 dump_page(page, "VM_WARN_ON_ONCE_PAGE(" __stringify(cond)")");\
52 #define VM_WARN_ON(cond) (void)WARN_ON(cond) argument
53 #define VM_WARN_ON_ONCE(cond) (void)WARN_ON_ONCE(cond) argument
54 #define VM_WARN_ONCE(cond, format...) (void)WARN_ONCE(cond, format) argument
55 #define VM_WARN(cond, format...) (void)WARN(cond, format) argument
57 #define VM_BUG_ON(cond) BUILD_BUG_ON_INVALID(cond) argument
58 #define VM_BUG_ON_PAGE(cond, page) VM_BUG_ON(cond) argument
59 #define VM_BUG_ON_VMA(cond, vma) VM_BUG_ON(cond) argument
60 #define VM_BUG_ON_MM(cond, mm) VM_BUG_ON(cond) argument
61 #define VM_WARN_ON(cond) BUILD_BUG_ON_INVALID(cond) argument
62 #define VM_WARN_ON_ONCE(cond) BUILD_BUG_ON_INVALID(cond) argument
63 #define VM_WARN_ON_ONCE_PAGE(cond, page) BUILD_BUG_ON_INVALID(cond) argument
64 #define VM_WARN_ONCE(cond, format...) BUILD_BUG_ON_INVALID(cond) argument
65 #define VM_WARN(cond, format...) BUILD_BUG_ON_INVALID(cond) argument
69 #define VIRTUAL_BUG_ON(cond) BUG_ON(cond) argument
71 #define VIRTUAL_BUG_ON(cond) do { } while (0) argument
75 #define VM_BUG_ON_PGFLAGS(cond, page) VM_BUG_ON_PAGE(cond, page) argument
77 #define VM_BUG_ON_PGFLAGS(cond, page) BUILD_BUG_ON_INVALID(cond) argument