Searched refs:copy_from_user (Results 251 - 275 of 1025) sorted by relevance

<<11121314151617181920>>

/linux-master/sound/oss/dmasound/
H A Ddmasound_q40.c71 if (copy_from_user(p,userPtr,count))
91 if (copy_from_user(p,userPtr,count))
110 if (copy_from_user(p,userPtr,count))
/linux-master/arch/sparc/kernel/
H A Dsys_sparc_64.c561 if (copy_from_user(&txc, txc_p, sizeof(txc)))
594 if (copy_from_user(&txc, txc_p, sizeof(txc)))
692 if (copy_from_user(&new_ka.sa, act, sizeof(*act)))
/linux-master/arch/sh/kernel/
H A Dtraps_32.c74 copy_from_user,
290 if (copy_from_user(&instruction, addr, sizeof(instruction))) {
508 if (copy_from_user(&instruction, (insn_size_t __user *)(regs->pc & ~1),
/linux-master/drivers/usb/mtu3/
H A Dmtu3_debugfs.c325 if (copy_from_user(&buf, ubuf, min_t(size_t, sizeof(buf) - 1, count)))
453 if (copy_from_user(&buf, ubuf, min_t(size_t, sizeof(buf) - 1, count)))
501 if (copy_from_user(&buf, ubuf, min_t(size_t, sizeof(buf) - 1, count)))
/linux-master/drivers/net/wireless/realtek/rtlwifi/
H A Ddebug.c281 if (copy_from_user(tmp, buffer, tmp_len))
332 if (copy_from_user(tmp, buffer, tmp_len))
378 if (copy_from_user(tmp, buffer, tmp_len))
/linux-master/arch/powerpc/kernel/
H A Drtas_flash.c352 if(copy_from_user(p, buffer, count)) {
419 if (copy_from_user (stkbuf, buf, count))
526 if (copy_from_user(args_buf->buf + *off, buf, count)) {
/linux-master/drivers/fsi/
H A Dfsi-scom.c353 rc = copy_from_user(&val, buf, len);
410 if (copy_from_user(&acc, argp, sizeof(struct scom_access)))
429 if (copy_from_user(&acc, argp, sizeof(struct scom_access)))
/linux-master/drivers/misc/ocxl/
H A Dfile.c79 if (copy_from_user(&arg, uarg, sizeof(arg)))
239 rc = copy_from_user(&irq_offset, (u64 __user *) args,
248 rc = copy_from_user(&irq_fd, (u64 __user *) args,
/linux-master/net/core/
H A Ddev_ioctl.c49 if (copy_from_user(&ifc32, uifc, sizeof(struct compat_ifconf)))
58 if (copy_from_user(&ifc, uifc, sizeof(struct ifconf)))
376 if (copy_from_user(&cfg, ifr->ifr_data, sizeof(cfg)))
/linux-master/arch/riscv/kvm/
H A Dvcpu.c231 if (copy_from_user(&irq, argp, sizeof(irq)))
256 if (copy_from_user(&reg, argp, sizeof(reg)))
271 if (copy_from_user(&reg_list, user_list, sizeof(reg_list)))
/linux-master/fs/bcachefs/
H A Dfs-ioctl.c156 if (copy_from_user(&fa, arg, sizeof(fa)))
523 ret = copy_from_user(&i, (void __user *) arg, sizeof(i))
532 ret = copy_from_user(&i, (void __user *) arg, sizeof(i))
/linux-master/mm/
H A Dutil.c218 if (copy_from_user(p, src, len)) {
244 if (copy_from_user(p, src, len)) {
297 * Always use GFP_KERNEL, since copy_from_user() can sleep and
305 if (copy_from_user(p, src, len)) {
/linux-master/drivers/vfio/pci/nvgrace-gpu/
H A Dmain.c211 if (copy_from_user(&info, (void __user *)arg, minsz))
390 if (copy_from_user((void *)&memregion->bar_val + register_offset,
585 if (copy_from_user((u8 *)nvdev->usemem.memaddr + pos,
/linux-master/drivers/misc/
H A Dfastrpc.c1030 if (copy_from_user(dst, (void __user *)src,
1252 if (copy_from_user(&init, argp, sizeof(init))) {
1268 if (copy_from_user(name, (void __user *)(uintptr_t)init.name, init.namelen)) {
1378 if (copy_from_user(&init, argp, sizeof(init))) {
1607 if (copy_from_user(&bp, argp, sizeof(bp)))
1668 if (copy_from_user(&inv, argp, sizeof(inv)))
1678 if (copy_from_user(args, (void __user *)(uintptr_t)inv.args,
1760 if (copy_from_user(&cap, argp, sizeof(cap)))
1829 if (copy_from_user(&req, argp, sizeof(req)))
1862 if (copy_from_user(
[all...]
/linux-master/drivers/char/xilinx_hwicap/
H A Dxilinx_hwicap.c478 if (copy_from_user(
487 if (copy_from_user(kbuf, buf + written, len)) {
511 if (!copy_from_user(drvdata->write_buffer,
/linux-master/drivers/staging/greybus/
H A Dfw-management.c434 if (copy_from_user(&backend_fw_info, buf,
449 if (copy_from_user(&intf_load, buf, sizeof(intf_load)))
472 if (copy_from_user(&backend_update, buf,
/linux-master/io_uring/
H A Dkbuf.c619 if (copy_from_user(&reg, arg, sizeof(reg)))
678 if (copy_from_user(&reg, arg, sizeof(reg)))
702 if (copy_from_user(&buf_status, arg, sizeof(buf_status)))
/linux-master/drivers/net/wireless/ath/ath5k/
H A Ddebug.c231 if (copy_from_user(buf, userbuf, count))
333 if (copy_from_user(buf, userbuf, count))
438 if (copy_from_user(buf, userbuf, count))
611 if (copy_from_user(buf, userbuf, count))
760 if (copy_from_user(buf, userbuf, count))
858 if (copy_from_user(buf, userbuf, count))
/linux-master/drivers/misc/genwqe/
H A Dcard_dev.c554 rc = copy_from_user(xbuf, buf, tocopy);
1022 if (copy_from_user(cmd, (void __user *)arg, sizeof(*cmd))) {
1159 if (copy_from_user(&load, (void __user *)arg,
1180 if (copy_from_user(&load, (void __user *)arg, sizeof(load)))
1195 if (copy_from_user(&m, (void __user *)arg, sizeof(m)))
1204 if (copy_from_user(&m, (void __user *)arg, sizeof(m)))
/linux-master/fs/
H A Dselect.c394 return copy_from_user(fdset, ufdset, nr) ? -EFAULT : 0;
712 if (copy_from_user(&tv, tvp, sizeof(tv)))
781 // the path is hot enough for overhead of copy_from_user() to matter
834 if (copy_from_user(&a, arg, sizeof(a)))
998 if (copy_from_user(walk->entries, ufds + nfds-todo,
1275 if (copy_from_user(&tv, tvp, sizeof(tv)))
1308 if (copy_from_user(&a, arg, sizeof(a)))
/linux-master/virt/kvm/
H A Dkvm_main.c2385 if (copy_from_user(dirty_bitmap_buffer, log->dirty_bitmap, n))
4538 if (copy_from_user(&mp_state, argp, sizeof(mp_state)))
4547 if (copy_from_user(&tr, argp, sizeof(tr)))
4562 if (copy_from_user(&dbg, argp, sizeof(dbg)))
4575 if (copy_from_user(&kvm_sigmask, argp,
4582 if (copy_from_user(&sigset, sigmask_arg->sigset,
4647 if (copy_from_user(&kvm_sigmask, argp,
4691 if (copy_from_user(&attr, (void __user *)arg, sizeof(attr)))
5131 if (copy_from_user(&cap, argp, sizeof(cap)))
5160 if (copy_from_user(
[all...]
/linux-master/arch/x86/kernel/cpu/mtrr/
H A Dif.c176 if (copy_from_user(&sentry, arg, sizeof(sentry)))
181 if (copy_from_user(&gentry, arg, sizeof(gentry)))
/linux-master/kernel/time/
H A Ditimer.c317 if (copy_from_user(&v, i, sizeof(struct __kernel_old_itimerval)))
363 if (copy_from_user(&v32, i, sizeof(struct old_itimerval32)))
/linux-master/drivers/misc/cxl/
H A Dflash.c295 if (copy_from_user(dest, from, s_copy))
379 if (copy_from_user(&ai, uai, sizeof(struct cxl_adapter_image)))
/linux-master/drivers/remoteproc/
H A Dremoteproc_debugfs.c82 ret = copy_from_user(buf, user_buf, count);
219 ret = copy_from_user(buf, user_buf, count);

Completed in 285 milliseconds

<<11121314151617181920>>