Lines Matching refs:flags
103 #define lock_mm_switch(flags) flags = hard_local_irq_save_cond() argument
104 #define unlock_mm_switch(flags) hard_local_irq_restore_cond(flags) argument
106 #define lock_mm_switch(flags) do { (void)(flags); } while (0) argument
107 #define unlock_mm_switch(flags) do { (void)(flags); } while (0) argument
114 unsigned long flags; in switch_mm() local
115 lock_mm_switch(flags); in switch_mm()
117 unlock_mm_switch(flags); in switch_mm()
121 unsigned long flags) in protect_page() argument
135 if (flags & VM_READ) in protect_page()
140 if (flags & VM_WRITE) in protect_page()
145 if (flags & VM_EXEC) in protect_page()
210 #define ipipe_mm_switch_protect(flags) \ argument
211 flags = hard_local_irq_save_cond()
213 #define ipipe_mm_switch_unprotect(flags) \ argument
214 hard_local_irq_restore_cond(flags)