Lines Matching refs:from
10 * Use the current saved situation instead of the to/from/size params.
74 static inline void allow_user_access(void __user *to, const void __user *from,
76 static inline void prevent_user_access(void __user *to, const void __user *from,
83 static inline void allow_read_from_user(const void __user *from, unsigned long size)
85 allow_user_access(NULL, from, size, KUAP_READ);
93 static inline void allow_read_write_user(void __user *to, const void __user *from,
96 allow_user_access(to, from, size, KUAP_READ_WRITE);
99 static inline void prevent_read_from_user(const void __user *from, unsigned long size)
101 prevent_user_access(NULL, from, size, KUAP_READ);
109 static inline void prevent_read_write_user(void __user *to, const void __user *from,
112 prevent_user_access(to, from, size, KUAP_READ_WRITE);