Searched refs:copyin (Results 1 - 25 of 77) sorted by relevance

1234

/macosx-10.5.8/xnu-1228.15.4/bsd/man/man9/
H A DMakefile11 copyin.9 \
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dmisc.c45 * copyin/out_multiple - the assembler copyin/out functions jump to C for
46 * help when the copyin lies over a segment boundary. The C breaks
77 first_result = copyin(CAST_USER_ADDR_T(src), dst, first_count);
84 return copyin(CAST_USER_ADDR_T(midpoint), dst + first_count, count-first_count);
H A DAltiAssist.s52 ; automatically, but actual faults (ala copyin/copyout) are not. If
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkern_time.c159 error = copyin(uap->tv, &user_atv, sizeof(struct user_timeval));
163 error = copyin(uap->tv, &atv, sizeof(struct timeval));
168 if (uap->tzp && (error = copyin(uap->tzp, (caddr_t)&atz, sizeof(atz))))
210 error = copyin(uap->delta, &user_atv, sizeof(struct user_timeval));
214 error = copyin(uap->delta, &atv, sizeof(struct timeval));
359 * copyin:EFAULT Bad address
376 if ((error = copyin(itvp, (caddr_t)&user_itv, sizeof (struct user_itimerval))))
383 if ((error = copyin(itvp, (caddr_t)&aitv, sizeof (struct itimerval))))
H A Dkern_panicinfo.c126 if ( (error = copyin(newp, (char *) newimage, newlen)) )
H A Dkern_pcsamples.c360 if (copyin(where, &pc_bufinfo, sizeof(pc_bufinfo)))
376 if (copyin(where, pcsample_comm, size))
H A Dkern_aio.c253 result = copyin( uap->aiocbp, &aiocb32, sizeof(aiocb32) );
257 result = copyin( uap->aiocbp, &my_aiocb, sizeof(my_aiocb) );
904 error = copyin( uap->timeoutp, &ts, sizeof(ts) );
908 error = copyin( uap->timeoutp, &temp, sizeof(temp) );
936 /* copyin our aiocb pointers from list */
937 error = copyin( uap->aiocblist, aiocbpp,
1111 /* copyin our aiocb pointers from list */
1112 result = copyin( uap->aiocblist, aiocbpp,
1487 result = copyin( aiocbp, &aiocb32, sizeof(aiocb32) );
1491 result = copyin( aiocb
[all...]
H A Duipc_syscalls.c320 * :EFAULT Bad address on copyin/copyout
353 error = copyin(uap->anamelen, (caddr_t)&namelen,
983 * copyin:EFAULT
1016 error = copyin(uap->msg, msghdrp, size_of_msghdr);
1051 * then copyin the iovecs from user space.
1058 error = copyin(user_msg.msg_iov, (caddr_t)iovp,
1235 * copyin:EFAULT
1265 error = copyin(uap->fromlenaddr,
1337 * copyin:EFAULT
1375 error = copyin(ua
[all...]
H A Dsys_generic.c363 * copyin:EFAULT
390 /* get location of iovecs within the uio. then copyin the iovecs from
399 error = copyin(uap->iovp, (caddr_t)iovp, (uap->iovcnt * size_of_iovec));
601 /* get location of iovecs within the uio. then copyin the iovecs from
610 error = copyin(uap->iovp, (caddr_t)iovp, (uap->iovcnt * size_of_iovec));
704 * copyin:EFAULT
810 error = copyin(uap->data, datap, size);
1020 if (uap->name && (error = copyin(uap->name, \
1034 error = copyin(uap->tv, (caddr_t)&atv64, sizeof(atv64));
1039 error = copyin(ua
[all...]
H A Dkern_descrip.c552 * copyin:EFAULT
558 * copyin:EFAULT
565 * copyin:EFAULT
571 * copyin:EFAULT
736 error = copyin(argp, (caddr_t)&fl, sizeof(fl));
809 error = copyin(argp, (caddr_t)&fl, sizeof(fl));
886 error = copyin(argp, (caddr_t)&alloc_struct, sizeof(alloc_struct));
962 error = copyin(argp, (caddr_t)&offset, sizeof (off_t));
1072 if ( (error = copyin(argp, (caddr_t)&ra_struct, sizeof(ra_struct))) )
1104 error = copyin(arg
[all...]
H A Dsubr_prof.c501 * an AST that will vector us to trap() with a context in which copyin
531 if (copyin(cell, (caddr_t) &count, sizeof(count)) == 0) {
551 if (copyin(CAST_USER_ADDR_T(cell), (caddr_t) &count, sizeof(count)) == 0) {
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/
H A DDiagnostics.c163 err = copyin((user_addr_t) (stk + 4), (char *) &selector, sizeof(uint32_t)); /* Get the selector */
170 err = copyin((user_addr_t) (stk + 8), (char *) &data, sizeof(uint32_t)); /* Get the selector */
H A Dbsd_i386.c353 if (copyin((user_addr_t) regs->uesp + sizeof (int),
643 if (copyin((user_addr_t)(sp + sizeof(int)), (char *)args32, nargs * sizeof (int)))
764 if (copyin((user_addr_t)(regs->isf.rsp + sizeof(user_addr_t)), (char *)&regs->v_arg6, copyin_count)) {
/macosx-10.5.8/xnu-1228.15.4/security/
H A Dmac_base.c1293 error = copyin(uap->mac_p, &mac, sizeof(mac));
1296 error = copyin(uap->mac_p, &mac32, sizeof(mac32));
1344 error = copyin(uap->mac_p, &mac, sizeof(mac));
1347 error = copyin(uap->mac_p, &mac32, sizeof(mac32));
1395 error = copyin(uap->mac_p, &mac, sizeof(mac));
1398 error = copyin(uap->mac_p, &mac32, sizeof(mac32));
1461 error = copyin(uap->mac_p, &mac, sizeof(mac));
1464 error = copyin(uap->mac_p, &mac32, sizeof(mac32));
1509 error = copyin(uap->mac_p, &mac, sizeof(mac));
1512 error = copyin(ua
[all...]
H A Dmac_process.c208 error = copyin(mac_p, &mac, sizeof(mac));
211 error = copyin(mac_p, &mac32, sizeof(mac32));
H A Dmac_net.c435 error = copyin(CAST_USER_ADDR_T(ifr->ifr_ifru.ifru_data),
481 error = copyin(CAST_USER_ADDR_T(ifr->ifr_ifru.ifru_data),
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/dtrace/
H A Ddtrace_glue.c1207 if (copyin((const user_addr_t)src, (char *)dst, (vm_size_t)len)) {
1221 /* copyin as many as 'len' bytes. */
1278 if (copyin((const user_addr_t)uaddr, (char *)&ret, sizeof(ret))) {
1296 if (copyin((const user_addr_t)uaddr, (char *)&ret, sizeof(ret))) {
1314 if (copyin((const user_addr_t)uaddr, (char *)&ret, sizeof(ret))) {
1332 if (copyin((const user_addr_t)uaddr, (char *)&ret, sizeof(ret))) {
1345 * Called from the fasttrap provider, so the use of copyin/out requires fewer safegaurds.
1351 if (copyin((const user_addr_t)uaddr, (char *)value, sizeof(uint8_t)) != 0) {
1361 if (copyin((const user_addr_t)uaddr, (char *)value, sizeof(uint16_t)) != 0) {
1371 if (copyin((cons
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/
H A Dmisc_protos.h81 extern int copyin(
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/nullfs/
H A Dnull_vfsops.c119 error = copyin(data, (caddr_t)&args, sizeof (args));
123 error = copyin(data, (caddr_t)&temp, sizeof (temp));
/macosx-10.5.8/xnu-1228.15.4/bsd/vm/
H A Dvm_unix.c234 if (copyin(addr, (void *) &byte, sizeof(char)))
243 if (copyin(addr, (void *) &(byte), sizeof(char)))
260 if (copyin(addr, (void *) &word, sizeof(int)))
279 if (copyin(addr, (void *) &word, sizeof(int)))
305 if (copyin(addr, (void *)&longword, sizeof(longword)) != 0)
330 if (copyin(addr, (void *)&ulongword, sizeof(ulongword)) != 0)
984 error = copyin(user_mappings,
990 "copyin(0x%llx, %d) failed (error=%d)\n",
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/i386/
H A Dunix_signal.c580 if ((error = copyin(uap->uctx, (void *)&uctx64, sizeof (uctx64))))
583 if ((error = copyin(uctx64.uc_mcontext64, (void *)&mctx.mctx64, sizeof (struct mcontext64))))
600 if ((error = copyin(uap->uctx, (void *)&uctx32, sizeof (uctx32))))
603 if ((error = copyin(CAST_USER_ADDR_T(uctx32.uc_mcontext), (void *)&mctx.mctx32, sizeof (struct mcontext32))))
H A Dsystemcalls.c137 error = copyin((user_addr_t) params, (char *) vt, nargs);
158 * after a copyin because the ABI currently doesn't use
311 error = copyin((user_addr_t)(regs->isf.rsp + sizeof(user_addr_t)), (char *)&regs->v_arg6, copyin_count);
/macosx-10.5.8/xnu-1228.15.4/bsd/libkern/
H A Dlibkern.h168 int copyin(const user_addr_t uaddr, void *kaddr, size_t len);
/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/
H A Dnfs_syscalls.c190 error = copyin(uap->argp, &la, sizeof(la));
507 error = copyin(uap->u_fhp, &nfh.nfh_len, sizeof(nfh.nfh_len));
513 error = copyin(uap->u_fhp, &nfh, sizeof(nfh.nfh_len) + nfh.nfh_len);
648 error = copyin(uap->argp, (caddr_t)&user_nfsdarg, sizeof(user_nfsdarg));
651 error = copyin(uap->argp, (caddr_t)&tmp_args, sizeof(tmp_args));
1203 error = copyin(argp, (caddr_t)&unxa, sizeof(unxa));
1206 error = copyin(argp, (caddr_t)&tnxa, sizeof(tnxa));
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/union/
H A Dunion_vfsops.c129 error = copyin(data, (caddr_t)&args, sizeof(args));
133 error = copyin(data, (caddr_t)&temp, sizeof (temp));

Completed in 196 milliseconds

1234