Home
last modified time | relevance | path

Searched refs:to_user (Results 1 - 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/mm/
H A 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()
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()
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()
83 usercopy_abort(const char *name, const char *detail, bool to_user, unsigned long offset, unsigned long len) usercopy_abort() argument
117 check_kernel_text_object(const unsigned long ptr, unsigned long n, bool to_user) check_kernel_text_object() argument
147 check_bogus_address(const unsigned long ptr, unsigned long n, bool to_user) check_bogus_address() argument
160 check_page_span(const void *ptr, unsigned long n, struct page *page, bool to_user) check_page_span() argument
223 check_heap_object(const void *ptr, unsigned long n, bool to_user) check_heap_object() argument
256 __check_object_size(const void *ptr, unsigned long n, bool to_user) __check_object_size() argument
[all...]
H A Dslub.c4039 bool to_user) in __check_heap_object()
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()
4038 __check_heap_object(const void *ptr, unsigned long n, struct page *page, bool to_user) __check_heap_object() argument
H A Dslab.c4139 bool to_user) in __check_heap_object()
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()
4138 __check_heap_object(const void *ptr, unsigned long n, struct page *page, bool to_user) __check_heap_object() argument
/kernel/linux/linux-6.6/mm/
H A Dusercopy.c87 bool to_user, unsigned long offset, in usercopy_abort()
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()
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()
155 usercopy_abort("wrapped address", NULL, to_user, 0, ptr + n); in check_bogus_address()
159 usercopy_abort("null address", NULL, to_user, ptr, n); in check_bogus_address()
163 bool to_user) in check_heap_object()
86 usercopy_abort(const char *name, const char *detail, bool to_user, unsigned long offset, unsigned long len) usercopy_abort() argument
120 check_kernel_text_object(const unsigned long ptr, unsigned long n, bool to_user) check_kernel_text_object() argument
150 check_bogus_address(const unsigned long ptr, unsigned long n, bool to_user) check_bogus_address() argument
162 check_heap_object(const void *ptr, unsigned long n, bool to_user) check_heap_object() argument
213 __check_object_size(const void *ptr, unsigned long n, bool to_user) __check_object_size() argument
[all...]
H A Dslab.h887 const struct slab *slab, bool to_user);
H A Dslub.c4748 const struct slab *slab, bool to_user) in __check_heap_object()
4762 to_user, 0, n); in __check_heap_object()
4774 s->name, to_user, offset, n); in __check_heap_object()
4784 usercopy_abort("SLUB object", s->name, to_user, offset, n); in __check_heap_object()
4747 __check_heap_object(const void *ptr, unsigned long n, const struct slab *slab, bool to_user) __check_heap_object() argument
H A Dslab.c3999 const struct slab *slab, bool to_user) in __check_heap_object()
4024 usercopy_abort("SLAB object", cachep->name, to_user, offset, n); in __check_heap_object()
3998 __check_heap_object(const void *ptr, unsigned long n, const struct slab *slab, bool to_user) __check_heap_object() argument
/kernel/linux/linux-5.10/drivers/misc/lkdtm/
H A 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/
H A Dthread_info.h126 bool to_user);
129 bool to_user) in check_object_size()
132 __check_object_size(ptr, n, to_user); in check_object_size()
136 bool to_user) in check_object_size()
128 check_object_size(const void *ptr, unsigned long n, bool to_user) check_object_size() argument
135 check_object_size(const void *ptr, unsigned long n, bool to_user) check_object_size() argument
H A Duaccess.h417 void usercopy_warn(const char *name, const char *detail, bool to_user,
420 bool to_user, unsigned long offset,
H A Dslab.h192 bool to_user);
195 struct page *page, bool to_user) { } in __check_heap_object()
194 __check_heap_object(const void *ptr, unsigned long n, struct page *page, bool to_user) __check_heap_object() argument
/kernel/linux/linux-6.6/drivers/misc/lkdtm/
H A 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()
/kernel/linux/linux-6.6/include/linux/
H A Dthread_info.h209 bool to_user);
212 bool to_user) in check_object_size()
215 __check_object_size(ptr, n, to_user); in check_object_size()
219 bool to_user) in check_object_size()
211 check_object_size(const void *ptr, unsigned long n, bool to_user) check_object_size() argument
218 check_object_size(const void *ptr, unsigned long n, bool to_user) check_object_size() argument
H A Duaccess.h441 bool to_user, unsigned long offset,
/kernel/linux/linux-5.10/drivers/media/mc/
H A Dmc-device.c408 #define MEDIA_IOC_ARG(__cmd, func, fl, from_user, to_user) \
414 .arg_to_user = to_user, \
/kernel/linux/linux-6.6/drivers/media/mc/
H A Dmc-device.c408 #define MEDIA_IOC_ARG(__cmd, func, fl, from_user, to_user) \
414 .arg_to_user = to_user, \
/kernel/linux/linux-5.10/arch/sparc/kernel/
H A Drtrap_64.S159 to_user: wrpr %g0, RTRAP_PSTATE_IRQOFF, %pstate label
/kernel/linux/linux-6.6/arch/sparc/kernel/
H A Drtrap_64.S159 to_user: wrpr %g0, RTRAP_PSTATE_IRQOFF, %pstate label
/kernel/linux/linux-5.10/drivers/char/
H A Dvirtio_console.c663 size_t out_count, bool to_user) in fill_readbuf()
674 if (to_user) { in fill_readbuf()
662 fill_readbuf(struct port *port, char __user *out_buf, size_t out_count, bool to_user) fill_readbuf() argument
/kernel/linux/linux-6.6/drivers/char/
H A Dvirtio_console.c657 size_t out_count, bool to_user) in fill_readbuf()
668 if (to_user) { in fill_readbuf()
656 fill_readbuf(struct port *port, char __user *out_buf, size_t out_count, bool to_user) fill_readbuf() argument

Completed in 43 milliseconds