| /OK3568_Linux_fs/kernel/mm/ |
| H A D | usercopy.c | 72 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 …]
|
| H A D | slub.c | 4107 bool to_user) in __check_heap_object() argument 4122 to_user, 0, n); in __check_heap_object() 4134 s->name, to_user, offset, n); in __check_heap_object() 4153 usercopy_warn("SLUB object", s->name, to_user, offset, n); in __check_heap_object() 4157 usercopy_abort("SLUB object", s->name, to_user, offset, n); in __check_heap_object()
|
| H A D | slab.c | 4163 bool to_user) in __check_heap_object() argument 4197 usercopy_warn("SLAB object", cachep->name, to_user, offset, n); in __check_heap_object() 4201 usercopy_abort("SLAB object", cachep->name, to_user, offset, n); in __check_heap_object()
|
| /OK3568_Linux_fs/kernel/drivers/misc/lkdtm/ |
| H A D | usercopy.c | 54 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()
|
| /OK3568_Linux_fs/kernel/drivers/md/ |
| H A D | dm-user.c | 80 struct list_head to_user; member 120 struct list_head to_user; member 220 list_del(&msg->to_user); in process_delayed_work() 585 INIT_LIST_HEAD(&m->to_user); in msg_get_map() 596 if (list_empty(&t->to_user)) in msg_get_to_user() 599 m = list_first_entry(&t->to_user, struct message, to_user); in msg_get_to_user() 601 list_del(&m->to_user); in msg_get_to_user() 648 return !list_empty(&t->to_user) || t->dm_destroyed; in target_poll() 661 list_for_each_safe (cur, tmp, &t->to_user) { in target_release() 662 struct message *m = list_entry(cur, struct message, to_user); in target_release() [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | thread_info.h | 126 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
|
| H A D | uaccess.h | 413 void usercopy_warn(const char *name, const char *detail, bool to_user, 416 bool to_user, unsigned long offset,
|
| H A D | slab.h | 192 bool to_user); 195 struct page *page, bool to_user) { } in __check_heap_object() argument
|
| /OK3568_Linux_fs/kernel/drivers/media/mc/ |
| H A D | mc-device.c | 414 #define MEDIA_IOC_ARG(__cmd, func, fl, from_user, to_user) \ argument 420 .arg_to_user = to_user, \
|
| /OK3568_Linux_fs/kernel/arch/sparc/kernel/ |
| H A D | rtrap_64.S | 159 to_user: wrpr %g0, RTRAP_PSTATE_IRQOFF, %pstate label
|
| /OK3568_Linux_fs/kernel/lib/ |
| H A D | Kconfig.kasan | 207 KUnit. Currently includes tests that do bad copy_from/to_user
|
| /OK3568_Linux_fs/kernel/drivers/char/ |
| H A D | virtio_console.c | 663 size_t out_count, bool to_user) in fill_readbuf() argument 674 if (to_user) { in fill_readbuf()
|
| /OK3568_Linux_fs/kernel/Documentation/sound/kernel-api/ |
| H A D | writing-an-alsa-driver.rst | 3678 Here the functions are named as ``from_user`` and ``to_user`` because
|