Home
last modified time | relevance | path

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

/Linux-v4.19/mm/
Dusercopy.c75 void usercopy_warn(const char *name, const char *detail, bool to_user, in usercopy_warn() argument
79 to_user ? "exposure" : "overwrite", in usercopy_warn()
80 to_user ? "from" : "to", in usercopy_warn()
87 bool to_user, unsigned long offset, in usercopy_abort() argument
91 to_user ? "exposure" : "overwrite", in usercopy_abort()
92 to_user ? "from" : "to", in usercopy_abort()
121 unsigned long n, bool to_user) in check_kernel_text_object() argument
128 usercopy_abort("kernel text", NULL, to_user, ptr - textlow, n); in check_kernel_text_object()
146 usercopy_abort("linear kernel text", NULL, to_user, in check_kernel_text_object()
151 bool to_user) in check_bogus_address() argument
[all …]
Dslub.c3813 bool to_user) in __check_heap_object() argument
3825 to_user, 0, n); in __check_heap_object()
3834 s->name, to_user, offset, n); in __check_heap_object()
3853 usercopy_warn("SLUB object", s->name, to_user, offset, n); in __check_heap_object()
3857 usercopy_abort("SLUB object", s->name, to_user, offset, n); in __check_heap_object()
Dslab.c4412 bool to_user) in __check_heap_object() argument
4441 usercopy_warn("SLAB object", cachep->name, to_user, offset, n); in __check_heap_object()
4445 usercopy_abort("SLAB object", cachep->name, to_user, offset, n); in __check_heap_object()
/Linux-v4.19/drivers/misc/lkdtm/
Dusercopy.c49 static noinline void do_usercopy_stack(bool to_user, bool bad_frame) in do_usercopy_stack() argument
77 if (to_user) { in do_usercopy_stack()
122 static void do_usercopy_heap_size(bool to_user) in do_usercopy_heap_size() argument
151 if (to_user) { in do_usercopy_heap_size()
188 static void do_usercopy_heap_whitelist(bool to_user) in do_usercopy_heap_whitelist() argument
226 if (to_user) { in do_usercopy_heap_whitelist()
/Linux-v4.19/include/linux/
Dthread_info.h113 bool to_user);
116 bool to_user) in check_object_size() argument
119 __check_object_size(ptr, n, to_user); in check_object_size()
123 bool to_user) in check_object_size() argument
Duaccess.h277 void usercopy_warn(const char *name, const char *detail, bool to_user,
280 bool to_user, unsigned long offset,
Dslab.h189 bool to_user);
192 struct page *page, bool to_user) { } in __check_heap_object() argument
/Linux-v4.19/drivers/media/
Dmedia-device.c401 #define MEDIA_IOC_ARG(__cmd, func, fl, from_user, to_user) \ argument
407 .arg_to_user = to_user, \
/Linux-v4.19/arch/sparc/kernel/
Drtrap_64.S158 to_user: wrpr %g0, RTRAP_PSTATE_IRQOFF, %pstate label
/Linux-v4.19/drivers/char/
Dvirtio_console.c676 size_t out_count, bool to_user) in fill_readbuf() argument
687 if (to_user) { in fill_readbuf()
/Linux-v4.19/Documentation/sound/kernel-api/
Dwriting-an-alsa-driver.rst3596 Here the functions are named as ``from_user`` and ``to_user`` because
3825 :c:func:`copy_from/to_user()` to transfer the data.