Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/mm/
Dmaccess.c7 bool copy_from_kernel_nofault_allowed(const void *unsafe_src, size_t size) in copy_from_kernel_nofault_allowed() argument
9 unsigned long vaddr = (unsigned long)unsafe_src; in copy_from_kernel_nofault_allowed()
20 bool copy_from_kernel_nofault_allowed(const void *unsafe_src, size_t size) in copy_from_kernel_nofault_allowed() argument
22 return (unsigned long)unsafe_src >= TASK_SIZE_MAX; in copy_from_kernel_nofault_allowed()
/linux-6.1.9/arch/mips/mm/
Dmaccess.c6 bool copy_from_kernel_nofault_allowed(const void *unsafe_src, size_t size) in copy_from_kernel_nofault_allowed() argument
9 return (unsigned long)unsafe_src >> (BITS_PER_LONG - 1); in copy_from_kernel_nofault_allowed()
/linux-6.1.9/arch/powerpc/mm/
Dmaccess.c10 bool copy_from_kernel_nofault_allowed(const void *unsafe_src, size_t size) in copy_from_kernel_nofault_allowed() argument
12 return is_kernel_addr((unsigned long)unsafe_src); in copy_from_kernel_nofault_allowed()
/linux-6.1.9/arch/loongarch/mm/
Dmaccess.c6 bool copy_from_kernel_nofault_allowed(const void *unsafe_src, size_t size) in copy_from_kernel_nofault_allowed() argument
9 return (unsigned long)unsafe_src >> (BITS_PER_LONG - 1); in copy_from_kernel_nofault_allowed()
/linux-6.1.9/arch/parisc/lib/
Dmemcpy.c51 bool copy_from_kernel_nofault_allowed(const void *unsafe_src, size_t size) in copy_from_kernel_nofault_allowed() argument
53 if ((unsigned long)unsafe_src < PAGE_SIZE) in copy_from_kernel_nofault_allowed()
/linux-6.1.9/mm/
Dmaccess.c9 bool __weak copy_from_kernel_nofault_allowed(const void *unsafe_src, in copy_from_kernel_nofault_allowed() argument
/linux-6.1.9/include/linux/
Duaccess.h346 bool copy_from_kernel_nofault_allowed(const void *unsafe_src, size_t size);