Lines Matching refs:__always_inline
12 static __always_inline bool kuap_is_disabled(void);
51 static __always_inline bool kuap_is_disabled(void) in kuap_is_disabled()
58 static __always_inline bool kuap_is_disabled(void) { return true; } in kuap_is_disabled()
60 static __always_inline bool
66 static __always_inline void kuap_user_restore(struct pt_regs *regs) { } in kuap_user_restore()
67 static __always_inline void __kuap_kernel_restore(struct pt_regs *regs, unsigned long amr) { } in __kuap_kernel_restore()
75 static __always_inline void allow_user_access(void __user *to, const void __user *from, in allow_user_access()
77 static __always_inline void prevent_user_access(unsigned long dir) { } in prevent_user_access()
78 static __always_inline unsigned long prevent_user_access_return(void) { return 0UL; } in prevent_user_access_return()
79 static __always_inline void restore_user_access(unsigned long flags) { } in restore_user_access()
83 static __always_inline bool
92 static __always_inline void kuap_lock(void) in kuap_lock()
102 static __always_inline void kuap_save_and_lock(struct pt_regs *regs) in kuap_save_and_lock()
112 static __always_inline void kuap_kernel_restore(struct pt_regs *regs, unsigned long amr) in kuap_kernel_restore()
120 static __always_inline unsigned long kuap_get_and_assert_locked(void) in kuap_get_and_assert_locked()
129 static __always_inline void kuap_assert_locked(void) in kuap_assert_locked()
135 static __always_inline void allow_read_from_user(const void __user *from, unsigned long size) in allow_read_from_user()
141 static __always_inline void allow_write_to_user(void __user *to, unsigned long size) in allow_write_to_user()
146 static __always_inline void allow_read_write_user(void __user *to, const void __user *from, in allow_read_write_user()
153 static __always_inline void prevent_read_from_user(const void __user *from, unsigned long size) in prevent_read_from_user()
158 static __always_inline void prevent_write_to_user(void __user *to, unsigned long size) in prevent_write_to_user()
163 static __always_inline void prevent_read_write_user(void __user *to, const void __user *from, in prevent_read_write_user()
169 static __always_inline void prevent_current_access_user(void) in prevent_current_access_user()
174 static __always_inline void prevent_current_read_from_user(void) in prevent_current_read_from_user()
179 static __always_inline void prevent_current_write_to_user(void) in prevent_current_write_to_user()