Home
last modified time | relevance | path

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

/linux-6.6.21/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()
29 bool copy_from_kernel_nofault_allowed(const void *unsafe_src, size_t size) in copy_from_kernel_nofault_allowed() argument
31 return (unsigned long)unsafe_src >= TASK_SIZE_MAX; in copy_from_kernel_nofault_allowed()
/linux-6.6.21/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.6.21/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.6.21/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.6.21/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.6.21/mm/ !
Dmaccess.c10 bool __weak copy_from_kernel_nofault_allowed(const void *unsafe_src, in copy_from_kernel_nofault_allowed() argument
/linux-6.6.21/include/linux/ !
Duaccess.h372 bool copy_from_kernel_nofault_allowed(const void *unsafe_src, size_t size);