Home
last modified time | relevance | path

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

/linux-6.1.9/mm/
Dusercopy.c86 bool to_user, unsigned long offset, in usercopy_abort() argument
90 to_user ? "exposure" : "overwrite", in usercopy_abort()
91 to_user ? "from" : "to", in usercopy_abort()
120 unsigned long n, bool to_user) in check_kernel_text_object() argument
127 usercopy_abort("kernel text", NULL, to_user, ptr - textlow, n); in check_kernel_text_object()
145 usercopy_abort("linear kernel text", NULL, to_user, in check_kernel_text_object()
150 bool to_user) in check_bogus_address() argument
154 usercopy_abort("wrapped address", NULL, to_user, 0, ptr + n); in check_bogus_address()
158 usercopy_abort("null address", NULL, to_user, ptr, n); in check_bogus_address()
162 bool to_user) in check_heap_object() argument
[all …]
Dslab.h865 const struct slab *slab, bool to_user);
869 const struct slab *slab, bool to_user) in __check_heap_object() argument
Dslub.c4539 const struct slab *slab, bool to_user) in __check_heap_object() argument
4553 to_user, 0, n); in __check_heap_object()
4565 s->name, to_user, offset, n); in __check_heap_object()
4575 usercopy_abort("SLUB object", s->name, to_user, offset, n); in __check_heap_object()
Dslab.c4026 const struct slab *slab, bool to_user) in __check_heap_object() argument
4051 usercopy_abort("SLAB object", cachep->name, to_user, offset, n); in __check_heap_object()
/linux-6.1.9/drivers/misc/lkdtm/
Dusercopy.c55 static noinline void do_usercopy_stack(bool to_user, bool bad_frame) in do_usercopy_stack() argument
89 if (to_user) { in do_usercopy_stack()
134 static void do_usercopy_slab_size(bool to_user) in do_usercopy_slab_size() argument
163 if (to_user) { in do_usercopy_slab_size()
202 static void do_usercopy_slab_whitelist(bool to_user) in do_usercopy_slab_whitelist() argument
240 if (to_user) { in do_usercopy_slab_whitelist()
/linux-6.1.9/include/linux/
Dthread_info.h193 bool to_user);
196 bool to_user) in check_object_size() argument
199 __check_object_size(ptr, n, to_user); in check_object_size()
203 bool to_user) in check_object_size() argument
Duaccess.h415 bool to_user, unsigned long offset,
/linux-6.1.9/drivers/media/mc/
Dmc-device.c408 #define MEDIA_IOC_ARG(__cmd, func, fl, from_user, to_user) \ argument
414 .arg_to_user = to_user, \
/linux-6.1.9/arch/sparc/kernel/
Drtrap_64.S159 to_user: wrpr %g0, RTRAP_PSTATE_IRQOFF, %pstate label
/linux-6.1.9/drivers/char/
Dvirtio_console.c664 size_t out_count, bool to_user) in fill_readbuf() argument
675 if (to_user) { in fill_readbuf()
/linux-6.1.9/Documentation/sound/kernel-api/
Dwriting-an-alsa-driver.rst3682 Here the functions are named as ``from_user`` and ``to_user`` because