Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/mm/
H A 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()
/openbmc/linux/arch/mips/mm/
H A 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()
/openbmc/linux/arch/powerpc/mm/
H A 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()
/openbmc/linux/arch/loongarch/mm/
H A 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()
/openbmc/linux/arch/parisc/lib/
H A 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()
/openbmc/linux/mm/
H A Dmaccess.c10 bool __weak copy_from_kernel_nofault_allowed(const void *unsafe_src, in copy_from_kernel_nofault_allowed() argument
/openbmc/linux/include/linux/
H A Duaccess.h372 bool copy_from_kernel_nofault_allowed(const void *unsafe_src, size_t size);