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

1234

/darwin-on-arm/xnu/bsd/man/man9/
H A DMakefile11 copyin.9 \
/darwin-on-arm/xnu/osfmk/i386/
H A Ducode.c91 error = copyin((user_addr_t)inaddr, (void *)&update_header, sizeof(update_header));
116 error = copyin((user_addr_t)inaddr, (void*)update, size);
H A Dbsd_i386.c274 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 *)&regs->v_arg6, copyin_count)) {
H A Duser_ldt.c215 /* 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 Dprocess_policy.c218 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 Dkern_time.c169 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 Dkern_pcsamples.c360 if (copyin(where, &pc_bufinfo, sizeof(pc_bufinfo)))
376 if (copyin(where, pcsample_comm, size))
H A Dsubr_prof.c359 * 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 Dsys_generic.c389 * 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 Dkern_aio.c524 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 Duipc_syscalls.c321 * :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 Dmac_base.c1313 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 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),
H A Dmac_process.c217 error = copyin(mac_p, &mac64, sizeof(mac64));
222 error = copyin(mac_p, &mac32, sizeof(mac32));
/darwin-on-arm/xnu/bsd/dev/dtrace/
H A Ddtrace_glue.c1210 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 Dmisc_protos.h81 extern int copyin(
/darwin-on-arm/xnu/bsd/vm/
H A Dvm_unix.c279 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 Dlibkern.h177 int copyin(const user_addr_t uaddr, void *kaddr, size_t len);
/darwin-on-arm/xnu/bsd/dev/arm/
H A Dunix_signals.c351 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 Dnfs_syscalls.c209 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 Dunix_signal.c689 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 Daudit_syscalls.c195 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 Dloose_ends.c441 copyin(src64, snk64, size);
/darwin-on-arm/xnu/osfmk/ipc/
H A Dmach_kernelrpc.c48 if (copyin(args->addr, (char *)&addr, sizeof (addr)))
/darwin-on-arm/xnu/osfmk/x86_64/
H A Dcopyio.c118 * 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

Completed in 129 milliseconds

1234