/xnu-2782.1.97/bsd/kern/ |
H A D | sysv_shm.c | 537 * copyout:EFAULT 594 error = copyout(&shmid_ds, uap->buf, sizeof(shmid_ds)); 602 error = copyout(&shmid_ds32, uap->buf, sizeof(shmid_ds32)); 1125 error = copyout(&shminfo, ipcs.u64.ipcs_data, ipcs.u64.ipcs_datalen); 1169 error = copyout(shmid_dsp, ipcs.u64.ipcs_data, ipcs.u64.ipcs_datalen);
|
H A D | kern_exit.c | 214 return (copyout(&sinfo64, uaddr, sizeof (sinfo64))); 220 return (copyout(&sinfo32, uaddr, sizeof (sinfo32))); 1285 error = copyout((caddr_t)&status, 1298 error = copyout((caddr_t)&my_rusage, 1305 error = copyout((caddr_t)&my_rusage, 1353 error = copyout((caddr_t)&status, 1377 error = copyout((caddr_t)&status,
|
H A D | sysv_sem.c | 780 eval = copyout(&semid_ds64, user_arg.buf, sizeof(semid_ds64)); 785 eval = copyout(&semid_ds32, user_arg.buf, sizeof(semid_ds32)); 825 eval = copyout((caddr_t)&semakptr->u.sem_base[i].semval, 1623 error = copyout(&seminfo, ipcs.u64.ipcs_data, ipcs.u64.ipcs_datalen); 1662 error = copyout(semid_dsp, ipcs.u64.ipcs_data, ipcs.u64.ipcs_datalen);
|
H A D | kdebug.c | 1914 if (copyout(cpumap, user_cpumap, (size_t)bytes_to_copy)) { 1941 if (copyout(mapptr, buffer, mapcount * sizeof(kd_threadmap))) 2061 if (copyout(kd_mapptr, buffer, mapsize)) 2228 if (copyout(&kd_bufinfo, where, sizeof(kd_bufinfo))) 2235 if (copyout(&kd_bufinfo, where, size)) 2244 ret = copyout(buffer, where, size); 2357 if (copyout(&kd_Reg, where, sizeof(kd_regtype))) { 2776 error = copyout(kdcopybuf, buffer, tempbuf_number * sizeof(kd_buf)); 2854 * tracebuffer exhaustion, we copyout as much as possible. 3037 if ((error = copyout(stackshot_snapbu [all...] |
H A D | kern_descrip.c | 727 * copyout:EFAULT 734 * copyout:EFAULT 1096 error = copyout((caddr_t)&fl, argp, sizeof(fl)); 1178 error2 = copyout((caddr_t)&alloc_struct, argp, sizeof(alloc_struct)); 1438 error = copyout((caddr_t)&l2p_struct, argp, sizeof(l2p_struct)); 1464 error = copyout((caddr_t)pathbufp, argp, pathlen); 1848 error = copyout((caddr_t)backup_keyp, argp, backup_key_len); 2292 error = copyout(&buffer_size, args.f_out_size, sizeof(unsigned int)); 2302 error = copyout(t_blob->csb_sha1, args.f_cd_hash, sizeof(t_blob->csb_sha1)); 2305 error = copyout(c [all...] |
H A D | kern_sig.c | 356 * copyout:EFAULT 405 error = copyout(&vec64, uap->osa, sizeof(vec64)); 410 error = copyout(&vec32, uap->osa, sizeof(vec32)); 764 copyout(&oldmask, omask, sizeof(sigset_t)); 778 copyout(&pendlist, uap->osv, sizeof(sigset_t)); 1208 copyout(&oldset, oset, sizeof(sigset_t)); 1217 * copyout:EFAULT 1312 error = copyout(&signum, uap->sig, sizeof(int)); 1339 error = copyout(&ss64, uap->oss, sizeof(ss64)); 1343 error = copyout( [all...] |
H A D | subr_log.c | 524 /* Allocate a temporary non-circular buffer for copyout */ 578 error = copyout(copystart, buffer, copysize);
|
H A D | kern_mman.c | 1001 error = copyout(&c, vec + lastvecindex, 1); 1012 error = copyout(&c, vec + vecindex, 1); 1026 error = copyout(&c, vec + lastvecindex, 1);
|
H A D | kern_proc.c | 1895 error = copyout(fakeheader, uaddr, sizeof(fakeheader)); 1900 return copyout(start, uaddr, length); 1968 error = copyout(&retflags, uaddr, sizeof(uint32_t)); 2016 error = copyout(&toff, uaddr, sizeof(toff)); 2034 error = copyout(cdhash, uaddr, sizeof (cdhash)); 2148 error = copyout(fakeheader, uaddr, sizeof(fakeheader)); 2155 error = copyout(identity, uaddr + sizeof(fakeheader), length);
|
H A D | kern_sysctl.c | 360 error = copyout(ut->pth_name,oldp,currlen); 555 error = copyout(valp, oldp, sizeof(int)); 581 error = copyout(valp, oldp, sizeof(quad_t)); 708 int error = copyout(args->kprocp, args->dp, args->sizeof_kproc); 1423 /* Put processes argc as the first word in the copyout buffer */ 1425 error = copyout(data, (where + sizeof(int)), size); 1428 error = copyout(data, where, size); 1485 error = copyout(data, placeHere, binPath_sz);
|
H A D | process_policy.c | 249 error = copyout((proc_policy_cpuusage_attr_t *)&cpuattr, (user_addr_t)attrp, sizeof(proc_policy_cpuusage_attr_t));
|
/xnu-2782.1.97/bsd/net/altq/ |
H A D | altq_cbq.c | 205 if ((error = copyout((caddr_t)&stats, (user_addr_t)(uintptr_t)ubuf,
|
H A D | altq_hfsc.c | 223 if ((error = copyout((caddr_t)&stats, (user_addr_t)(uintptr_t)ubuf,
|
/xnu-2782.1.97/osfmk/i386/ |
H A D | user_ldt.c | 324 err = copyout((char *)(current_ldt() + start_sel),
|
/xnu-2782.1.97/osfmk/kern/ |
H A D | mk_timer.c | 344 copyout((void *)&armed_time, result_time_addr,
|
H A D | telemetry.c | 989 * If needed, copyout in two chunks: from the oldest record to the end of the buffer, and then 997 if ((result = copyout((void *)(current_buffer->buffer + oldest_record_offset), buffer, 1010 if ((result = copyout((void *)current_buffer->buffer, buffer + *length, 1261 if ((result = copyout((void *)bootprofile_buffer, buffer,
|
/xnu-2782.1.97/osfmk/x86_64/ |
H A D | copyio.c | 73 #define COPYINSTR 2 /* string variant of copyout */ 118 * from kernel or kexts can be trapped. So, during copyin and copyout, 277 copyout(const void *kernel_addr, user_addr_t user_addr, vm_size_t nbytes) function 309 * the virtual since we just call the normal copyin/copyout
|
/xnu-2782.1.97/security/ |
H A D | mac_base.c | 1202 error = copyout(buffer, mac.m_string, strlen(buffer)+1); 1251 error = copyout(buffer, mac.m_string, strlen(buffer)+1); 1376 error = copyout(buffer, mac.m_string, strlen(buffer)+1); 1447 error = copyout(buffer, mac.m_string, strlen(buffer)+1); 1642 error = copyout(buffer, mac.m_string, strlen(buffer)+1); 1712 error = copyout(buffer, mac.m_string, strlen(buffer) + 1); 2044 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),
|
/xnu-2782.1.97/bsd/dev/dtrace/ |
H A D | dtrace_glue.c | 1285 if (copyout((const void *)src, dst, (vm_size_t)len)) { 1468 if (copyout((const void *)&value, addr, sizeof(value)) != 0) { 1478 if (copyout((const void *)&value, addr, sizeof(value)) != 0) { 1488 if (copyout((const void *)&value, addr, sizeof(value)) != 0) { 1498 if (copyout((const void *)&value, addr, sizeof(value)) != 0) {
|
/xnu-2782.1.97/bsd/security/audit/ |
H A D | audit_syscalls.c | 727 error = copyout((void *)&udata, uap->data, uap->length); 756 error = copyout((void *)&id, uap->auid, sizeof(id)); 819 return (copyout(&aia, user_addr, min(sizeof(aia), length)));
|
/xnu-2782.1.97/bsd/netinet/ |
H A D | mptcp_usrreq.c | 351 return (copyout(&mpte->mpte_associd, aidp, 378 if ((error = copyout(&mpts->mpts_connid, cidp, 451 error = copyout(se->se_addr, src, se->se_addr->sa_len); 461 error = copyout(se->se_addr, dst, se->se_addr->sa_len); 482 error = copyout(&tcp_ci, aux_data, sizeof (tcp_ci));
|
H A D | in.c | 2153 return (copyout(&aid, aidp, sizeof (aid))); 2182 return (copyout(&cid, cidp, sizeof (cid))); 2240 error = copyout(&sin, src, copy_len); 2255 error = copyout(&sin, dst, copy_len); 2275 error = copyout(&tcp_ci, aux_data, copy_len);
|
/xnu-2782.1.97/bsd/vfs/ |
H A D | vfs_syscalls.c | 2352 error = copyout((caddr_t)&my_dqblk64, uap->arg, sizeof (my_dqblk64)); 2355 error = copyout(datap, uap->arg, sizeof (struct dqblk)); 2362 error = copyout(datap, uap->arg, sizeof(quota_status)); 2494 error = copyout((caddr_t)&sfs, bufp, sizeof(sfs)); 5102 error = copyout(result, uap->results, desc_actual * sizeof(errno_t)); 5224 * copyout:EFAULT 5333 if ((error = copyout(sbp, ub, my_size)) != 0) 5357 error = copyout(fsec, xsecurity, KAUTH_FILESEC_COPYSIZE(fsec)); 7720 error = copyout((caddr_t)&base, uap->basep, sizeof(user64_long_t)); 7723 error = copyout((caddr_ [all...] |
/xnu-2782.1.97/bsd/net/ |
H A D | pktap.c | 423 error = copyout(x_filters, ifd->ifd_data, 426 printf("%s: PKTP_CMD_FILTER_GET copyout - error %d\n", __func__, error); 440 error = copyout(&tap_count, ifd->ifd_data, sizeof(tap_count)); 442 printf("%s: PKTP_CMD_TAP_COUNT copyout - error %d\n", __func__, error);
|