Home
last modified time | relevance | path

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

/linux-6.12.1/arch/x86/mm/
Dmaccess.c9 bool copy_from_kernel_nofault_allowed(const void *unsafe_src, size_t size) in copy_from_kernel_nofault_allowed() argument
11 unsigned long vaddr = (unsigned long)unsafe_src; in copy_from_kernel_nofault_allowed()
39 bool copy_from_kernel_nofault_allowed(const void *unsafe_src, size_t size) in copy_from_kernel_nofault_allowed() argument
41 return (unsigned long)unsafe_src >= TASK_SIZE_MAX; in copy_from_kernel_nofault_allowed()
/linux-6.12.1/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.12.1/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.12.1/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.12.1/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.12.1/arch/arm/mm/
Dfault.c30 bool copy_from_kernel_nofault_allowed(const void *unsafe_src, size_t size) in copy_from_kernel_nofault_allowed() argument
32 unsigned long addr = (unsigned long)unsafe_src; in copy_from_kernel_nofault_allowed()
/linux-6.12.1/mm/
Dmaccess.c10 bool __weak copy_from_kernel_nofault_allowed(const void *unsafe_src, in copy_from_kernel_nofault_allowed() argument
/linux-6.12.1/include/linux/
Duaccess.h406 bool copy_from_kernel_nofault_allowed(const void *unsafe_src, size_t size);