Home
last modified time | relevance | path

Searched refs:should_fail_usercopy (Results 1 – 6 of 6) sorted by relevance

/linux/include/linux/
A Duaccess.h110 if (should_fail_usercopy()) in __copy_from_user()
133 if (should_fail_usercopy()) in __copy_to_user_inatomic()
144 if (should_fail_usercopy()) in __copy_to_user()
157 if (!should_fail_usercopy() && likely(access_ok(from, n))) { in _copy_from_user()
175 if (should_fail_usercopy()) in _copy_to_user()
A Dfault-inject-usercopy.h14 bool should_fail_usercopy(void);
18 static inline bool should_fail_usercopy(void) { return false; } in should_fail_usercopy() function
/linux/lib/
A Dfault-inject-usercopy.c35 bool should_fail_usercopy(void) in should_fail_usercopy() function
39 EXPORT_SYMBOL_GPL(should_fail_usercopy);
A Dusercopy.c14 if (!should_fail_usercopy() && likely(access_ok(from, n))) { in _copy_from_user()
29 if (should_fail_usercopy()) in _copy_to_user()
A Dstrncpy_from_user.c118 if (should_fail_usercopy()) in strncpy_from_user()
A Diov_iter.c153 if (should_fail_usercopy()) in copyout()
164 if (should_fail_usercopy()) in copyin()

Completed in 19 milliseconds