/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/ |
H A D | user_ldt.c | 324 err = copyout((char *)(current_ldt() + start_sel),
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/ |
H A D | mk_timer.c | 294 copyout((void *)&armed_time, result_time_addr,
|
H A D | clock.c | 204 copyout((void *)&info, out_info_addr, sizeof (info));
|
/macosx-10.5.8/xnu-1228.15.4/security/ |
H A D | mac_base.c | 1326 error = copyout(buffer, mac.m_string, strlen(buffer)+1); 1372 error = copyout(buffer, mac.m_string, strlen(buffer)+1); 1492 error = copyout(buffer, mac.m_string, strlen(buffer)+1); 1544 error = copyout(buffer, mac.m_string, strlen(buffer)+1); 1731 error = copyout(buffer, mac.m_string, strlen(buffer)+1); 1800 error = copyout(buffer, mac.m_string, strlen(buffer) + 1); 2106 error = copyout(buffer, mac.m_string, strlen(buffer) + 1);
|
H A D | mac_net.c | 464 error = copyout(buffer, CAST_USER_ADDR_T(mac.m_string),
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/dtrace/ |
H A D | dtrace_glue.c | 1242 if (copyout((const void *)src, dst, (vm_size_t)len)) { 1423 if (copyout((const void *)&value, addr, sizeof(value)) != 0) { 1433 if (copyout((const void *)&value, addr, sizeof(value)) != 0) { 1443 if (copyout((const void *)&value, addr, sizeof(value)) != 0) { 1453 if (copyout((const void *)&value, addr, sizeof(value)) != 0) {
|
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | sysv_sem.c | 740 eval = copyout(&uds, user_arg.buf, sizeof(struct user_semid_ds)); 744 eval = copyout(&semid_ds32, user_arg.buf, sizeof(struct semid_ds)); 784 eval = copyout((caddr_t)&semakptr->u.sem_base[i].semval, 1565 error = copyout(&seminfo, ipcs.u64.ipcs_data, ipcs.u64.ipcs_datalen); 1598 error = copyout(semid_dsp, ipcs.u64.ipcs_data, ipcs.u64.ipcs_datalen);
|
H A D | kern_sig.c | 320 * copyout:EFAULT 362 error = copyout(sa, uap->osa, sizeof(struct user_sigaction)); 366 error = copyout(&vec32, uap->osa, sizeof(struct sigaction)); 700 copyout(&oldmask, omask, sizeof(sigset_t)); 714 copyout(&pendlist, uap->osv, sizeof(sigset_t)); 1024 copyout(&oldset, oset, sizeof(sigset_t)); 1033 * copyout:EFAULT 1123 error = copyout(&signum, uap->sig, sizeof(int)); 1148 error = copyout(pstk, uap->oss, sizeof(struct user_sigaltstack)); 1152 error = copyout( [all...] |
H A D | subr_log.c | 509 error = copyout(copystart, buffer, copysize);
|
H A D | kern_resource.c | 833 return (copyout((caddr_t)&lim, 925 return (copyout(retbuf, uap->rusage, retsize)); 1124 error = copyout((caddr_t)&iop_param, uap->arg, sizeof(iop_param));
|
H A D | kern_exec.c | 2091 error = copyout(&i, ptr, 4); 2093 error = copyout(&ua, ptr, 8); 2879 (void) copyout((caddr_t) init_program_name, CAST_USER_ADDR_T(init_addr), 2894 copyout(init_args, CAST_USER_ADDR_T(init_addr), 2912 (void) copyout((caddr_t) argv, CAST_USER_ADDR_T(init_addr),
|
H A D | kern_descrip.c | 559 * copyout:EFAULT 566 * copyout:EFAULT 864 error = copyout((caddr_t)&fl, argp, sizeof(fl)); 946 error2 = copyout((caddr_t)&alloc_struct, argp, sizeof(alloc_struct)); 1166 error = copyout((caddr_t)&l2p_struct, argp, sizeof(l2p_struct)); 1192 error = copyout((caddr_t)pathbufp, argp, pathlen); 1592 * but we are going to handle its copyout() when it 1601 error = copyout(data, argp, size); 1886 * copyout:EFAULT 2002 error = copyout(sb [all...] |
H A D | sys_generic.c | 903 error = copyout(datap, uap->data, (u_int)size); 1221 copyout((caddr_t)&sel->obits[(x) * nw], uap->name, ni))) \ 1525 error = copyout(fds, uap->fds, nfds * sizeof(struct pollfd)); 2371 * don't want to hold the proc lock across a copyout because 2394 error = copyout((caddr_t)&uer.er64, uap->u_req, sizeof(struct eventreq64)); 2396 error = copyout((caddr_t)&uer.er32, uap->u_req, sizeof(struct eventreq32)); 2673 * copyout:EFAULT Bad user buffer 2712 error = copyout(uuid_kern, uap->uuid_buf, sizeof(uuid_kern));
|
H A D | kern_newsysctl.c | 931 error = copyout((const void*)p, (req->oldptr + req->oldidx), i); 1102 i = copyout(&j, CAST_USER_ADDR_T(uap->oldlenp), sizeof(j)); 1176 * Note that some sysctl handlers use copyin/copyout, which
|
H A D | kern_subr.c | 107 * copyout:EFAULT 155 error = copyout( CAST_DOWN(caddr_t, cp), uio->uio_iovs.iov64p->iov_base, acnt ); 183 error = copyout( CAST_DOWN(caddr_t, cp), CAST_USER_ADDR_T(uio->uio_iovs.iov32p->iov_base), acnt );
|
H A D | kern_audit.c | 1146 ret = copyout((void *)&udata, uap->data, uap->length); 1170 error = copyout((void *)&kauth_cred_get()->cr_au.ai_auid, 1279 error = copyout(&ai, uap->auditinfo, sizeof(ai));
|
/macosx-10.5.8/xnu-1228.15.4/bsd/net/ |
H A D | if.c | 511 error = copyout(outbuf, dst, IFNAMSIZ); 1637 error = copyout((caddr_t)&ifr, ifrp, sizeof(ifr)); 1641 error = copyout((caddr_t)&ifr, ifrp, sizeof(ifr)); 1647 error = copyout((caddr_t)&ifr, ifrp, sizeof (ifr.ifr_name)); 1649 error = copyout((caddr_t)sa, 1665 error = copyout((caddr_t)&ifr, ifrp, sizeof (ifr));
|
H A D | if_media.c | 350 * We do the copyout on E2BIG, because that's 357 error = copyout((caddr_t)kptr,
|
H A D | if_vlan.c | 1602 error = copyout(&ifmr->ifm_current, user_addr, 1612 error = copyout(&ifmr->ifm_current, user_addr, sizeof(int)); 1721 error = copyout(&vlr, user_addr, sizeof(vlr));
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | pms.c | 445 ret = copyout(&pmsCtls, reqaddr, reqsize); 454 ret = copyout(&pmsStatsd, reqaddr, reqsize);
|
H A D | movc.s | 467 // Stack frame format used by copyin, copyout, copyinstr and copyoutstr. 514 crclr kkIn // flag as copyout 541 crset kkIn // flag as copyin (rather than copyout) 548 * copyout(src, dst, count) 555 .globl EXT(copyout) 558 LEXT(copyout) 562 mfspr r12,pmc1 ; INSTRUMENT - saveinstr[12] - Take stamp at copyout 575 crclr kkIn // flag as copyout 605 // r3 = source if copyout 609 // r10 = high word of 64-bit user-space address (source if copyin, dest if copyout) [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/ |
H A D | sys_glue.c | 568 if ((err = copyout((caddr_t)gbuf_rptr(mdata), (user_ioccmd.ic_dp + len), gbuf_len(mdata))) < 0) { 570 kprintf("at_ioctl: len=%d error copyout=%d from=%x to=%x gbuf_len=%x\n", 587 err = copyout((caddr_t)&user_ioccmd, user_arg, sizeof(user_ioccmd)); 592 err = copyout((caddr_t)&tmp, user_arg, sizeof(tmp));
|
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 622 if ((error = copyout((caddr_t)gbuf_rptr(m), 1584 * copyout the result info 1586 if ((*err = copyout((caddr_t)bds, CAST_USER_ADDR_T(buf), atpBDSsize)) != 0) { 1790 * copyout the request data, including the protocol header 1795 copyout((caddr_t)gbuf_rptr(m), CAST_USER_ADDR_T(&buf[size]), len); 1855 if ((*err = copyout((caddr_t)bds, CAST_USER_ADDR_T(bdsp), sizeof(bds))) != 0) {
|
/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/ |
H A D | nfs_vfsops.c | 2513 error = copyout(&nfsstats, oldp, sizeof nfsstats); 2531 error = copyout(&stat_desc, oldp, sizeof(struct nfs_export_stat_desc)); 2571 error = copyout(&stat_desc, oldp, sizeof(struct nfs_export_stat_desc)); 2582 error = copyout(&stat_desc, oldp, sizeof(struct nfs_export_stat_desc)); 2586 /* adjust to actual number of records to copyout to caller's buffer */ 2595 error = copyout(&stat_desc, oldp + pos, sizeof(struct nfs_export_stat_desc)); 2622 error = copyout(&statrec, oldp + pos, sizeof(statrec)); 2669 error = copyout(&upath_rec, oldp + pos, sizeof(struct nfs_user_stat_path_rec)); 2703 error = copyout(&ustat_rec, oldp + pos, sizeof(struct nfs_user_stat_user_rec)); 2737 error = copyout( [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/ |
H A D | vfs_syscalls.c | 1375 error = copyout((caddr_t)&my_dqblk64, uap->arg, sizeof (my_dqblk64)); 1378 error = copyout(datap, uap->arg, sizeof (struct dqblk)); 1385 error = copyout(datap, uap->arg, sizeof(quota_status)); 1503 error = copyout((caddr_t)&sfs, bufp, sizeof(sfs)); 3486 error = copyout(result, uap->results, desc_actual * sizeof(errno_t)); 3585 * copyout:EFAULT 3681 if ((error = copyout(sbp, ub, my_size)) != 0) 3705 error = copyout(fsec, xsecurity, KAUTH_FILESEC_COPYSIZE(fsec)); 5730 error = copyout((caddr_t)&loff, uap->basep, sizeof(long)); 5748 error = copyout((caddr_ [all...] |