Home
last modified time | relevance | path

Searched refs:copyin (Results 1 – 25 of 440) sorted by relevance

12345678910>>...18

/netbsd/src/sys/compat/netbsd32/
Dnetbsd32_drm.c99 if ((error = copyin(&v32, arg, sizeof(v32))) != 0) in compat_drm_version()
136 if ((error = copyin(&uq32, arg, sizeof(uq32))) != 0) in compat_drm_getunique()
162 if ((error = copyin(&uq32, arg, sizeof(uq32))) != 0) in compat_drm_setunique()
217 if ((error = copyin(&m32, arg, sizeof(m32))) != 0) in compat_drm_getmap()
238 if ((error = copyin(&m32, arg, sizeof(m32))) != 0) in compat_drm_addmap()
259 if ((error = copyin(&m32, arg, sizeof(m32))) != 0) in compat_drm_rmmap()
308 if ((error = copyin(&c32, arg, sizeof(c32))) != 0) in compat_drm_getclient()
337 if ((error = copyin(&st32, arg, sizeof(st32))) != 0) in compat_drm_getstats()
374 if ((error = copyin(&buf32, arg, sizeof(buf32))) != 0) in compat_drm_addbufs()
397 if ((error = copyin(&b32, arg, sizeof(b32))) != 0) in compat_drm_markbufs()
[all …]
Dnetbsd32_select.c68 error = copyin(SCARG_P32(uap, tv), &tv32, sizeof(tv32)); in netbsd32___select50()
102 error = copyin(SCARG_P32(uap, ts), &ts32, sizeof(ts32)); in netbsd32___pselect50()
109 error = copyin(SCARG_P32(uap, mask), &amask, sizeof(amask)); in netbsd32___pselect50()
135 error = copyin(SCARG_P32(uap, ts), &ts32, sizeof(ts32)); in netbsd32___pollts50()
142 error = copyin(SCARG_P32(uap, mask), &amask, sizeof(amask)); in netbsd32___pollts50()
Dnetbsd32_compat_50.c96 error = copyin(tptr, tv32, sizeof(tv32)); in get_utimes32()
135 error = copyin(SCARG_P32(uap, tv), &tv32, sizeof(tv32)); in compat_50_netbsd32_select()
211 if ((error = copyin(SCARG_P32(uap, tv), &atv32, sizeof(atv32))) != 0) in compat_50_netbsd32_settimeofday()
276 error = copyin(SCARG_P32(uap, delta), &atv, sizeof(atv)); in compat_50_netbsd32_adjtime()
349 if ((error = copyin(SCARG_P32(uap, tp), &ts32, sizeof(ts32))) != 0) in compat_50_netbsd32_clock_settime()
394 if ((error = copyin(SCARG_P32(uap, value), &its32, sizeof(its32))) != 0) in compat_50_netbsd32_timer_settime()
450 error = copyin(SCARG_P32(uap, rqtp), &ts32, sizeof(ts32)); in compat_50_netbsd32_nanosleep()
483 error = copyin(src, &ts32, sizeof(ts32)); in compat_50_netbsd32_sigtimedwait_fetch_timeout()
519 copyin, in compat_50_netbsd32___sigtimedwait()
564 error = copyin(SCARG_P32(uap, ts), &ts32, sizeof ts32); in compat_50_netbsd32__lwp_park()
[all …]
Dnetbsd32_mqueue.c65 error = copyin(SCARG_P32(uap, attr), &attr32, sizeof(attr32)); in netbsd32_mq_open()
138 error = copyin(SCARG_P32(uap, mqstat), &attr32, sizeof(attr32)); in netbsd32_mq_setattr()
189 error = copyin(SCARG_P32(uap, notification), &sig32, in netbsd32_mq_notify()
275 error = copyin(SCARG_P32(uap, abs_timeout), &ts32, in netbsd32___mq_timedsend50()
307 error = copyin(SCARG_P32(uap, abs_timeout), &ts32, in netbsd32___mq_timedreceive50()
345 error = copyin(SCARG_P32(uap, abs_timeout), &ts32, in compat_50_netbsd32_mq_timedsend()
378 error = copyin(SCARG_P32(uap, abs_timeout), &ts32, in compat_50_netbsd32_mq_timedreceive()
Dnetbsd32_time.c104 if ((error = copyin(SCARG_P32(uap, tp), &ntv32, sizeof(ntv32)))) in netbsd32_ntp_adjtime()
148 if ((error = copyin(itv32, &s32it, sizeof(s32it)))) in netbsd32___setitimer50()
242 if ((error = copyin(SCARG_P32(uap, tv), &atv32, sizeof(atv32))) != 0) in netbsd32___settimeofday50()
283 error = copyin(SCARG_P32(uap, delta), &atv, sizeof(atv)); in netbsd32___adjtime50()
327 if ((error = copyin(SCARG_P32(uap, tp), &ts32, sizeof(ts32))) != 0) in netbsd32___clock_settime50()
368 error = copyin(SCARG_P32(uap, rqtp), &ts32, sizeof(ts32)); in netbsd32___nanosleep50()
396 error = copyin(SCARG_P32(uap, rqtp), &ts32, sizeof(ts32)); in netbsd32_clock_nanosleep()
422 error = copyin(src, &ev32, sizeof(ev32)); in netbsd32_timer_create_fetch()
469 if ((error = copyin(SCARG_P32(uap, value), &its32, sizeof(its32))) != 0) in netbsd32___timer_settime50()
553 if ((error = copyin(SCARG_P32(uap, new_value), &its32, in netbsd32_timerfd_settime()
Dnetbsd32_compat_50_sysv.c101 error = copyin(SCARG_P32(uap, arg), &karg32, in do_netbsd32___semctl14()
118 error = copyin(NETBSD32PTR64(karg32.buf), &sembuf32, in do_netbsd32___semctl14()
155 error = copyin(SCARG_P32(uap, buf), &ds32, sizeof(ds32)); in compat_50_netbsd32___msgctl13()
189 error = copyin(SCARG_P32(uap, buf), &ds32, sizeof(ds32)); in compat_50_netbsd32___shmctl13()
Dnetbsd32_nfssvc.c66 error = copyin(argp, &args32, sizeof args32); in nfssvc32_addsock_in()
82 error = copyin(argp, &args32, sizeof args32); in nfssvc32_setexports_in()
98 error = copyin(argp, &args32, sizeof args32); in nfssvc32_nsd_in()
147 error = copyin(argp32, &exp32, sizeof exp32); in nfssvc32_exp_in()
Dnetbsd32_epoll.c74 error = copyin(SCARG_P32(uap, event), &ee32, sizeof(ee32)); in netbsd32_epoll_ctl()
110 error = copyin(SCARG_P32(uap, timeout), &ts32, sizeof(ts32)); in netbsd32_epoll_pwait2()
120 error = copyin(SCARG_P32(uap, sigmask), &ss, sizeof(ss)); in netbsd32_epoll_pwait2()
Dnetbsd32_ipc.c147 error = copyin(SCARG_P32(uap, arg), &karg32, sizeof(karg32)); in netbsd32_____semctl50()
162 error = copyin(NETBSD32PTR64(karg32.buf), &sembuf32, in netbsd32_____semctl50()
244 error = copyin(SCARG_P32(uap, buf), &ds32, sizeof(ds32)); in netbsd32___msgctl50()
284 error = copyin(src, &l32, sizeof(l32)); in netbsd32_msgsnd_fetch_type()
369 error = copyin(SCARG_P32(uap, buf), &ds32, sizeof(ds32)); in netbsd32___shmctl50()
Dnetbsd32_execve.c59 error = copyin(a32 + index, &e, sizeof(e)); in netbsd32_execve_fetch_element()
125 error = copyin(ufa, &fa32, sizeof(fa32)); in netbsd32_posix_spawn_fa_alloc()
145 error = copyin(NETBSD32PTR64(fa32.fae), fae32, fal32); in netbsd32_posix_spawn_fa_alloc()
223 error = copyin(SCARG_P32(uap, attrp), sa, sizeof(*sa)); in netbsd32_posix_spawn()
/netbsd/src/sys/arch/mips/mips/
Dmips_emul.c316 if (copyin((void *)vaddr, t, 4) != 0) { in mips_emul_ll()
360 if (copyin((void *)vaddr, &value, 4) != 0) { in mips_emul_sc()
429 error = copyin((void *)vaddr, &tmp64, sizeof(tmp64)); in mips_emul_special3()
438 error = copyin((void *)vaddr, &tmp32, sizeof(tmp32)); in mips_emul_special3()
446 error = copyin((void *)vaddr, &tmp16, sizeof(tmp16)); in mips_emul_special3()
452 error = copyin((void *)vaddr, &tmp8, sizeof(tmp8)); in mips_emul_special3()
515 if (copyin((void *)vaddr, t, 4) != 0) { in mips_emul_lwc1()
547 if (copyin((void *)vaddr, t, 4) != 0) { in mips_emul_lwc1()
576 if (copyin((void *)vaddr, t, 8) != 0) { in mips_emul_ldc1()
690 if (copyin((void *)vaddr, &x, 1) != 0) { in mips_emul_lb()
[all …]
/netbsd/src/sys/compat/common/
Dkern_select_50.c67 error = copyin(src, &ts50, sizeof(ts50)); in compat_50_kevent_fetch_timeout()
116 error = copyin(SCARG(uap, tv), (void *)&atv50, sizeof(atv50)); in compat_50_sys_select()
150 error = copyin(SCARG(uap, ts), &ats50, sizeof(ats50)); in compat_50_sys_pselect()
157 error = copyin(SCARG(uap, mask), &amask, sizeof(amask)); in compat_50_sys_pselect()
183 error = copyin(SCARG(uap, ts), &ats50, sizeof(ats50)); in compat_50_sys_pollts()
190 error = copyin(SCARG(uap, mask), &amask, sizeof(amask)); in compat_50_sys_pollts()
Dkern_time_50.c141 error = copyin(SCARG(uap, tp), &ats50, sizeof(ats50)); in compat_50_sys_clock_settime()
188 error = copyin(SCARG(uap, rqtp), &rqt50, sizeof(rqt50)); in compat_50_sys_nanosleep()
248 int error = copyin(SCARG(uap, tv), &atv50, sizeof(atv50)); in compat_50_sys_settimeofday()
273 error = copyin(SCARG(uap, delta), &delta50, in compat_50_sys_adjtime()
330 (error = copyin(itvp, &aitv50, sizeof(aitv50))) != 0) in compat_50_sys_setitimer()
366 error = copyin(SCARG(uap, timeout), &ts50, in compat_50_sys_aio_suspend()
373 error = copyin(SCARG(uap, list), list, nent * sizeof(*list)); in compat_50_sys_aio_suspend()
403 error = copyin(SCARG(uap, abs_timeout), &ts50, sizeof(ts50)); in compat_50_sys_mq_timedsend()
438 error = copyin(SCARG(uap, abs_timeout), &ts50, sizeof(ts50)); in compat_50_sys_mq_timedreceive()
517 if ((error = copyin(SCARG(uap, value), &value50, sizeof(value50))) != 0) in compat_50_sys_timer_settime()
Dclockctl_50.c74 error = copyin(args->tv, &tv50, sizeof(tv50)); in compat50_clockctlioctl()
87 error = copyin(args->delta, &atv50, sizeof(atv50)); in compat50_clockctlioctl()
105 error = copyin(args->tp, &tp50, sizeof(tp50)); in compat50_clockctlioctl()
/netbsd/src/sys/compat/linux/common/
Dlinux_cdrom.c157 error = copyin(SCARG(uap, data), &l_msf, sizeof l_msf); in linux_ioctl_cdrom()
172 error = copyin(SCARG(uap, data), &l_ti, sizeof l_ti); in linux_ioctl_cdrom()
197 error = copyin(SCARG(uap, data), &l_tocentry, in linux_ioctl_cdrom()
225 error = copyin(SCARG(uap, data), &l_volctrl, sizeof l_volctrl); in linux_ioctl_cdrom()
252 error = copyin(SCARG(uap, data), &l_subchnl, sizeof l_subchnl); in linux_ioctl_cdrom()
299 error = copyin(SCARG(uap, data), &l_blk, sizeof l_blk); in linux_ioctl_cdrom()
310 error = copyin(SCARG(uap, data), &idata, sizeof idata); in linux_ioctl_cdrom()
346 error = copyin(SCARG(uap, data), &l_session, sizeof l_session); in linux_ioctl_cdrom()
405 error = copyin(SCARG(uap, data), &ds, sizeof ds); in linux_ioctl_cdrom()
415 error = copyin(SCARG(uap, data), &ds, sizeof ds); in linux_ioctl_cdrom()
[all …]
Dlinux_termios.c116 error = copyin(SCARG(uap, data), &tmplts, sizeof tmplts); in linux_ioctl_termios()
150 error = copyin(SCARG(uap, data), &tmplt, sizeof tmplt); in linux_ioctl_termios()
212 error = copyin(SCARG(uap, data), &idat, sizeof idat); in linux_ioctl_termios()
242 error = copyin(SCARG(uap, data), &tioclinux, sizeof tioclinux); in linux_ioctl_termios()
352 error = copyin(SCARG(uap, data), &idat, sizeof(idat)); in linux_ioctl_termios()
/netbsd/src/sys/arch/x86/x86/
Dsys_machdep.c97 if ((error = copyin(args, &ua, sizeof(ua))) != 0) in x86_get_ldt()
190 if ((error = copyin(args, &ua, sizeof(ua))) != 0) in x86_set_ldt()
197 error = copyin(ua.desc, descv, sizeof (*descv) * ua.num); in x86_set_ldt()
359 if ((error = copyin(args, &ua, sizeof(ua))) != 0) in x86_iopl()
409 if ((error = copyin(args, &ua, sizeof(ua))) != 0) in x86_get_ioperm()
443 if ((error = copyin(args, &ua, sizeof(ua))) != 0) in x86_set_ioperm()
447 error = copyin(ua.iomap, new, IOMAPSIZE); in x86_set_ioperm()
488 error = copyin(args, &ua, sizeof ua); in x86_get_mtrr()
492 error = copyin(ua.n, &n, sizeof n); in x86_get_mtrr()
523 error = copyin(args, &ua, sizeof ua); in x86_set_mtrr()
[all …]
/netbsd/src/sys/arch/alpha/alpha/
Dsys_machdep.c107 error = copyin(SCARG(uap, parms), &args, sizeof args); in sys_sysarch()
137 error = copyin(SCARG(uap, parms), &args, sizeof args); in sys_sysarch()
149 error = copyin(SCARG(uap, parms), &args, sizeof(args)); in sys_sysarch()
169 error = copyin(SCARG(uap, parms), &args, sizeof(args)); in sys_sysarch()
197 error = copyin(SCARG(uap, parms), &args, sizeof(args)); in sys_sysarch()
/netbsd/src/sys/compat/ultrix/
Dultrix_ioctl.c489 error = copyin(SCARG(&ap, data), &disc, sizeof disc); in ultrix_sys_ioctl()
506 return copyin(SCARG(&ap, data), &x, sizeof x); in ultrix_sys_ioctl()
528 if ((error = copyin(SCARG(&ap, data), &ss, sizeof(ss))) != 0) in ultrix_sys_ioctl()
588 if ((error = copyin(SCARG(&ap, data), &st, sizeof(st))) != 0) in ultrix_sys_ioctl()
627 error = copyin(SCARG(&ap, data), &sts, sizeof(sts)); in ultrix_sys_ioctl()
640 error = copyin(SCARG(&ap, data), &on, sizeof(on)); in ultrix_sys_ioctl()
648 error = copyin(SCARG(&ap, data), &sig, sizeof(sig)); in ultrix_sys_ioctl()
659 if ((error = copyin(SCARG(&ap, data), \ in ultrix_sys_ioctl()
667 if ((error = copyin(SCARG(&ap, data), &localbuf, \ in ultrix_sys_ioctl()
678 if ((error = copyin(SCARG(&ap, data), &ifreq, sizeof(ifreq))) != 0) \ in ultrix_sys_ioctl()
[all …]
/netbsd/src/usr.bin/mail/
Dhead.c212 copyin(const char *src, char **space) in copyin() function
251 hl->l_from = copyin(word, &sp); in parse()
254 hl->l_tty = copyin(word, &sp); in parse()
257 hl->l_date = copyin(cp, &sp); in parse()
/netbsd/src/sys/ufs/lfs/
Dlfs_syscalls.c122 if ((error = copyin(SCARG(uap, fsidp), &fsid, sizeof(fsid_t))) != 0) in sys_lfs_markv()
135 if ((error = copyin(SCARG(uap, blkiov), blkiov, in sys_lfs_markv()
163 if ((error = copyin(SCARG(uap, fsidp), &fsid, sizeof(fsid_t))) != 0) in sys_lfs_markv()
177 if ((error = copyin(SCARG(uap, blkiov), blkiov15, in sys_lfs_markv()
438 error = copyin(blkp->bi_bp, bp->b_data, blkp->bi_size); in lfs_markv()
540 if ((error = copyin(SCARG(uap, fsidp), &fsid, sizeof(fsid_t))) != 0) in sys_lfs_bmapv()
554 if ((error = copyin(SCARG(uap, blkiov), blkiov, in sys_lfs_bmapv()
582 if ((error = copyin(SCARG(uap, fsidp), &fsid, sizeof(fsid_t))) != 0) in sys_lfs_bmapv()
595 if ((error = copyin(SCARG(uap, blkiov), blkiov15, in sys_lfs_bmapv()
799 if ((error = copyin(SCARG(uap, fsidp), &fsid, sizeof(fsid_t))) != 0) in sys_lfs_segclean()
[all …]
/netbsd/src/sys/compat/linux32/common/
Dlinux32_termios.c124 if ((error = copyin(SCARG_P32(uap, data), in linux32_ioctl_termios()
158 if ((error = copyin(SCARG_P32(uap, data), in linux32_ioctl_termios()
220 if ((error = copyin(SCARG_P32(uap, data), in linux32_ioctl_termios()
250 if ((error = copyin(SCARG_P32(uap, data), in linux32_ioctl_termios()
361 error = copyin(SCARG_P32(uap, data), &idat, sizeof(idat)); in linux32_ioctl_termios()
Dlinux32_time.c202 if ((error = copyin(SCARG_P32(uap, t), &tt32, sizeof tt32)) != 0) in linux32_sys_stime()
223 if ((error = copyin(SCARG_P32(uap, times), &lut, sizeof lut))) in linux32_sys_utime()
289 error = copyin(SCARG_P32(uap, rqtp), &lrqts, sizeof(lrqts)); in linux32_sys_nanosleep()
321 if ((error = copyin(SCARG_P32(uap, tp), &lts, sizeof lts))) in linux32_sys_clock_settime()
399 error = copyin(SCARG_P32(uap, rqtp), &lrqts, sizeof lrqts); in linux32_sys_clock_nanosleep()
449 error = copyin(SCARG(uap, tim), &tim, sizeof(tim)); in linux32_sys_timer_settime()
543 error = copyin(SCARG(uap, tim), &lits, sizeof(lits)); in linux32_sys_timerfd_settime()
/netbsd/src/sys/arch/vax/boot/boot/
Dif_le.c67 static void copyin(int src, void *to, int len);
249 copyin((int)&rdesc[next_rdesc] - (int)initblock, in le_get()
261 copyin((rdesc[next_rdesc].bd_adrflg&0xffffff), in le_get()
297 copyin((int)&tdesc[next_tdesc] - (int)initblock, in le_put()
355 copyin(int src, void *f, int len) in copyin() function
/netbsd/src/sys/dev/ic/
Dbt485.c276 error = copyin(cmapp->red, &r[index], count); in bt485_set_cmap()
279 error = copyin(cmapp->green, &g[index], count); in bt485_set_cmap()
282 error = copyin(cmapp->blue, &b[index], count); in bt485_set_cmap()
337 error = copyin(cursorp->cmap.red, &r[index], count); in bt485_set_cursor()
340 error = copyin(cursorp->cmap.green, &g[index], count); in bt485_set_cursor()
343 error = copyin(cursorp->cmap.blue, &b[index], count); in bt485_set_cursor()
352 error = copyin(cursorp->image, image, icount); in bt485_set_cursor()
355 error = copyin(cursorp->mask, mask, icount); in bt485_set_cursor()

12345678910>>...18