/kernel/linux/linux-6.6/drivers/dma-buf/ |
H A D | udmabuf.c | 36 struct udmabuf *ubuf = vma->vm_private_data; in udmabuf_vm_fault() local 39 if (pgoff >= ubuf->pagecount) in udmabuf_vm_fault() 41 vmf->page = ubuf->pages[pgoff]; in udmabuf_vm_fault() 52 struct udmabuf *ubuf = buf->priv; in mmap_udmabuf() local 58 vma->vm_private_data = ubuf; in mmap_udmabuf() 64 struct udmabuf *ubuf = buf->priv; in vmap_udmabuf() local 69 vaddr = vm_map_ram(ubuf->pages, ubuf->pagecount, -1); in vmap_udmabuf() 79 struct udmabuf *ubuf = buf->priv; in vunmap_udmabuf() local 83 vm_unmap_ram(map->vaddr, ubuf in vunmap_udmabuf() 89 struct udmabuf *ubuf = buf->priv; get_sg_table() local 135 struct udmabuf *ubuf = buf->priv; release_udmabuf() local 151 struct udmabuf *ubuf = buf->priv; begin_cpu_udmabuf() local 172 struct udmabuf *ubuf = buf->priv; end_cpu_udmabuf() local 204 struct udmabuf *ubuf; udmabuf_create() local [all...] |
/kernel/linux/linux-5.10/drivers/dma-buf/ |
H A D | udmabuf.c | 28 struct udmabuf *ubuf = vma->vm_private_data; in udmabuf_vm_fault() local 31 if (pgoff >= ubuf->pagecount) in udmabuf_vm_fault() 33 vmf->page = ubuf->pages[pgoff]; in udmabuf_vm_fault() 44 struct udmabuf *ubuf = buf->priv; in mmap_udmabuf() local 50 vma->vm_private_data = ubuf; in mmap_udmabuf() 57 struct udmabuf *ubuf = buf->priv; in get_sg_table() local 64 ret = sg_alloc_table_from_pages(sg, ubuf->pages, ubuf->pagecount, in get_sg_table() 65 0, ubuf->pagecount << PAGE_SHIFT, in get_sg_table() 103 struct udmabuf *ubuf in release_udmabuf() local 119 struct udmabuf *ubuf = buf->priv; begin_cpu_udmabuf() local 140 struct udmabuf *ubuf = buf->priv; end_cpu_udmabuf() local 169 struct udmabuf *ubuf; udmabuf_create() local [all...] |
/kernel/linux/linux-5.10/drivers/misc/sgi-gru/ |
H A D | grukdump.c | 37 void __user *ubuf, int ctxnum, int dsrcnt, in gru_dump_context_data() 51 if (gru_user_copy_handle(&ubuf, cb)) in gru_dump_context_data() 53 if (gru_user_copy_handle(&ubuf, tfh + i * GRU_HANDLE_STRIDE)) in gru_dump_context_data() 55 if (gru_user_copy_handle(&ubuf, cbe + i * GRU_HANDLE_STRIDE)) in gru_dump_context_data() 60 memcpy(ubuf, gseg + GRU_DS_BASE, dsrcnt * GRU_HANDLE_STRIDE); in gru_dump_context_data() 68 void __user *ubuf, void __user *ubufend) in gru_dump_tfm() 73 if (GRU_NUM_TFM * GRU_CACHE_LINE_BYTES > ubufend - ubuf) in gru_dump_tfm() 78 if (gru_user_copy_handle(&ubuf, tfm)) in gru_dump_tfm() 88 void __user *ubuf, void __user *ubufend) in gru_dump_tgh() 93 if (GRU_NUM_TGH * GRU_CACHE_LINE_BYTES > ubufend - ubuf) in gru_dump_tgh() 35 gru_dump_context_data(void *grubase, struct gru_context_configuration_handle *cch, void __user *ubuf, int ctxnum, int dsrcnt, int flush_cbrs) gru_dump_context_data() argument 67 gru_dump_tfm(struct gru_state *gru, void __user *ubuf, void __user *ubufend) gru_dump_tfm() argument 87 gru_dump_tgh(struct gru_state *gru, void __user *ubuf, void __user *ubufend) gru_dump_tgh() argument 107 gru_dump_context(struct gru_state *gru, int ctxnum, void __user *ubuf, void __user *ubufend, char data_opt, char lock_cch, char flush_cbrs) gru_dump_context() argument 179 void __user *ubuf; gru_dump_chiplet_request() local [all...] |
/kernel/linux/linux-6.6/drivers/misc/sgi-gru/ |
H A D | grukdump.c | 37 void __user *ubuf, int ctxnum, int dsrcnt, in gru_dump_context_data() 51 if (gru_user_copy_handle(&ubuf, cb)) in gru_dump_context_data() 53 if (gru_user_copy_handle(&ubuf, tfh + i * GRU_HANDLE_STRIDE)) in gru_dump_context_data() 55 if (gru_user_copy_handle(&ubuf, cbe + i * GRU_HANDLE_STRIDE)) in gru_dump_context_data() 60 memcpy(ubuf, gseg + GRU_DS_BASE, dsrcnt * GRU_HANDLE_STRIDE); in gru_dump_context_data() 68 void __user *ubuf, void __user *ubufend) in gru_dump_tfm() 73 if (GRU_NUM_TFM * GRU_CACHE_LINE_BYTES > ubufend - ubuf) in gru_dump_tfm() 78 if (gru_user_copy_handle(&ubuf, tfm)) in gru_dump_tfm() 88 void __user *ubuf, void __user *ubufend) in gru_dump_tgh() 93 if (GRU_NUM_TGH * GRU_CACHE_LINE_BYTES > ubufend - ubuf) in gru_dump_tgh() 35 gru_dump_context_data(void *grubase, struct gru_context_configuration_handle *cch, void __user *ubuf, int ctxnum, int dsrcnt, int flush_cbrs) gru_dump_context_data() argument 67 gru_dump_tfm(struct gru_state *gru, void __user *ubuf, void __user *ubufend) gru_dump_tfm() argument 87 gru_dump_tgh(struct gru_state *gru, void __user *ubuf, void __user *ubufend) gru_dump_tgh() argument 107 gru_dump_context(struct gru_state *gru, int ctxnum, void __user *ubuf, void __user *ubufend, char data_opt, char lock_cch, char flush_cbrs) gru_dump_context() argument 179 void __user *ubuf; gru_dump_chiplet_request() local [all...] |
/kernel/linux/linux-5.10/arch/x86/kernel/ |
H A D | sys_ia32.c | 68 SYSCALL_DEFINE5(ia32_pread64, unsigned int, fd, char __user *, ubuf, in SYSCALL_DEFINE5() 71 return ksys_pread64(fd, ubuf, count, in SYSCALL_DEFINE5() 75 SYSCALL_DEFINE5(ia32_pwrite64, unsigned int, fd, const char __user *, ubuf, in SYSCALL_DEFINE5() 78 return ksys_pwrite64(fd, ubuf, count, in SYSCALL_DEFINE5() 132 static int cp_stat64(struct stat64 __user *ubuf, struct kstat *stat) in cp_stat64() argument 134 typeof(ubuf->st_uid) uid = 0; in cp_stat64() 135 typeof(ubuf->st_gid) gid = 0; in cp_stat64() 138 if (!user_write_access_begin(ubuf, sizeof(struct stat64))) in cp_stat64() 140 unsafe_put_user(huge_encode_dev(stat->dev), &ubuf->st_dev, Efault); in cp_stat64() 141 unsafe_put_user(stat->ino, &ubuf in cp_stat64() [all...] |
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | sys_ia32.c | 68 SYSCALL_DEFINE5(ia32_pread64, unsigned int, fd, char __user *, ubuf, in SYSCALL_DEFINE5() 71 return ksys_pread64(fd, ubuf, count, in SYSCALL_DEFINE5() 75 SYSCALL_DEFINE5(ia32_pwrite64, unsigned int, fd, const char __user *, ubuf, in SYSCALL_DEFINE5() 78 return ksys_pwrite64(fd, ubuf, count, in SYSCALL_DEFINE5() 132 static int cp_stat64(struct stat64 __user *ubuf, struct kstat *stat) in cp_stat64() argument 134 typeof(ubuf->st_uid) uid = 0; in cp_stat64() 135 typeof(ubuf->st_gid) gid = 0; in cp_stat64() 138 if (!user_write_access_begin(ubuf, sizeof(struct stat64))) in cp_stat64() 140 unsafe_put_user(huge_encode_dev(stat->dev), &ubuf->st_dev, Efault); in cp_stat64() 141 unsafe_put_user(stat->ino, &ubuf in cp_stat64() [all...] |
/kernel/linux/linux-5.10/drivers/media/pci/saa7164/ |
H A D | saa7164-vbi.c | 33 struct saa7164_user_buffer *ubuf; in saa7164_vbi_buffers_dealloc() local 47 ubuf = list_entry(p, struct saa7164_user_buffer, list); in saa7164_vbi_buffers_dealloc() 49 saa7164_buffer_dealloc_user(ubuf); in saa7164_vbi_buffers_dealloc() 54 ubuf = list_entry(l, struct saa7164_user_buffer, list); in saa7164_vbi_buffers_dealloc() 56 saa7164_buffer_dealloc_user(ubuf); in saa7164_vbi_buffers_dealloc() 70 struct saa7164_user_buffer *ubuf; in saa7164_vbi_buffers_alloc() local 124 ubuf = saa7164_buffer_alloc_user(dev, len); in saa7164_vbi_buffers_alloc() 125 if (ubuf) { in saa7164_vbi_buffers_alloc() 127 list_add_tail(&ubuf->list, &port->list_buf_free.list); in saa7164_vbi_buffers_alloc() 275 struct saa7164_user_buffer *ubuf; in saa7164_vbi_stop_streaming() local 466 struct saa7164_user_buffer *ubuf = NULL; saa7164_vbi_next_buf() local 497 struct saa7164_user_buffer *ubuf = NULL; fops_read() local [all...] |
H A D | saa7164-encoder.c | 64 struct saa7164_user_buffer *ubuf; in saa7164_encoder_buffers_dealloc() local 78 ubuf = list_entry(p, struct saa7164_user_buffer, list); in saa7164_encoder_buffers_dealloc() 80 saa7164_buffer_dealloc_user(ubuf); in saa7164_encoder_buffers_dealloc() 85 ubuf = list_entry(l, struct saa7164_user_buffer, list); in saa7164_encoder_buffers_dealloc() 87 saa7164_buffer_dealloc_user(ubuf); in saa7164_encoder_buffers_dealloc() 101 struct saa7164_user_buffer *ubuf; in saa7164_encoder_buffers_alloc() local 171 ubuf = saa7164_buffer_alloc_user(dev, len); in saa7164_encoder_buffers_alloc() 172 if (ubuf) { in saa7164_encoder_buffers_alloc() 174 list_add_tail(&ubuf->list, &port->list_buf_free.list); in saa7164_encoder_buffers_alloc() 591 struct saa7164_user_buffer *ubuf; in saa7164_encoder_stop_streaming() local 761 struct saa7164_user_buffer *ubuf = NULL; saa7164_enc_next_buf() local 793 struct saa7164_user_buffer *ubuf = NULL; fops_read() local [all...] |
/kernel/linux/linux-6.6/drivers/media/pci/saa7164/ |
H A D | saa7164-vbi.c | 33 struct saa7164_user_buffer *ubuf; in saa7164_vbi_buffers_dealloc() local 47 ubuf = list_entry(p, struct saa7164_user_buffer, list); in saa7164_vbi_buffers_dealloc() 49 saa7164_buffer_dealloc_user(ubuf); in saa7164_vbi_buffers_dealloc() 54 ubuf = list_entry(l, struct saa7164_user_buffer, list); in saa7164_vbi_buffers_dealloc() 56 saa7164_buffer_dealloc_user(ubuf); in saa7164_vbi_buffers_dealloc() 70 struct saa7164_user_buffer *ubuf; in saa7164_vbi_buffers_alloc() local 124 ubuf = saa7164_buffer_alloc_user(dev, len); in saa7164_vbi_buffers_alloc() 125 if (ubuf) { in saa7164_vbi_buffers_alloc() 127 list_add_tail(&ubuf->list, &port->list_buf_free.list); in saa7164_vbi_buffers_alloc() 274 struct saa7164_user_buffer *ubuf; in saa7164_vbi_stop_streaming() local 465 struct saa7164_user_buffer *ubuf = NULL; saa7164_vbi_next_buf() local 496 struct saa7164_user_buffer *ubuf = NULL; fops_read() local [all...] |
H A D | saa7164-encoder.c | 64 struct saa7164_user_buffer *ubuf; in saa7164_encoder_buffers_dealloc() local 78 ubuf = list_entry(p, struct saa7164_user_buffer, list); in saa7164_encoder_buffers_dealloc() 80 saa7164_buffer_dealloc_user(ubuf); in saa7164_encoder_buffers_dealloc() 85 ubuf = list_entry(l, struct saa7164_user_buffer, list); in saa7164_encoder_buffers_dealloc() 87 saa7164_buffer_dealloc_user(ubuf); in saa7164_encoder_buffers_dealloc() 101 struct saa7164_user_buffer *ubuf; in saa7164_encoder_buffers_alloc() local 171 ubuf = saa7164_buffer_alloc_user(dev, len); in saa7164_encoder_buffers_alloc() 172 if (ubuf) { in saa7164_encoder_buffers_alloc() 174 list_add_tail(&ubuf->list, &port->list_buf_free.list); in saa7164_encoder_buffers_alloc() 590 struct saa7164_user_buffer *ubuf; in saa7164_encoder_stop_streaming() local 760 struct saa7164_user_buffer *ubuf = NULL; saa7164_enc_next_buf() local 792 struct saa7164_user_buffer *ubuf = NULL; fops_read() local [all...] |
/kernel/linux/linux-5.10/arch/powerpc/kernel/ptrace/ |
H A D | ptrace-decl.h | 69 const void *kbuf, const void __user *ubuf); 77 const void *kbuf, const void __user *ubuf); 85 const void *kbuf, const void __user *ubuf); 93 const void *kbuf, const void __user *ubuf); 104 const void *kbuf, const void __user *ubuf, 119 const void *kbuf, const void __user *ubuf); 124 const void *kbuf, const void __user *ubuf); 129 const void *kbuf, const void __user *ubuf); 134 const void *kbuf, const void __user *ubuf); 139 const void *kbuf, const void __user *ubuf); [all...] |
H A D | ptrace-tm.c | 120 * @ubuf: User buffer to copy from. 135 const void *kbuf, const void __user *ubuf) in tm_cgpr_set() 150 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in tm_cgpr_set() 155 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, ®, in tm_cgpr_set() 166 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in tm_cgpr_set() 172 ret = user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, in tm_cgpr_set() 177 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, ®, in tm_cgpr_set() 185 ret = user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, in tm_cgpr_set() 258 * @ubuf: User buffer to copy from. 274 const void *kbuf, const void __user *ubuf) in tm_cfpr_set() 133 tm_cgpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_cgpr_set() argument 272 tm_cfpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_cfpr_set() argument 392 tm_cvmx_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_cvmx_set() argument 511 tm_cvsx_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_cvsx_set() argument 615 tm_spr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_spr_set() argument 675 tm_tar_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_tar_set() argument 716 tm_ppr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_ppr_set() argument 756 tm_dscr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_dscr_set() argument 781 tm_cgpr32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_cgpr32_set() argument [all...] |
H A D | ptrace-view.c | 246 const void __user *ubuf) in gpr_set() 256 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in gpr_set() 261 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, ®, in gpr_set() 272 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in gpr_set() 278 ret = user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, in gpr_set() 283 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, ®, in gpr_set() 291 ret = user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, in gpr_set() 309 const void __user *ubuf) in ppr_set() 314 return user_regset_copyin(&pos, &count, &kbuf, &ubuf, in ppr_set() 325 const void __user *ubuf) in dscr_set() 244 gpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) gpr_set() argument 307 ppr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) ppr_set() argument 323 dscr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) dscr_set() argument 337 tar_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tar_set() argument 372 ebb_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) ebb_set() argument 426 pmu_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) pmu_set() argument 488 pkey_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) pkey_set() argument 656 gpr32_set_common(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf, unsigned long *regs) gpr32_set_common() argument 745 gpr32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) gpr32_set() argument [all...] |
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | log.c | 15 /* ubuf and len_total should both be specified (or not) together */ in bpf_verifier_log_attr_valid() 16 if (!!log->ubuf != !!log->len_total) in bpf_verifier_log_attr_valid() 19 if (log->ubuf && log->level == 0) in bpf_verifier_log_attr_valid() 32 log->ubuf = log_buf; in bpf_vlog_init() 86 if (log->ubuf && new_n && in bpf_verifier_vlog() 87 copy_to_user(log->ubuf + cur_pos, log->kbuf, new_n)) in bpf_verifier_vlog() 102 if (!log->ubuf) in bpf_verifier_vlog() 111 * ubuf and there is no wrap around in bpf_verifier_vlog() 117 * if buf_start == buf_end, then we fill ubuf completely; we in bpf_verifier_vlog() 123 /* message fits within contiguous chunk of ubuf */ in bpf_verifier_vlog() [all...] |
/kernel/linux/linux-6.6/arch/powerpc/kernel/ptrace/ |
H A D | ptrace-tm.c | 121 * @ubuf: User buffer to copy from. 136 const void *kbuf, const void __user *ubuf) in tm_cgpr_set() 151 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in tm_cgpr_set() 156 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, ®, in tm_cgpr_set() 167 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in tm_cgpr_set() 173 user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, in tm_cgpr_set() 178 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, ®, in tm_cgpr_set() 186 user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, in tm_cgpr_set() 259 * @ubuf: User buffer to copy from. 275 const void *kbuf, const void __user *ubuf) in tm_cfpr_set() 134 tm_cgpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_cgpr_set() argument 273 tm_cfpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_cfpr_set() argument 393 tm_cvmx_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_cvmx_set() argument 512 tm_cvsx_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_cvsx_set() argument 616 tm_spr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_spr_set() argument 676 tm_tar_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_tar_set() argument 717 tm_ppr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_ppr_set() argument 757 tm_dscr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_dscr_set() argument 782 tm_cgpr32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_cgpr32_set() argument [all...] |
H A D | ptrace-decl.h | 75 const void *kbuf, const void __user *ubuf); 83 const void *kbuf, const void __user *ubuf); 91 const void *kbuf, const void __user *ubuf); 99 const void *kbuf, const void __user *ubuf); 110 const void *kbuf, const void __user *ubuf, 125 const void *kbuf, const void __user *ubuf); 130 const void *kbuf, const void __user *ubuf); 135 const void *kbuf, const void __user *ubuf); 140 const void *kbuf, const void __user *ubuf); 145 const void *kbuf, const void __user *ubuf); [all...] |
H A D | ptrace-view.c | 240 const void __user *ubuf) in gpr_set() 248 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in gpr_set() 253 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, ®, in gpr_set() 264 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in gpr_set() 270 user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, in gpr_set() 275 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, ®, in gpr_set() 283 user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, in gpr_set() 301 const void __user *ubuf) in ppr_set() 306 return user_regset_copyin(&pos, &count, &kbuf, &ubuf, in ppr_set() 317 const void __user *ubuf) in dscr_set() 238 gpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) gpr_set() argument 299 ppr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) ppr_set() argument 315 dscr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) dscr_set() argument 329 tar_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tar_set() argument 364 ebb_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) ebb_set() argument 418 pmu_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) pmu_set() argument 504 hashkeyr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) hashkeyr_set() argument 538 pkey_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) pkey_set() argument 757 gpr32_set_common_user(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void __user *ubuf, unsigned long *regs) gpr32_set_common_user() argument 811 gpr32_set_common(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf, unsigned long *regs) gpr32_set_common() argument 834 gpr32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) gpr32_set() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/ |
H A D | debugfs.c | 74 mwifiex_info_read(struct file *file, char __user *ubuf, in mwifiex_info_read() argument 148 ret = simple_read_from_buffer(ubuf, count, ppos, (char *) page, in mwifiex_info_read() 178 mwifiex_getlog_read(struct file *file, char __user *ubuf, in mwifiex_getlog_read() argument 235 ret = simple_read_from_buffer(ubuf, count, ppos, (char *) page, in mwifiex_getlog_read() 254 mwifiex_histogram_read(struct file *file, char __user *ubuf, in mwifiex_histogram_read() argument 324 ret = simple_read_from_buffer(ubuf, count, ppos, (char *)page, in mwifiex_histogram_read() 333 mwifiex_histogram_write(struct file *file, const char __user *ubuf, in mwifiex_histogram_write() argument 393 mwifiex_debug_read(struct file *file, char __user *ubuf, in mwifiex_debug_read() argument 411 ret = simple_read_from_buffer(ubuf, count, ppos, (char *) page, in mwifiex_debug_read() 430 const char __user *ubuf, size_ in mwifiex_regrdwr_write() 429 mwifiex_regrdwr_write(struct file *file, const char __user *ubuf, size_t count, loff_t *ppos) mwifiex_regrdwr_write() argument 464 mwifiex_regrdwr_read(struct file *file, char __user *ubuf, size_t count, loff_t *ppos) mwifiex_regrdwr_read() argument 518 mwifiex_debug_mask_read(struct file *file, char __user *ubuf, size_t count, loff_t *ppos) mwifiex_debug_mask_read() argument 544 mwifiex_debug_mask_write(struct file *file, const char __user *ubuf, size_t count, loff_t *ppos) mwifiex_debug_mask_write() argument 572 mwifiex_verext_write(struct file *file, const char __user *ubuf, size_t count, loff_t *ppos) mwifiex_verext_write() argument 599 mwifiex_verext_read(struct file *file, char __user *ubuf, size_t count, loff_t *ppos) mwifiex_verext_read() argument 619 mwifiex_memrw_write(struct file *file, const char __user *ubuf, size_t count, loff_t *ppos) mwifiex_memrw_write() argument 666 mwifiex_memrw_read(struct file *file, char __user *ubuf, size_t count, loff_t *ppos) mwifiex_memrw_read() argument 695 mwifiex_rdeeprom_write(struct file *file, const char __user *ubuf, size_t count, loff_t *ppos) mwifiex_rdeeprom_write() argument 729 mwifiex_rdeeprom_read(struct file *file, char __user *ubuf, size_t count, loff_t *ppos) mwifiex_rdeeprom_read() argument 772 mwifiex_hscfg_write(struct file *file, const char __user *ubuf, size_t count, loff_t *ppos) mwifiex_hscfg_write() argument 831 mwifiex_hscfg_read(struct file *file, char __user *ubuf, size_t count, loff_t *ppos) mwifiex_hscfg_read() argument 856 mwifiex_timeshare_coex_read(struct file *file, char __user *ubuf, size_t count, loff_t *ppos) mwifiex_timeshare_coex_read() argument 878 mwifiex_timeshare_coex_write(struct file *file, const char __user *ubuf, size_t count, loff_t *ppos) mwifiex_timeshare_coex_write() argument 906 mwifiex_reset_write(struct file *file, const char __user *ubuf, size_t count, loff_t *ppos) mwifiex_reset_write() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/mwifiex/ |
H A D | debugfs.c | 62 mwifiex_info_read(struct file *file, char __user *ubuf, in mwifiex_info_read() argument 136 ret = simple_read_from_buffer(ubuf, count, ppos, (char *) page, in mwifiex_info_read() 166 mwifiex_getlog_read(struct file *file, char __user *ubuf, in mwifiex_getlog_read() argument 223 ret = simple_read_from_buffer(ubuf, count, ppos, (char *) page, in mwifiex_getlog_read() 242 mwifiex_histogram_read(struct file *file, char __user *ubuf, in mwifiex_histogram_read() argument 312 ret = simple_read_from_buffer(ubuf, count, ppos, (char *)page, in mwifiex_histogram_read() 321 mwifiex_histogram_write(struct file *file, const char __user *ubuf, in mwifiex_histogram_write() argument 381 mwifiex_debug_read(struct file *file, char __user *ubuf, in mwifiex_debug_read() argument 399 ret = simple_read_from_buffer(ubuf, count, ppos, (char *) page, in mwifiex_debug_read() 418 const char __user *ubuf, size_ in mwifiex_regrdwr_write() 417 mwifiex_regrdwr_write(struct file *file, const char __user *ubuf, size_t count, loff_t *ppos) mwifiex_regrdwr_write() argument 455 mwifiex_regrdwr_read(struct file *file, char __user *ubuf, size_t count, loff_t *ppos) mwifiex_regrdwr_read() argument 509 mwifiex_debug_mask_read(struct file *file, char __user *ubuf, size_t count, loff_t *ppos) mwifiex_debug_mask_read() argument 535 mwifiex_debug_mask_write(struct file *file, const char __user *ubuf, size_t count, loff_t *ppos) mwifiex_debug_mask_write() argument 563 mwifiex_verext_write(struct file *file, const char __user *ubuf, size_t count, loff_t *ppos) mwifiex_verext_write() argument 590 mwifiex_verext_read(struct file *file, char __user *ubuf, size_t count, loff_t *ppos) mwifiex_verext_read() argument 610 mwifiex_memrw_write(struct file *file, const char __user *ubuf, size_t count, loff_t *ppos) mwifiex_memrw_write() argument 657 mwifiex_memrw_read(struct file *file, char __user *ubuf, size_t count, loff_t *ppos) mwifiex_memrw_read() argument 686 mwifiex_rdeeprom_write(struct file *file, const char __user *ubuf, size_t count, loff_t *ppos) mwifiex_rdeeprom_write() argument 723 mwifiex_rdeeprom_read(struct file *file, char __user *ubuf, size_t count, loff_t *ppos) mwifiex_rdeeprom_read() argument 766 mwifiex_hscfg_write(struct file *file, const char __user *ubuf, size_t count, loff_t *ppos) mwifiex_hscfg_write() argument 825 mwifiex_hscfg_read(struct file *file, char __user *ubuf, size_t count, loff_t *ppos) mwifiex_hscfg_read() argument 850 mwifiex_timeshare_coex_read(struct file *file, char __user *ubuf, size_t count, loff_t *ppos) mwifiex_timeshare_coex_read() argument 872 mwifiex_timeshare_coex_write(struct file *file, const char __user *ubuf, size_t count, loff_t *ppos) mwifiex_timeshare_coex_write() argument 900 mwifiex_reset_write(struct file *file, const char __user *ubuf, size_t count, loff_t *ppos) mwifiex_reset_write() argument [all...] |
/kernel/linux/linux-5.10/drivers/ntb/test/ |
H A D | ntb_tool.c | 341 static ssize_t tool_fn_read(struct tool_ctx *tc, char __user *ubuf, in tool_fn_read() argument 356 return simple_read_from_buffer(ubuf, size, offp, buf, pos); in tool_fn_read() 360 const char __user *ubuf, in tool_fn_write() 377 if (copy_from_user(buf, ubuf, size)) { in tool_fn_write() 412 static ssize_t tool_port_read(struct file *filep, char __user *ubuf, in tool_port_read() argument 421 return simple_read_from_buffer(ubuf, size, offp, buf, pos); in tool_port_read() 428 static ssize_t tool_peer_port_read(struct file *filep, char __user *ubuf, in tool_peer_port_read() argument 439 return simple_read_from_buffer(ubuf, size, offp, buf, pos); in tool_peer_port_read() 469 static ssize_t tool_link_write(struct file *filep, const char __user *ubuf, in tool_link_write() argument 476 ret = kstrtobool_from_user(ubuf, siz in tool_link_write() 359 tool_fn_write(struct tool_ctx *tc, const char __user *ubuf, size_t size, loff_t *offp, int (*fn_set)(struct ntb_dev *, u64), int (*fn_clear)(struct ntb_dev *, u64)) tool_fn_write() argument 495 tool_peer_link_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) tool_peer_link_read() argument 516 tool_peer_link_event_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) tool_peer_link_event_write() argument 548 tool_mw_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) tool_mw_read() argument 560 tool_mw_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) tool_mw_write() argument 644 tool_mw_trans_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) tool_mw_trans_read() argument 706 tool_mw_trans_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) tool_mw_trans_write() argument 731 tool_peer_mw_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) tool_peer_mw_read() argument 769 tool_peer_mw_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) tool_peer_mw_write() argument 872 tool_peer_mw_trans_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) tool_peer_mw_trans_read() argument 929 tool_peer_mw_trans_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) tool_peer_mw_trans_write() argument 1032 tool_db_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) tool_db_read() argument 1040 tool_db_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) tool_db_write() argument 1053 tool_db_valid_mask_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) tool_db_valid_mask_read() argument 1065 tool_db_mask_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) tool_db_mask_read() argument 1073 tool_db_mask_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) tool_db_mask_write() argument 1086 tool_peer_db_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) tool_peer_db_read() argument 1094 tool_peer_db_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) tool_peer_db_write() argument 1107 tool_peer_db_mask_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) tool_peer_db_mask_read() argument 1116 tool_peer_db_mask_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) tool_peer_db_mask_write() argument 1131 tool_db_event_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) tool_db_event_write() argument 1158 tool_spad_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) tool_spad_read() argument 1174 tool_spad_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) tool_spad_write() argument 1199 tool_peer_spad_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) tool_peer_spad_read() argument 1215 tool_peer_spad_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) tool_peer_spad_write() argument 1281 tool_inmsg_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) tool_inmsg_read() argument 1301 tool_outmsg_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) tool_outmsg_write() argument 1322 tool_msg_sts_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) tool_msg_sts_read() argument 1330 tool_msg_sts_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) tool_msg_sts_write() argument 1343 tool_msg_inbits_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) tool_msg_inbits_read() argument 1355 tool_msg_outbits_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) tool_msg_outbits_read() argument 1367 tool_msg_mask_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) tool_msg_mask_write() argument 1381 tool_msg_event_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) tool_msg_event_write() argument [all...] |
/kernel/linux/linux-6.6/drivers/ntb/test/ |
H A D | ntb_tool.c | 341 static ssize_t tool_fn_read(struct tool_ctx *tc, char __user *ubuf, in tool_fn_read() argument 356 return simple_read_from_buffer(ubuf, size, offp, buf, pos); in tool_fn_read() 360 const char __user *ubuf, in tool_fn_write() 373 buf = memdup_user_nul(ubuf, size); in tool_fn_write() 405 static ssize_t tool_port_read(struct file *filep, char __user *ubuf, in tool_port_read() argument 414 return simple_read_from_buffer(ubuf, size, offp, buf, pos); in tool_port_read() 421 static ssize_t tool_peer_port_read(struct file *filep, char __user *ubuf, in tool_peer_port_read() argument 432 return simple_read_from_buffer(ubuf, size, offp, buf, pos); in tool_peer_port_read() 462 static ssize_t tool_link_write(struct file *filep, const char __user *ubuf, in tool_link_write() argument 469 ret = kstrtobool_from_user(ubuf, siz in tool_link_write() 359 tool_fn_write(struct tool_ctx *tc, const char __user *ubuf, size_t size, loff_t *offp, int (*fn_set)(struct ntb_dev *, u64), int (*fn_clear)(struct ntb_dev *, u64)) tool_fn_write() argument 488 tool_peer_link_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) tool_peer_link_read() argument 509 tool_peer_link_event_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) tool_peer_link_event_write() argument 541 tool_mw_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) tool_mw_read() argument 553 tool_mw_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) tool_mw_write() argument 637 tool_mw_trans_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) tool_mw_trans_read() argument 699 tool_mw_trans_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) tool_mw_trans_write() argument 724 tool_peer_mw_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) tool_peer_mw_read() argument 762 tool_peer_mw_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) tool_peer_mw_write() argument 865 tool_peer_mw_trans_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) tool_peer_mw_trans_read() argument 922 tool_peer_mw_trans_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) tool_peer_mw_trans_write() argument 1025 tool_db_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) tool_db_read() argument 1033 tool_db_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) tool_db_write() argument 1046 tool_db_valid_mask_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) tool_db_valid_mask_read() argument 1058 tool_db_mask_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) tool_db_mask_read() argument 1066 tool_db_mask_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) tool_db_mask_write() argument 1079 tool_peer_db_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) tool_peer_db_read() argument 1087 tool_peer_db_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) tool_peer_db_write() argument 1100 tool_peer_db_mask_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) tool_peer_db_mask_read() argument 1109 tool_peer_db_mask_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) tool_peer_db_mask_write() argument 1124 tool_db_event_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) tool_db_event_write() argument 1151 tool_spad_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) tool_spad_read() argument 1167 tool_spad_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) tool_spad_write() argument 1192 tool_peer_spad_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) tool_peer_spad_read() argument 1208 tool_peer_spad_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) tool_peer_spad_write() argument 1274 tool_inmsg_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) tool_inmsg_read() argument 1294 tool_outmsg_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) tool_outmsg_write() argument 1315 tool_msg_sts_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) tool_msg_sts_read() argument 1323 tool_msg_sts_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) tool_msg_sts_write() argument 1336 tool_msg_inbits_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) tool_msg_inbits_read() argument 1348 tool_msg_outbits_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) tool_msg_outbits_read() argument 1360 tool_msg_mask_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) tool_msg_mask_write() argument 1374 tool_msg_event_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) tool_msg_event_write() argument [all...] |
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
H A D | ptrace_32.c | 110 const void *kbuf, const void __user *ubuf) in genregs32_set() 120 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in genregs32_set() 128 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in genregs32_set() 138 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in genregs32_set() 147 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in genregs32_set() 152 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in genregs32_set() 157 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in genregs32_set() 162 return user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, in genregs32_set() 185 const void *kbuf, const void __user *ubuf) in fpregs32_set() 194 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in fpregs32_set() 107 genregs32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) genregs32_set() argument 182 fpregs32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) fpregs32_set() argument 260 setregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) setregs_set() argument 300 setfpregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) setfpregs_set() argument [all...] |
/kernel/linux/linux-6.6/arch/sparc/kernel/ |
H A D | ptrace_32.c | 109 const void *kbuf, const void __user *ubuf) in genregs32_set() 119 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in genregs32_set() 127 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in genregs32_set() 137 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in genregs32_set() 146 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in genregs32_set() 151 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in genregs32_set() 156 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in genregs32_set() 161 user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, 36 * sizeof(u32), in genregs32_set() 185 const void *kbuf, const void __user *ubuf) in fpregs32_set() 194 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in fpregs32_set() 106 genregs32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) genregs32_set() argument 182 fpregs32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) fpregs32_set() argument 260 setregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) setregs_set() argument 300 setfpregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) setfpregs_set() argument [all...] |
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/ |
H A D | opal-lpc.c | 184 static ssize_t lpc_debug_read(struct file *filp, char __user *ubuf, in lpc_debug_read() argument 191 if (!access_ok(ubuf, count)) in lpc_debug_read() 250 rc = __put_user((u32)data, (u32 __user *)ubuf); in lpc_debug_read() 256 rc = __put_user((u16)data, (u16 __user *)ubuf); in lpc_debug_read() 262 rc = __put_user((u8)data, (u8 __user *)ubuf); in lpc_debug_read() 268 ubuf += len; in lpc_debug_read() 275 static ssize_t lpc_debug_write(struct file *filp, const char __user *ubuf, in lpc_debug_write() argument 282 if (!access_ok(ubuf, count)) in lpc_debug_write() 320 rc = __get_user(data, (u32 __user *)ubuf); in lpc_debug_write() 324 rc = __get_user(data, (u16 __user *)ubuf); in lpc_debug_write() [all...] |
/kernel/linux/linux-6.6/arch/powerpc/platforms/powernv/ |
H A D | opal-lpc.c | 184 static ssize_t lpc_debug_read(struct file *filp, char __user *ubuf, in lpc_debug_read() argument 191 if (!access_ok(ubuf, count)) in lpc_debug_read() 250 rc = __put_user((u32)data, (u32 __user *)ubuf); in lpc_debug_read() 256 rc = __put_user((u16)data, (u16 __user *)ubuf); in lpc_debug_read() 262 rc = __put_user((u8)data, (u8 __user *)ubuf); in lpc_debug_read() 268 ubuf += len; in lpc_debug_read() 275 static ssize_t lpc_debug_write(struct file *filp, const char __user *ubuf, in lpc_debug_write() argument 282 if (!access_ok(ubuf, count)) in lpc_debug_write() 320 rc = __get_user(data, (u32 __user *)ubuf); in lpc_debug_write() 324 rc = __get_user(data, (u16 __user *)ubuf); in lpc_debug_write() [all...] |