Home
last modified time | relevance | path

Searched refs:copy_to_user (Results 1 - 9 of 9) sorted by relevance

/third_party/ltp/testcases/kernel/device-drivers/dev_sim_framework/kernel_space/
H A Dtmod.c171 * to user space, using copy_to_user if needed in tmod_ioctl()
176 if (copy_to_user(tif.out_data, outparms, tif.out_len)) { in tmod_ioctl()
177 printk("tpci: Unsuccessful copy_to_user of outparms\n"); in tmod_ioctl()
183 if (copy_to_user((void *)l, &tif, sizeof(tif))) { in tmod_ioctl()
184 printk("tpci: Unsuccessful copy_to_user of tif\n"); in tmod_ioctl()
/third_party/backends/backend/
H A Dplustek-pp_sysdep.h168 # define copy_to_user(t,f,n) (memcpy_tofs(t,f,n), 0) macro
169 # define __copy_to_user(t,f,n) copy_to_user((t),(f),(n))
170 # define copy_to_user_ret(t,f,n,r) copy_to_user((t),(f),(n))
H A Dplustek-pp_ptdrv.c163 static unsigned long copy_to_user( pVoid dest, pVoid src, unsigned long len ) in copy_to_user() function
869 if (copy_to_user((pScanInfo)arg, &sInf, sizeof(ScanInfo))) in ptdrvIoctl()
895 if (copy_to_user((pStartScan)arg, pstart, sizeof(StartScan))) in ptdrvIoctl()
1136 if (copy_to_user( buffer, scaleBuf, in ptdrvRead()
1141 if (copy_to_user( buffer, ps->Scan.bp.pMonoBuf, in ptdrvRead()
/third_party/ltp/testcases/kernel/device-drivers/uaccess/
H A Dltp_uaccess.c81 if (copy_to_user(str + 1, test_str + 1, str_size - 1)) { in sys_tcase()
82 prk_err("copy_to_user() failed"); in sys_tcase()
/third_party/ltp/tools/sparse/sparse-src/
H A Dident-list.h78 IDENT(copy_to_user); IDENT(copy_from_user); variable
/third_party/ltp/testcases/kernel/device-drivers/base/tbase/
H A Dtbase.c375 * to user space, using copy_to_user if needed in tbase_ioctl()
380 if (copy_to_user(tif.out_data, outparms, tif.out_len)) { in tbase_ioctl()
382 ("tbase: Unsuccessful copy_to_user of outparms\n"); in tbase_ioctl()
388 if (copy_to_user((void *)l, &tif, sizeof(tif))) { in tbase_ioctl()
389 printk("tbase: Unsuccessful copy_to_user of tif\n"); in tbase_ioctl()
/third_party/ltp/testcases/kernel/device-drivers/usb/tusb/
H A Dtusb.c263 if (copy_to_user(tif.out_data, outparms, tif.out_len)) { in tusb_ioctl()
264 printk("tpci: Unsuccessful copy_to_user of outparms\n"); in tusb_ioctl()
270 if (copy_to_user((void *)l, &tif, sizeof(tif))) { in tusb_ioctl()
271 printk("tpci: Unsuccessful copy_to_user of tif\n"); in tusb_ioctl()
/third_party/ltp/testcases/kernel/device-drivers/agp/kernel_space/
H A Dtagp.c254 * to user space, using copy_to_user if needed in tagp_ioctl()
259 if (copy_to_user(tif.out_data, outparms, tif.out_len)) { in tagp_ioctl()
260 printk("tpci: Unsuccessful copy_to_user of outparms\n"); in tagp_ioctl()
266 if (copy_to_user((void *)l, &tif, sizeof(tif))) { in tagp_ioctl()
267 printk("tpci: Unsuccessful copy_to_user of tif\n"); in tagp_ioctl()
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/
H A Dkernel.h444 static inline unsigned long copy_to_user(void *to, const void *from, unsigned long n) in copy_to_user() function

Completed in 7 milliseconds