/darwin-on-arm/xnu/bsd/man/man9/ |
H A D | Makefile | 11 copyin.9 \
|
/darwin-on-arm/xnu/osfmk/i386/ |
H A D | ucode.c | 91 error = copyin((user_addr_t)inaddr, (void *)&update_header, sizeof(update_header)); 116 error = copyin((user_addr_t)inaddr, (void*)update, size);
|
H A D | bsd_i386.c | 274 if (copyin((user_addr_t) regs->uesp + sizeof (int), 398 if (copyin((user_addr_t)(sp + sizeof(int)), (char *)args32, nargs * sizeof (int))) 556 if (copyin((user_addr_t)(regs->isf.rsp + sizeof(user_addr_t)), (char *)®s->v_arg6, copyin_count)) {
|
H A D | user_ldt.c | 215 /* XXX copyin under task lock */ 216 err = copyin(descs, (char *)&new_ldt->ldt[start_sel - begin_sel],
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | process_policy.c | 218 error = copyin((user_addr_t)attrp, (int *)&intval, sizeof(int)); 234 error = copyin((user_addr_t)attrp, (int *)&intval, sizeof(int)); 250 error = copyin((user_addr_t)attrp, (int *)&intval, sizeof(int)); 370 error = copyin((user_addr_t)attrp, (proc_policy_cpuusage_attr_t *)&cpuattr, sizeof(proc_policy_cpuusage_attr_t)); 422 error = copyin((user_addr_t)attrp, (int *)&state, sizeof(int)); 483 error = copyin((user_addr_t)attrp, (int *)&state, sizeof(int));
|
H A D | kern_time.c | 169 error = copyin(uap->tv, &user_atv, sizeof(user_atv)); 174 error = copyin(uap->tv, &user_atv, sizeof(user_atv)); 181 if (uap->tzp && (error = copyin(uap->tzp, (caddr_t)&atz, sizeof(atz)))) 223 error = copyin(uap->delta, &user_atv, sizeof(user_atv)); 228 error = copyin(uap->delta, &user_atv, sizeof(user_atv)); 385 * copyin:EFAULT Bad address 404 if ((error = copyin(itvp, (caddr_t)&user_itv, sizeof (user_itv)))) 412 if ((error = copyin(itvp, (caddr_t)&user_itv, sizeof (user_itv))))
|
H A D | kern_pcsamples.c | 360 if (copyin(where, &pc_bufinfo, sizeof(pc_bufinfo))) 376 if (copyin(where, pcsample_comm, size))
|
H A D | subr_prof.c | 359 * an AST that will vector us to trap() with a context in which copyin 389 if (copyin(cell, (caddr_t) &count, sizeof(count)) == 0) { 409 if (copyin(CAST_USER_ADDR_T(cell), (caddr_t) &count, sizeof(count)) == 0) {
|
H A D | sys_generic.c | 389 * copyin:EFAULT 415 /* get location of iovecs within the uio. then copyin the iovecs from 631 /* get location of iovecs within the uio. then copyin the iovecs from 736 * copyin:EFAULT 847 error = copyin(uap->data, datap, size); 1055 if (uap->name && (error = copyin(uap->name, \ 1069 error = copyin(uap->tv, (caddr_t)&atv64, sizeof(atv64)); 1075 error = copyin(uap->tv, (caddr_t)&atv32, sizeof(atv32)); 1456 error = copyin(uap->fds, fds, nfds * sizeof(struct pollfd)); 2282 * copyin [all...] |
H A D | kern_aio.c | 524 result = copyin( uap->aiocbp, &aiocb64, sizeof(aiocb64) ); 531 result = copyin( uap->aiocbp, &aiocb32, sizeof(aiocb32) ); 1134 error = copyin( uap->timeoutp, &temp, sizeof(temp) ); 1142 error = copyin( uap->timeoutp, &temp, sizeof(temp) ); 1273 /* copyin our aiocb pointers from list */ 1274 result = copyin( aiocblist, aiocbpp, 1324 result = copyin( sigp, &sigevent64, sizeof(sigevent64) ); 1336 result = copyin( sigp, &sigevent32, sizeof(sigevent32) ); 1876 result = copyin( aiocbp, &aiocb64, sizeof(aiocb64) ); 1883 result = copyin( aiocb [all...] |
H A D | uipc_syscalls.c | 321 * :EFAULT Bad address on copyin/copyout 354 error = copyin(uap->anamelen, (caddr_t)&namelen, 981 * copyin:EFAULT 1012 error = copyin(uap->msg, msghdrp, size_of_msghdr); 1054 * then copyin the iovecs from user space. 1300 * copyin:EFAULT 1330 error = copyin(uap->fromlenaddr, 1402 * copyin:EFAULT 1438 error = copyin(uap->msg, msghdrp, size_of_msghdr); 1481 * get location of iovecs within the uio. then copyin th [all...] |
/darwin-on-arm/xnu/security/ |
H A D | mac_base.c | 1313 error = copyin(uap->mac_p, &mac64, sizeof(mac64)); 1318 error = copyin(uap->mac_p, &mac32, sizeof(mac32)); 1367 error = copyin(uap->mac_p, &mac64, sizeof(mac64)); 1372 error = copyin(uap->mac_p, &mac32, sizeof(mac32)); 1417 error = copyin(uap->mac_p, &mac64, sizeof(mac64)); 1422 error = copyin(uap->mac_p, &mac32, sizeof(mac32)); 1502 error = copyin(uap->mac_p, &mac64, sizeof(mac64)); 1507 error = copyin(uap->mac_p, &mac32, sizeof(mac32)); 1569 error = copyin(uap->mac_p, &mac64, sizeof(mac64)); 1574 error = copyin(ua [all...] |
H A D | mac_net.c | 435 error = copyin(CAST_USER_ADDR_T(ifr->ifr_ifru.ifru_data), 481 error = copyin(CAST_USER_ADDR_T(ifr->ifr_ifru.ifru_data),
|
H A D | mac_process.c | 217 error = copyin(mac_p, &mac64, sizeof(mac64)); 222 error = copyin(mac_p, &mac32, sizeof(mac32));
|
/darwin-on-arm/xnu/bsd/dev/dtrace/ |
H A D | dtrace_glue.c | 1210 if (copyin((const user_addr_t)src, (char *)dst, (vm_size_t)len)) { 1226 /* copyin as many as 'len' bytes. */ 1287 if (copyin((const user_addr_t)uaddr, (char *)&ret, sizeof(ret))) { 1305 if (copyin((const user_addr_t)uaddr, (char *)&ret, sizeof(ret))) { 1323 if (copyin((const user_addr_t)uaddr, (char *)&ret, sizeof(ret))) { 1341 if (copyin((const user_addr_t)uaddr, (char *)&ret, sizeof(ret))) { 1354 * Called from the fasttrap provider, so the use of copyin/out requires fewer safegaurds. 1360 if (copyin((const user_addr_t)uaddr, (char *)value, sizeof(uint8_t)) != 0) { 1370 if (copyin((const user_addr_t)uaddr, (char *)value, sizeof(uint16_t)) != 0) { 1380 if (copyin((cons [all...] |
/darwin-on-arm/xnu/osfmk/kern/ |
H A D | misc_protos.h | 81 extern int copyin(
|
/darwin-on-arm/xnu/bsd/vm/ |
H A D | vm_unix.c | 279 if (copyin(addr, (void *) &byte, sizeof(char))) 288 if (copyin(addr, (void *) &(byte), sizeof(char))) 305 if (copyin(addr, (void *) &word, sizeof(int))) 324 if (copyin(addr, (void *) &word, sizeof(int))) 350 if (copyin(addr, (void *)&longword, sizeof(longword)) != 0) 375 if (copyin(addr, (void *)&ulongword, sizeof(ulongword)) != 0) 1161 error = copyin(user_mappings, 1167 "copyin(0x%llx, %d) failed (error=%d)\n", 1457 error = copyin((user_addr_t)slide_start, 1746 error = copyin(size [all...] |
/darwin-on-arm/xnu/bsd/libkern/ |
H A D | libkern.h | 177 int copyin(const user_addr_t uaddr, void *kaddr, size_t len);
|
/darwin-on-arm/xnu/bsd/dev/arm/ |
H A D | unix_signals.c | 351 if ((error = copyin(uap->uctx, (void *)&uctx32, sizeof(struct user_ucontext32)))) 363 if ((error = copyin(uctx32.uc_mcontext, (void *)&mctx32, UC_FLAVOR_SIZE)))
|
/darwin-on-arm/xnu/bsd/nfs/ |
H A D | nfs_syscalls.c | 209 error = copyin(uap->argp, &la, sizeof(la)); 429 error = copyin(uap->fhp, &fhlen, sizeof(fhlen)); 541 error = copyin(uap->u_fhp, &nfh.nfh_len, sizeof(nfh.nfh_len)); 547 error = copyin(uap->u_fhp, &nfh, sizeof(nfh.nfh_len) + nfh.nfh_len); 681 error = copyin(uap->argp, (caddr_t)&user_nfsdarg, sizeof(user_nfsdarg)); 684 error = copyin(uap->argp, (caddr_t)&tmp_args, sizeof(tmp_args)); 1258 error = copyin(argp, (caddr_t)&unxa, sizeof(unxa)); 1261 error = copyin(argp, (caddr_t)&tnxa, sizeof(tnxa));
|
/darwin-on-arm/xnu/bsd/dev/i386/ |
H A D | unix_signal.c | 689 if ((error = copyin(uap->uctx, (void *)&uctx64, sizeof (uctx64)))) 692 if ((error = copyin(uctx64.uc_mcontext64, (void *)&mctxp->mctx_avx64, sizeof (struct mcontext_avx64)))) 716 if ((error = copyin(uap->uctx, (void *)&uctx32, sizeof (uctx32)))) 719 if ((error = copyin(CAST_USER_ADDR_T(uctx32.uc_mcontext), (void *)&mctxp->mctx_avx32, sizeof (struct mcontext_avx32))))
|
/darwin-on-arm/xnu/bsd/security/audit/ |
H A D | audit_syscalls.c | 195 error = copyin(uap->record, rec, uap->length); 293 error = copyin(uap->data, (void *)&udata, uap->length); 773 error = copyin(uap->auid, &id, sizeof(id)); 845 error = copyin(uap->auditinfo_addr, &aia,
|
/darwin-on-arm/xnu/osfmk/arm/ |
H A D | loose_ends.c | 441 copyin(src64, snk64, size);
|
/darwin-on-arm/xnu/osfmk/ipc/ |
H A D | mach_kernelrpc.c | 48 if (copyin(args->addr, (char *)&addr, sizeof (addr)))
|
/darwin-on-arm/xnu/osfmk/x86_64/ |
H A D | copyio.c | 118 * from kernel or kexts can be trapped. So, during copyin and copyout, 256 copyin(const user_addr_t user_addr, char *kernel_addr, vm_size_t nbytes) function 308 * the virtual since we just call the normal copyin/copyout
|