Home
last modified time | relevance | path

Searched refs:to_user (Results 1 – 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/mm/
Dusercopy.c72 void usercopy_warn(const char *name, const char *detail, bool to_user, in usercopy_warn() argument
76 to_user ? "exposure" : "overwrite", in usercopy_warn()
77 to_user ? "from" : "to", in usercopy_warn()
84 bool to_user, unsigned long offset, in usercopy_abort() argument
88 to_user ? "exposure" : "overwrite", in usercopy_abort()
89 to_user ? "from" : "to", in usercopy_abort()
118 unsigned long n, bool to_user) in check_kernel_text_object() argument
125 usercopy_abort("kernel text", NULL, to_user, ptr - textlow, n); in check_kernel_text_object()
143 usercopy_abort("linear kernel text", NULL, to_user, in check_kernel_text_object()
148 bool to_user) in check_bogus_address() argument
[all …]
Dslub.c4039 bool to_user) in __check_heap_object() argument
4053 to_user, 0, n); in __check_heap_object()
4062 s->name, to_user, offset, n); in __check_heap_object()
4081 usercopy_warn("SLUB object", s->name, to_user, offset, n); in __check_heap_object()
4085 usercopy_abort("SLUB object", s->name, to_user, offset, n); in __check_heap_object()
Dslab.c4139 bool to_user) in __check_heap_object() argument
4170 usercopy_warn("SLAB object", cachep->name, to_user, offset, n); in __check_heap_object()
4174 usercopy_abort("SLAB object", cachep->name, to_user, offset, n); in __check_heap_object()
/kernel/linux/linux-5.10/drivers/misc/lkdtm/
Dusercopy.c54 static noinline void do_usercopy_stack(bool to_user, bool bad_frame) in do_usercopy_stack() argument
88 if (to_user) { in do_usercopy_stack()
133 static void do_usercopy_heap_size(bool to_user) in do_usercopy_heap_size() argument
162 if (to_user) { in do_usercopy_heap_size()
199 static void do_usercopy_heap_whitelist(bool to_user) in do_usercopy_heap_whitelist() argument
237 if (to_user) { in do_usercopy_heap_whitelist()
/kernel/linux/linux-5.10/include/linux/
Dthread_info.h126 bool to_user);
129 bool to_user) in check_object_size() argument
132 __check_object_size(ptr, n, to_user); in check_object_size()
136 bool to_user) in check_object_size() argument
Duaccess.h417 void usercopy_warn(const char *name, const char *detail, bool to_user,
420 bool to_user, unsigned long offset,
Dslab.h192 bool to_user);
195 struct page *page, bool to_user) { } in __check_heap_object() argument
/kernel/linux/linux-5.10/drivers/media/mc/
Dmc-device.c408 #define MEDIA_IOC_ARG(__cmd, func, fl, from_user, to_user) \ argument
414 .arg_to_user = to_user, \
/kernel/linux/linux-5.10/arch/sparc/kernel/
Drtrap_64.S159 to_user: wrpr %g0, RTRAP_PSTATE_IRQOFF, %pstate label
/kernel/linux/linux-5.10/lib/
DKconfig.kasan186 KUnit. Currently includes tests that do bad copy_from/to_user
/kernel/linux/linux-5.10/drivers/char/
Dvirtio_console.c663 size_t out_count, bool to_user) in fill_readbuf() argument
674 if (to_user) { in fill_readbuf()
/kernel/linux/linux-5.10/Documentation/sound/kernel-api/
Dwriting-an-alsa-driver.rst3677 Here the functions are named as ``from_user`` and ``to_user`` because