Searched refs:unsafe_addr (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/mm/ ! |
D | maccess.c | 80 long strncpy_from_kernel_nofault(char *dst, const void *unsafe_addr, long count) in strncpy_from_kernel_nofault() argument 82 const void *src = unsafe_addr; in strncpy_from_kernel_nofault() 86 if (!copy_from_kernel_nofault_allowed(unsafe_addr, count)) in strncpy_from_kernel_nofault() 94 } while (dst[-1] && src - unsafe_addr < count); in strncpy_from_kernel_nofault() 98 return src - unsafe_addr; in strncpy_from_kernel_nofault() 177 long strncpy_from_user_nofault(char *dst, const void __user *unsafe_addr, in strncpy_from_user_nofault() argument 186 ret = strncpy_from_user(dst, unsafe_addr, count); in strncpy_from_user_nofault() 215 long strnlen_user_nofault(const void __user *unsafe_addr, long count) in strnlen_user_nofault() argument 220 ret = strnlen_user(unsafe_addr, count); in strnlen_user_nofault()
|
/linux-6.6.21/include/linux/ ! |
D | uaccess.h | 381 long strncpy_from_kernel_nofault(char *dst, const void *unsafe_addr, 384 long strncpy_from_user_nofault(char *dst, const void __user *unsafe_addr, 386 long strnlen_user_nofault(const void __user *unsafe_addr, long count);
|