Searched refs:ubuf (Results 1 - 25 of 210) sorted by relevance

123456789

/linux-master/drivers/dma-buf/
H A Dudmabuf.c36 struct udmabuf *ubuf = vma->vm_private_data; local
39 if (pgoff >= ubuf->pagecount)
41 vmf->page = ubuf->pages[pgoff];
52 struct udmabuf *ubuf = buf->priv; local
58 vma->vm_private_data = ubuf;
64 struct udmabuf *ubuf = buf->priv; local
69 vaddr = vm_map_ram(ubuf->pages, ubuf->pagecount, -1);
79 struct udmabuf *ubuf = buf->priv; local
83 vm_unmap_ram(map->vaddr, ubuf
89 struct udmabuf *ubuf = buf->priv; local
135 struct udmabuf *ubuf = buf->priv; local
151 struct udmabuf *ubuf = buf->priv; local
172 struct udmabuf *ubuf = buf->priv; local
204 struct udmabuf *ubuf; local
[all...]
/linux-master/drivers/misc/sgi-gru/
H A Dgrukdump.c37 void __user *ubuf, int ctxnum, int dsrcnt,
51 if (gru_user_copy_handle(&ubuf, cb))
53 if (gru_user_copy_handle(&ubuf, tfh + i * GRU_HANDLE_STRIDE))
55 if (gru_user_copy_handle(&ubuf, cbe + i * GRU_HANDLE_STRIDE))
60 memcpy(ubuf, gseg + GRU_DS_BASE, dsrcnt * GRU_HANDLE_STRIDE);
68 void __user *ubuf, void __user *ubufend)
73 if (GRU_NUM_TFM * GRU_CACHE_LINE_BYTES > ubufend - ubuf)
78 if (gru_user_copy_handle(&ubuf, tfm))
88 void __user *ubuf, void __user *ubufend)
93 if (GRU_NUM_TGH * GRU_CACHE_LINE_BYTES > ubufend - ubuf)
35 gru_dump_context_data(void *grubase, struct gru_context_configuration_handle *cch, void __user *ubuf, int ctxnum, int dsrcnt, int flush_cbrs) argument
67 gru_dump_tfm(struct gru_state *gru, void __user *ubuf, void __user *ubufend) argument
87 gru_dump_tgh(struct gru_state *gru, void __user *ubuf, void __user *ubufend) 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) argument
179 void __user *ubuf; local
[all...]
/linux-master/arch/x86/kernel/
H A Dsys_ia32.c68 SYSCALL_DEFINE5(ia32_pread64, unsigned int, fd, char __user *, ubuf,
71 return ksys_pread64(fd, ubuf, count,
75 SYSCALL_DEFINE5(ia32_pwrite64, unsigned int, fd, const char __user *, ubuf,
78 return ksys_pwrite64(fd, ubuf, count,
132 static int cp_stat64(struct stat64 __user *ubuf, struct kstat *stat) argument
134 typeof(ubuf->st_uid) uid = 0;
135 typeof(ubuf->st_gid) gid = 0;
138 if (!user_write_access_begin(ubuf, sizeof(struct stat64)))
140 unsafe_put_user(huge_encode_dev(stat->dev), &ubuf->st_dev, Efault);
141 unsafe_put_user(stat->ino, &ubuf
[all...]
/linux-master/include/linux/
H A Dbitmap-str.h5 int bitmap_parse_user(const char __user *ubuf, unsigned int ulen, unsigned long *dst, int nbits);
13 int bitmap_parselist_user(const char __user *ubuf, unsigned int ulen,
H A Dregset.h108 * @ubuf: if @kbuf is %NULL, a user-space pointer to copy from
113 * buffer is used and @ubuf is ignored. If @kbuf is %NULL, then
114 * ubuf gives a userland pointer to access directly, and an -%EFAULT
120 const void *kbuf, const void __user *ubuf);
255 const void __user **ubuf, void *data,
268 } else if (__copy_from_user(data, *ubuf, copy))
271 *ubuf += copy;
281 const void __user **ubuf,
294 *ubuf += copy;
253 user_regset_copyin(unsigned int *pos, unsigned int *count, const void **kbuf, const void __user **ubuf, void *data, const int start_pos, const int end_pos) argument
/linux-master/drivers/media/pci/saa7164/
H A Dsaa7164-vbi.c33 struct saa7164_user_buffer *ubuf; local
47 ubuf = list_entry(p, struct saa7164_user_buffer, list);
49 saa7164_buffer_dealloc_user(ubuf);
54 ubuf = list_entry(l, struct saa7164_user_buffer, list);
56 saa7164_buffer_dealloc_user(ubuf);
70 struct saa7164_user_buffer *ubuf; local
124 ubuf = saa7164_buffer_alloc_user(dev, len);
125 if (ubuf) {
127 list_add_tail(&ubuf->list, &port->list_buf_free.list);
274 struct saa7164_user_buffer *ubuf; local
465 struct saa7164_user_buffer *ubuf = NULL; local
496 struct saa7164_user_buffer *ubuf = NULL; local
[all...]
H A Dsaa7164-encoder.c64 struct saa7164_user_buffer *ubuf; local
78 ubuf = list_entry(p, struct saa7164_user_buffer, list);
80 saa7164_buffer_dealloc_user(ubuf);
85 ubuf = list_entry(l, struct saa7164_user_buffer, list);
87 saa7164_buffer_dealloc_user(ubuf);
101 struct saa7164_user_buffer *ubuf; local
171 ubuf = saa7164_buffer_alloc_user(dev, len);
172 if (ubuf) {
174 list_add_tail(&ubuf->list, &port->list_buf_free.list);
590 struct saa7164_user_buffer *ubuf; local
760 struct saa7164_user_buffer *ubuf = NULL; local
792 struct saa7164_user_buffer *ubuf = NULL; local
[all...]
/linux-master/arch/powerpc/kernel/ptrace/
H A Dptrace-decl.h75 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 Dptrace-novsx.c51 const void *kbuf, const void __user *ubuf)
59 return user_regset_copyin(&pos, &count, &kbuf, &ubuf,
49 fpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
H A Dptrace-altivec.c81 const void *kbuf, const void __user *ubuf)
90 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
108 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &vrsave,
79 vr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
H A Dptrace-spe.c41 const void *kbuf, const void __user *ubuf)
47 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
55 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
39 evr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
H A Dptrace-tm.c121 * @ubuf: User buffer to copy from.
136 const void *kbuf, const void __user *ubuf)
151 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
156 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &reg,
167 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
173 user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf,
178 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &reg,
186 user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf,
259 * @ubuf: User buffer to copy from.
275 const void *kbuf, const void __user *ubuf)
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) 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) 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) 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) 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) 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) 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) 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) 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) argument
[all...]
H A Dptrace-vsx.c51 const void *kbuf, const void __user *ubuf)
63 i = user_regset_copyin(&pos, &count, &kbuf, &ubuf, buf, 0, -1);
128 const void *kbuf, const void __user *ubuf)
141 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
49 fpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
126 vsr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
H A Dptrace-view.c240 const void __user *ubuf)
248 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
253 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &reg,
264 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
270 user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf,
275 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &reg,
283 user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf,
301 const void __user *ubuf)
306 return user_regset_copyin(&pos, &count, &kbuf, &ubuf,
317 const void __user *ubuf)
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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) argument
[all...]
/linux-master/arch/openrisc/kernel/
H A Dptrace.c67 const void *kbuf, const void __user * ubuf)
73 user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, 0, 4);
75 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
79 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
86 user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, 4*33, -1);
108 const void *kbuf, const void __user *ubuf)
114 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
64 genregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user * ubuf) argument
105 fpregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
/linux-master/arch/sparc/kernel/
H A Dptrace_32.c109 const void *kbuf, const void __user *ubuf)
119 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
127 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
137 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
146 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
151 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
156 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
161 user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, 36 * sizeof(u32),
185 const void *kbuf, const void __user *ubuf)
194 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
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) 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) 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) 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) argument
[all...]
H A Dptrace_64.c270 const void *kbuf, const void __user *ubuf)
278 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
287 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
301 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
317 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
326 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
335 user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf,
374 const void *kbuf, const void __user *ubuf)
383 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
387 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
267 genregs64_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
371 fpregs64_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
457 setregs64_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
558 genregs32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
698 fpregs32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
795 setregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
846 setfpregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
[all...]
/linux-master/drivers/ntb/test/
H A Dntb_tool.c341 static ssize_t tool_fn_read(struct tool_ctx *tc, char __user *ubuf, argument
356 return simple_read_from_buffer(ubuf, size, offp, buf, pos);
360 const char __user *ubuf,
373 buf = memdup_user_nul(ubuf, size);
405 static ssize_t tool_port_read(struct file *filep, char __user *ubuf, argument
414 return simple_read_from_buffer(ubuf, size, offp, buf, pos);
421 static ssize_t tool_peer_port_read(struct file *filep, char __user *ubuf, argument
432 return simple_read_from_buffer(ubuf, size, offp, buf, pos);
462 static ssize_t tool_link_write(struct file *filep, const char __user *ubuf, argument
469 ret = kstrtobool_from_user(ubuf, siz
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)) argument
488 tool_peer_link_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) argument
509 tool_peer_link_event_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) argument
541 tool_mw_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) argument
553 tool_mw_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) argument
637 tool_mw_trans_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) argument
699 tool_mw_trans_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) argument
724 tool_peer_mw_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) argument
762 tool_peer_mw_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) argument
865 tool_peer_mw_trans_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) argument
922 tool_peer_mw_trans_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) argument
1025 tool_db_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) argument
1033 tool_db_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) argument
1046 tool_db_valid_mask_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) argument
1058 tool_db_mask_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) argument
1066 tool_db_mask_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) argument
1079 tool_peer_db_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) argument
1087 tool_peer_db_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) argument
1100 tool_peer_db_mask_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) argument
1109 tool_peer_db_mask_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) argument
1124 tool_db_event_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) argument
1151 tool_spad_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) argument
1167 tool_spad_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) argument
1192 tool_peer_spad_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) argument
1208 tool_peer_spad_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) argument
1274 tool_inmsg_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) argument
1294 tool_outmsg_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) argument
1315 tool_msg_sts_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) argument
1323 tool_msg_sts_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) argument
1336 tool_msg_inbits_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) argument
1348 tool_msg_outbits_read(struct file *filep, char __user *ubuf, size_t size, loff_t *offp) argument
1360 tool_msg_mask_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) argument
1374 tool_msg_event_write(struct file *filep, const char __user *ubuf, size_t size, loff_t *offp) argument
[all...]
/linux-master/drivers/net/wireless/marvell/mwifiex/
H A Ddebugfs.c62 mwifiex_info_read(struct file *file, char __user *ubuf, argument
136 ret = simple_read_from_buffer(ubuf, count, ppos, (char *) page,
166 mwifiex_getlog_read(struct file *file, char __user *ubuf, argument
223 ret = simple_read_from_buffer(ubuf, count, ppos, (char *) page,
242 mwifiex_histogram_read(struct file *file, char __user *ubuf, argument
312 ret = simple_read_from_buffer(ubuf, count, ppos, (char *)page,
321 mwifiex_histogram_write(struct file *file, const char __user *ubuf, argument
381 mwifiex_debug_read(struct file *file, char __user *ubuf, argument
399 ret = simple_read_from_buffer(ubuf, count, ppos, (char *) page,
418 const char __user *ubuf, size_
417 mwifiex_regrdwr_write(struct file *file, const char __user *ubuf, size_t count, loff_t *ppos) argument
455 mwifiex_regrdwr_read(struct file *file, char __user *ubuf, size_t count, loff_t *ppos) argument
509 mwifiex_debug_mask_read(struct file *file, char __user *ubuf, size_t count, loff_t *ppos) argument
535 mwifiex_debug_mask_write(struct file *file, const char __user *ubuf, size_t count, loff_t *ppos) argument
563 mwifiex_verext_write(struct file *file, const char __user *ubuf, size_t count, loff_t *ppos) argument
584 mwifiex_verext_read(struct file *file, char __user *ubuf, size_t count, loff_t *ppos) argument
604 mwifiex_memrw_write(struct file *file, const char __user *ubuf, size_t count, loff_t *ppos) argument
651 mwifiex_memrw_read(struct file *file, char __user *ubuf, size_t count, loff_t *ppos) argument
680 mwifiex_rdeeprom_write(struct file *file, const char __user *ubuf, size_t count, loff_t *ppos) argument
717 mwifiex_rdeeprom_read(struct file *file, char __user *ubuf, size_t count, loff_t *ppos) argument
760 mwifiex_hscfg_write(struct file *file, const char __user *ubuf, size_t count, loff_t *ppos) argument
819 mwifiex_hscfg_read(struct file *file, char __user *ubuf, size_t count, loff_t *ppos) argument
844 mwifiex_timeshare_coex_read(struct file *file, char __user *ubuf, size_t count, loff_t *ppos) argument
866 mwifiex_timeshare_coex_write(struct file *file, const char __user *ubuf, size_t count, loff_t *ppos) argument
889 mwifiex_reset_write(struct file *file, const char __user *ubuf, size_t count, loff_t *ppos) argument
[all...]
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_display_debugfs_params.c31 const char __user *ubuf, size_t len,
38 ret = kstrtoint_from_user(ubuf, len, 0, value);
43 ret = kstrtobool_from_user(ubuf, len, &b);
84 const char __user *ubuf, size_t len,
91 ret = kstrtouint_from_user(ubuf, len, 0, value);
96 ret = kstrtobool_from_user(ubuf, len, &b);
30 intel_display_param_int_write(struct file *file, const char __user *ubuf, size_t len, loff_t *offp) argument
83 intel_display_param_uint_write(struct file *file, const char __user *ubuf, size_t len, loff_t *offp) argument
/linux-master/arch/powerpc/platforms/powernv/
H A Dopal-lpc.c184 static ssize_t lpc_debug_read(struct file *filp, char __user *ubuf, argument
191 if (!access_ok(ubuf, count))
250 rc = __put_user((u32)data, (u32 __user *)ubuf);
256 rc = __put_user((u16)data, (u16 __user *)ubuf);
262 rc = __put_user((u8)data, (u8 __user *)ubuf);
268 ubuf += len;
275 static ssize_t lpc_debug_write(struct file *filp, const char __user *ubuf, argument
282 if (!access_ok(ubuf, count))
320 rc = __get_user(data, (u32 __user *)ubuf);
324 rc = __get_user(data, (u16 __user *)ubuf);
[all...]
/linux-master/arch/x86/kernel/cpu/mce/
H A Ddev-mcelog.c162 static int __mce_read_apei(char __user **ubuf, size_t usize) argument
184 if (copy_to_user(*ubuf, &m, sizeof(struct mce)))
197 *ubuf += sizeof(struct mce);
202 static ssize_t mce_chrdev_read(struct file *filp, char __user *ubuf, argument
205 char __user *buf = ubuf;
213 if (err || buf != ubuf)
241 return err ? err : buf - ubuf;
293 static ssize_t mce_chrdev_write(struct file *filp, const char __user *ubuf, argument
309 if (copy_from_user(&m, ubuf, usize))
/linux-master/drivers/crypto/xilinx/
H A Dzynqmp-sha.c44 static char *ubuf, *fbuf; variable
138 memzero_explicit(ubuf, ZYNQMP_DMA_ALLOC_FIXED_SIZE);
146 memcpy(ubuf, data, update_size);
147 flush_icache_range((unsigned long)ubuf, (unsigned long)ubuf + update_size);
217 ubuf = dma_alloc_coherent(dev, ZYNQMP_DMA_ALLOC_FIXED_SIZE, &update_dma_addr, GFP_KERNEL);
218 if (!ubuf) {
232 dma_free_coherent(sha3_drv_ctx.dev, ZYNQMP_DMA_ALLOC_FIXED_SIZE, ubuf, update_dma_addr);
244 dma_free_coherent(sha3_drv_ctx.dev, ZYNQMP_DMA_ALLOC_FIXED_SIZE, ubuf, update_dma_addr);
/linux-master/drivers/gpu/drm/i915/
H A Di915_debugfs_params.c53 const char __user *ubuf, size_t len,
60 ret = kstrtoint_from_user(ubuf, len, 0, value);
65 ret = kstrtobool_from_user(ubuf, len, &b);
106 const char __user *ubuf, size_t len,
115 ret = kstrtouint_from_user(ubuf, len, 0, value);
120 ret = kstrtobool_from_user(ubuf, len, &b);
169 const char __user *ubuf, size_t len,
177 new = strndup_user(ubuf, PAGE_SIZE);
52 i915_param_int_write(struct file *file, const char __user *ubuf, size_t len, loff_t *offp) argument
105 i915_param_uint_write(struct file *file, const char __user *ubuf, size_t len, loff_t *offp) argument
168 i915_param_charp_write(struct file *file, const char __user *ubuf, size_t len, loff_t *offp) argument
/linux-master/include/linux/io_uring/
H A Dcmd.h27 int io_uring_cmd_import_fixed(u64 ubuf, unsigned long len, int rw,
39 static inline int io_uring_cmd_import_fixed(u64 ubuf, unsigned long len, int rw, argument

Completed in 599 milliseconds

123456789