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

/linux-master/include/linux/
H A Dfault-inject-usercopy.h14 bool should_fail_usercopy(void);
18 static inline bool should_fail_usercopy(void) { return false; } function
H A Duaccess.h99 if (should_fail_usercopy())
123 if (should_fail_usercopy())
134 if (should_fail_usercopy())
147 if (!should_fail_usercopy() && likely(access_ok(from, n))) {
166 if (should_fail_usercopy())
/linux-master/lib/
H A Dfault-inject-usercopy.c35 bool should_fail_usercopy(void) function
39 EXPORT_SYMBOL_GPL(should_fail_usercopy); variable
H A Dusercopy.c15 if (!should_fail_usercopy() && likely(access_ok(from, n))) {
37 if (should_fail_usercopy())
H A Dstrncpy_from_user.c118 if (should_fail_usercopy())
H A Diov_iter.c20 if (should_fail_usercopy())
36 if (should_fail_usercopy())
50 if (should_fail_usercopy())
/linux-master/arch/s390/lib/
H A Duaccess.c85 if (!should_fail_usercopy()) {
145 if (should_fail_usercopy())

Completed in 151 milliseconds