/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | kdebug.c | 1201 if (copyin(where, &kd_Reg, sizeof(kd_regtype))) { 1225 if (copyin(where, &kd_Reg, sizeof(kd_regtype))) { 1236 if (copyin(where, &kd_Reg, sizeof(kd_regtype))) { 1250 if (copyin(where, &kd_Reg, sizeof(kd_regtype))) {
|
H A D | kern_exec.c | 310 case UIO_USERSPACE64: /* Same for copyin()... */ 1210 * XXXAUDIT: Note: the double copyin introduces an audit 1212 * copyin(), e.g. by passing a flag to namei to indicate an 1597 error = copyin(uap->adesc, &px_args, sizeof(px_args)); 1601 error = copyin(uap->adesc, &px_args32, sizeof(px_args32)); 1622 if ((error = copyin(px_args.attrp, &px_sa, sizeof(px_sa))) != 0) 1642 if ((error = copyin(px_args.file_actions, px_sfap, 1662 if ((error = copyin(px_args.port_actions, px_spap, 2057 error = copyin(froma, &i, 4); 2060 error = copyin(from [all...] |
H A D | sysv_msg.c | 460 eval = copyin(uap->buf, &msqbuf, sizeof(struct user_msqid_ds)); 462 eval = copyin(uap->buf, &msqbuf, sizeof(struct msqid_ds)); 927 eval = copyin(user_msgp, &msgtype, sizeof(msgtype)); 933 eval = copyin(user_msgp, &msghdr->msg_type, sizeof(long)); 980 eval = copyin(user_msgp, &msgpool[next * msginfo.msgssz], tlen);
|
H A D | sysv_sem.c | 717 eval = copyin(user_arg.buf, &sbuf, sizeof(struct user_semid_ds)); 719 eval = copyin(user_arg.buf, &sbuf, sizeof(struct semid_ds)); 836 eval = copyin(user_arg.array + (i * sizeof(unsigned short)), 1076 if ((eval = copyin(uap->sops, &sops, nsops * sizeof(struct sembuf))) != 0) { 1078 printf("eval = %d from copyin(%08x, %08x, %ld)\n", eval,
|
H A D | kern_newsysctl.c | 950 error = copyin((req->newptr + req->newidx), p, l); 1092 error = copyin(CAST_USER_ADDR_T(uap->name), &name, uap->namelen * sizeof(int)); 1129 error = copyin(CAST_USER_ADDR_T(oldlenp), &req.oldlen, sizeof(*oldlenp)); 1176 * Note that some sysctl handlers use copyin/copyout, which
|
H A D | pthread_synch.c | 277 if ((error = copyin(uattr, &attr, sizeof(pthread_mutexattr_t)))) 283 if ((error = copyin(umutex, &pmutex_sig, sizeof(int)))) 456 if ((error = copyin(uattr, &attr, sizeof(pthread_condattr_t)))) 462 if ((error = copyin(ucond, &cond_sig, sizeof(int)))) 731 if ((error = copyin(uap->abstime, &absts, sizeof(mach_timespec_t ))))
|
H A D | kern_sig.c | 321 * copyin:EFAULT 373 error = copyin(uap->nsa, &__vec, sizeof(struct __user_sigaction)); 376 error = copyin(uap->nsa, &__vec32, sizeof(struct __sigaction)); 674 error = copyin(uap->mask, &nmask, sizeof(sigset_t)); 721 * libc stub passes mask, not pointer, to save a copyin. 999 error = copyin(set, &nset, sizeof(sigset_t)); 1032 * copyin:EFAULT 1058 error = copyin(uap->set, &mask, sizeof(sigset_t)); 1160 error = copyin(uap->nss, &ss, sizeof(struct user_sigaltstack)); 1163 error = copyin(ua [all...] |
H A D | kern_sysctl.c | 248 error = copyin(uap->name, &name[0], uap->namelen * sizeof(int)); 553 error = copyin(newBuf, handler, newSize); 785 error = copyin(newp, valp, sizeof(int)); 831 error = copyin(newp, valp, sizeof(quad_t)); 891 error = copyin(newp, str, newlen); 920 error = copyin(newp, str, newlen); 970 error = copyin(newp, sp, len); 1787 * Now that we've done the copyin from the process'
|
H A D | kern_audit.c | 846 error = copyin(uap->record, rec, uap->length); 925 ret = copyin(uap->data, (void *)&udata, uap->length); 1189 error = copyin(uap->auid, 1297 error = copyin(uap->auditinfo,
|
H A D | kern_event.c | 897 error = copyin(*addrp, (caddr_t)&kev64, advance); 912 error = copyin(*addrp, (caddr_t)kevp, advance); 1016 error = copyin( uap->timeout, &ts, sizeof(ts) ); 1023 error = copyin( uap->timeout, &ts, sizeof(ts) );
|
H A D | subr_sbuf.c | 307 if (copyin(CAST_USER_ADDR_T(uaddr), s->s_buf + s->s_len, len) != 0)
|
H A D | kern_resource.c | 517 * copyin:EFAULT 527 if ((error = copyin(uap->rlp, (caddr_t)&alim, 1070 if ((error = copyin(uap->arg, &iop_param, sizeof(iop_param))) != 0)
|
H A D | kern_subr.c | 108 * copyin:EFAULT 165 error = copyin(uio->uio_iovs.iov64p->iov_base, CAST_DOWN(caddr_t, cp), acnt); 193 error = copyin(CAST_USER_ADDR_T(uio->uio_iovs.iov32p->iov_base), CAST_DOWN(caddr_t, cp), acnt);
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/ |
H A D | user_ldt.c | 215 err = copyin(descs, (char *)&new_ldt->ldt[start_sel - begin_sel],
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | trap.c | 363 unresolved_kernel_trap(trapno, ssp, dsisr, dar, "copyin/out has no recovery point"); 388 unresolved_kernel_trap(trapno, ssp, dsisr, dar, "copyin/out has no recovery point"); 578 if (copyin(ssp->save_srr0, (char *) &inst, 4 )) panic("copyin failed\n"); 729 if (!copyin(ssp->save_r1,(char*)stack_buf,
|
H A D | Diagnostics.c | 373 ret = copyin(save->save_r4, (void *)&sarea, sizeof(scomcomm)); /* Get the data */
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/vm/ |
H A D | vm_kern.c | 900 * Like copyin, except that fromaddr is an address 922 if (copyin(fromaddr, todata, length) != 0) 929 if (copyin(fromaddr, todata, length) != 0)
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/ppc/ |
H A D | unix_signal.c | 746 error = copyin(uap->uctx, &uctx, sizeof(struct user_ucontext64)); 756 * difference for the copyin(). 758 error = copyin(uap->uctx, &uctx32, sizeof(struct ucontext)); 780 error = copyin(uctx.uc_mcontext64, mactx, uctx.uc_mcsize);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/net/ |
H A D | ndrv.c | 724 error = copyin(user_addr, ndrvDemux, 894 result = copyin(sopt->sopt_val, &ndrv_multi->addr, sopt->sopt_valsize); 945 result = copyin(sopt->sopt_val, multi_addr, sopt->sopt_valsize);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/ |
H A D | sys_glue.c | 476 err = copyin(user_arg, (caddr_t)&user_ioccmd, sizeof(user_ioccmd)); 480 err = copyin(user_arg, (caddr_t)&tmp, sizeof(tmp)); 485 kprintf("at_ioctl: err = %d, copyin(%llx, %x, %d)\n", err, 513 if ((err = copyin(user_ioccmd.ic_dp, (caddr_t)gbuf_rptr(gbuf_cont(m)), user_ioccmd.ic_len)) != 0) {
|
H A D | atp_write.c | 158 /* Need to ensure that all copyin/copyout calls are made at 161 * unpredictable context and copyin/copyout calls will get wrong results 1447 if (((*err = copyin(CAST_USER_ADDR_T(buf), (caddr_t)bds, atpBDSsize)) != 0) 1448 || ((*err = copyin(CAST_USER_ADDR_T(&buf[atpBDSsize]), 1651 if ((*err = copyin(CAST_USER_ADDR_T(respbuff), (caddr_t)gbuf_rptr(m), resplen)) != 0) { 1721 /* do the copyin */ 1722 if ((*err = copyin(CAST_USER_ADDR_T(bufaddr), dataptr, len)) != 0) { 1842 if ((*err = copyin(CAST_USER_ADDR_T(bdsp),
|
H A D | asp_proto.c | 1888 if ((err = copyin(CAST_USER_ADDR_T(ctlptr), (caddr_t)&ctlbuf, sizeof(ctlbuf))) != 0) 1890 if ((err = copyin(CAST_USER_ADDR_T(datptr), (caddr_t)&datbuf, sizeof(datbuf))) != 0) 1923 if ((err = copyin(CAST_USER_ADDR_T(ctlbuf.buf), (caddr_t)gbuf_rptr(mioc), ctlbuf.len)) != 0) { 1953 /* copyin from user space */ 1976 else if ((err = copyin(CAST_USER_ADDR_T(dataptr), (caddr_t)(gbuf_rptr(mdata) + offset), copy_len)) != 0) { 2214 if ((err = copyin(CAST_USER_ADDR_T(ctlptr), 2217 if ((err = copyin(CAST_USER_ADDR_T(datptr),
|
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/ |
H A D | vfs_syscalls.c | 456 if ( (error = copyin(fsmountargs, (caddr_t)&devpath, sizeof(devpath))) ) 461 if ( (error = copyin(fsmountargs, (caddr_t)&tmp, sizeof(tmp))) ) 568 error = copyin(uap->mac_p, &mac, sizeof(mac)); 571 error = copyin(uap->mac_p, &mac32, sizeof(mac32)); 1322 /* copyin any data we will need for downstream code */ 1342 error = copyin(uap->arg, (caddr_t)&my_dqblk64, sizeof (my_dqblk64)); 1348 error = copyin(uap->arg, (caddr_t)&my_dqblk, sizeof (my_dqblk)); 1679 error = copyin(uap->mac, mp0, uap->macsize); 3327 error = copyin(uap->entries, input, uap->size); 3332 * Force NUL termination of the copyin buffe [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/isofs/cd9660/ |
H A D | cd9660_vfsops.c | 194 error = copyin(data, (caddr_t)&args, sizeof(args)); 198 error = copyin(data, (caddr_t)&temp, sizeof(temp)); 654 if ((error = copyin(argp->toc, isomp->toc, argp->toc_length)))
|
/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/ |
H A D | nfs_vfsops.c | 1221 error = copyin(data, (caddr_t)&argsvers, sizeof (argsvers)); 1228 error = copyin(data, (caddr_t)&args, sizeof (struct user_nfs_args3)); 1230 error = copyin(data, (caddr_t)&tempargs, sizeof (struct nfs_args3)); 1234 error = copyin(data, (caddr_t)&args, sizeof (struct user_nfs_args4)); 1236 error = copyin(data, (caddr_t)&tempargs, sizeof (struct nfs_args4)); 1240 error = copyin(data, (caddr_t)&args, sizeof (args)); 1242 error = copyin(data, (caddr_t)&tempargs, sizeof (tempargs)); 1282 error = copyin(args.fh, (caddr_t)nfh, args.fhsize); 1293 /* sockargs() call must be after above copyin() calls */ 2521 return copyin(new [all...] |