Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H 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
H A Duaccess.h99 if (should_fail_usercopy()) in __copy_from_user()
123 if (should_fail_usercopy()) in __copy_to_user_inatomic()
134 if (should_fail_usercopy()) in __copy_to_user()
147 if (!should_fail_usercopy() && likely(access_ok(from, n))) { in _copy_from_user()
166 if (should_fail_usercopy()) in _copy_to_user()
/openbmc/linux/lib/
H A Dfault-inject-usercopy.c35 bool should_fail_usercopy(void) in should_fail_usercopy() function
39 EXPORT_SYMBOL_GPL(should_fail_usercopy);
H A Dusercopy.c15 if (!should_fail_usercopy() && likely(access_ok(from, n))) { in _copy_from_user()
37 if (should_fail_usercopy()) in _copy_to_user()
H A Dstrncpy_from_user.c118 if (should_fail_usercopy()) in strncpy_from_user()
H A Diov_iter.c164 if (should_fail_usercopy()) in copyout()
177 if (should_fail_usercopy()) in copyout_nofault()
189 if (should_fail_usercopy()) in copyin()
/openbmc/linux/arch/s390/lib/
H A Duaccess.c84 if (!should_fail_usercopy()) { in _copy_from_user_key()
144 if (should_fail_usercopy()) in _copy_to_user_key()