Searched refs:copyout (Results 26 - 50 of 87) sorted by relevance

1234

/xnu-2422.115.4/bsd/net/altq/
H A Daltq_cbq.c205 if ((error = copyout((caddr_t)&stats, (user_addr_t)(uintptr_t)ubuf,
H A Daltq_hfsc.c223 if ((error = copyout((caddr_t)&stats, (user_addr_t)(uintptr_t)ubuf,
/xnu-2422.115.4/osfmk/i386/
H A Duser_ldt.c324 err = copyout((char *)(current_ldt() + start_sel),
/xnu-2422.115.4/osfmk/kern/
H A Dmk_timer.c342 copyout((void *)&armed_time, result_time_addr,
/xnu-2422.115.4/osfmk/x86_64/
H A Dcopyio.c73 #define COPYINSTR 2 /* string variant of copyout */
118 * from kernel or kexts can be trapped. So, during copyin and copyout,
276 copyout(const void *kernel_addr, user_addr_t user_addr, vm_size_t nbytes) function
308 * the virtual since we just call the normal copyin/copyout
/xnu-2422.115.4/bsd/kern/
H A Dkern_exit.c214 return (copyout(&sinfo64, uaddr, sizeof (sinfo64)));
220 return (copyout(&sinfo32, uaddr, sizeof (sinfo32)));
1244 error = copyout((caddr_t)&status,
1257 error = copyout((caddr_t)&my_rusage,
1264 error = copyout((caddr_t)&my_rusage,
1312 error = copyout((caddr_t)&status,
1336 error = copyout((caddr_t)&status,
H A Dsysv_sem.c780 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,
1626 error = copyout(&seminfo, ipcs.u64.ipcs_data, ipcs.u64.ipcs_datalen);
1665 error = copyout(semid_dsp, ipcs.u64.ipcs_data, ipcs.u64.ipcs_datalen);
H A Dkern_sysctl.c703 error = copyout(ut->pth_name,oldp,currlen);
974 error = copyout(valp, oldp, sizeof(int));
998 error = copyout((caddr_t)&val, oldp, sizeof(int));
1020 error = copyout(valp, oldp, sizeof(quad_t));
1042 error = copyout((caddr_t)&val, oldp, sizeof(quad_t));
1073 error = copyout(str, oldp, copylen);
1078 error = copyout((void *)&c, oldp, sizeof(char));
1108 error = copyout(str, oldp, len);
1136 error = copyout(str, oldp, len);
1158 error = copyout(s
[all...]
H A Dkdebug.c1900 if (copyout(cpumap, user_cpumap, (size_t)bytes_to_copy)) {
1927 if (copyout(mapptr, buffer, mapcount * sizeof(kd_threadmap)))
2047 if (copyout(kd_mapptr, buffer, mapsize))
2169 * copyout the buffer
2171 if (copyout(kd_entropy_buffer, buffer, kd_entropy_indx * sizeof(uint64_t)))
2323 if (copyout(&kd_bufinfo, where, sizeof(kd_bufinfo)))
2330 if (copyout(&kd_bufinfo, where, size))
2454 if (copyout(&kd_Reg, where, sizeof(kd_regtype))) {
2872 error = copyout(kdcopybuf, buffer, tempbuf_number * sizeof(kd_buf));
2950 * tracebuffer exhaustion, we copyout a
[all...]
H A Dkern_sig.c357 * copyout:EFAULT
406 error = copyout(&vec64, uap->osa, sizeof(vec64));
411 error = copyout(&vec32, uap->osa, sizeof(vec32));
765 copyout(&oldmask, omask, sizeof(sigset_t));
779 copyout(&pendlist, uap->osv, sizeof(sigset_t));
1209 copyout(&oldset, oset, sizeof(sigset_t));
1218 * copyout:EFAULT
1313 error = copyout(&signum, uap->sig, sizeof(int));
1340 error = copyout(&ss64, uap->oss, sizeof(ss64));
1344 error = copyout(
[all...]
H A Dprocess_policy.c251 error = copyout((proc_policy_cpuusage_attr_t *)&cpuattr, (user_addr_t)attrp, sizeof(proc_policy_cpuusage_attr_t));
H A Dsubr_log.c524 /* Allocate a temporary non-circular buffer for copyout */
578 error = copyout(copystart, buffer, copysize);
H A Dkern_exec.c2654 error = copyout(&i, ptr, 4);
2656 error = copyout(&ua, ptr, 8);
2846 error = copyout(imgp->ip_strings, string_area,
2895 error = copyout(ptr_buffer_start, ptr_area,
3778 (void) copyout((caddr_t) init_program_name, CAST_USER_ADDR_T(init_addr),
3793 copyout(init_args, CAST_USER_ADDR_T(init_addr),
3811 (void) copyout((caddr_t) argv, CAST_USER_ADDR_T(init_addr),
H A Dkern_proc.c1835 error = copyout(fakeheader, uaddr, sizeof(fakeheader));
1840 return copyout(start, uaddr, length);
1907 error = copyout(&retflags, uaddr, sizeof(uint32_t));
1955 error = copyout(&toff, uaddr, sizeof(toff));
1973 error = copyout(cdhash, uaddr, sizeof (cdhash));
2086 error = copyout(fakeheader, uaddr, sizeof(fakeheader));
2093 error = copyout(identity, uaddr + sizeof(fakeheader), length);
H A Dkern_guarded.c506 if (0 != (error = copyout(&ofl, uap->fdflagsp, sizeof (ofl)))) {
508 goto dropout; /* can't copyout old fdflags */
H A Dkern_descrip.c723 * copyout:EFAULT
730 * copyout:EFAULT
1092 error = copyout((caddr_t)&fl, argp, sizeof(fl));
1174 error2 = copyout((caddr_t)&alloc_struct, argp, sizeof(alloc_struct));
1434 error = copyout((caddr_t)&l2p_struct, argp, sizeof(l2p_struct));
1460 error = copyout((caddr_t)pathbufp, argp, pathlen);
2187 error = copyout((caddr_t)pathbufp, argp, pathlen);
2191 * If the copyout was successful, now check to ensure
2311 error = copyout(data, argp, size);
2602 * copyout
[all...]
H A Dkern_newsysctl.c1340 error = copyout((const void*)p, (req->oldptr + req->oldidx), i);
1567 i = copyout(&j, CAST_USER_ADDR_T(uap->oldlenp), sizeof(j));
1635 * Note that some sysctl handlers use copyin/copyout, which
/xnu-2422.115.4/security/
H A Dmac_base.c1348 error = copyout(buffer, mac.m_string, strlen(buffer)+1);
1397 error = copyout(buffer, mac.m_string, strlen(buffer)+1);
1535 error = copyout(buffer, mac.m_string, strlen(buffer)+1);
1606 error = copyout(buffer, mac.m_string, strlen(buffer)+1);
1801 error = copyout(buffer, mac.m_string, strlen(buffer)+1);
1871 error = copyout(buffer, mac.m_string, strlen(buffer) + 1);
2203 error = copyout(buffer, mac.m_string, strlen(buffer) + 1);
H A Dmac_net.c464 error = copyout(buffer, CAST_USER_ADDR_T(mac.m_string),
/xnu-2422.115.4/bsd/dev/dtrace/
H A Ddtrace_glue.c1207 if (copyout((const void *)src, dst, (vm_size_t)len)) {
1390 if (copyout((const void *)&value, addr, sizeof(value)) != 0) {
1400 if (copyout((const void *)&value, addr, sizeof(value)) != 0) {
1410 if (copyout((const void *)&value, addr, sizeof(value)) != 0) {
1420 if (copyout((const void *)&value, addr, sizeof(value)) != 0) {
H A Ddtrace.c17408 if (copyout(&pvd, (void *)arg, sizeof (pvd)) != 0)
17455 * across the copyout(), below.
17480 if (copyout(buf, (void *)arg, dest - (uintptr_t)buf) != 0) {
17546 * across the copyout(), below.
17582 if (copyout(buf, (void *)arg, dest - (uintptr_t)buf) != 0) {
17745 if (copyout(&desc, (void *)arg, sizeof (desc)) != 0)
17805 if (copyout(&desc, (void *)arg, sizeof (desc)) != 0)
17818 if (copyout(&cpuid, (void *)arg, sizeof (cpuid)) != 0)
17834 if (copyout(&cpuid, (void *)arg, sizeof (cpuid)) != 0)
17852 rval = copyout(do
[all...]
/xnu-2422.115.4/bsd/security/audit/
H A Daudit_syscalls.c728 error = copyout((void *)&udata, uap->data, uap->length);
757 error = copyout((void *)&id, uap->auid, sizeof(id));
820 return (copyout(&aia, user_addr, min(sizeof(aia), length)));
/xnu-2422.115.4/bsd/netinet/
H A Dmptcp_usrreq.c348 return (copyout(&mpte->mpte_associd, aidp,
375 if ((error = copyout(&mpts->mpts_connid, cidp,
448 error = copyout(se->se_addr, src, se->se_addr->sa_len);
458 error = copyout(se->se_addr, dst, se->se_addr->sa_len);
479 error = copyout(&tcp_ci, aux_data, sizeof (tcp_ci));
/xnu-2422.115.4/bsd/vfs/
H A Dvfs_syscalls.c2204 error = copyout((caddr_t)&my_dqblk64, uap->arg, sizeof (my_dqblk64));
2207 error = copyout(datap, uap->arg, sizeof (struct dqblk));
2214 error = copyout(datap, uap->arg, sizeof(quota_status));
2346 error = copyout((caddr_t)&sfs, bufp, sizeof(sfs));
4624 error = copyout(result, uap->results, desc_actual * sizeof(errno_t));
4723 * copyout:EFAULT
4824 if ((error = copyout(sbp, ub, my_size)) != 0)
4848 error = copyout(fsec, xsecurity, KAUTH_FILESEC_COPYSIZE(fsec));
7095 error = copyout((caddr_t)&base, uap->basep, sizeof(user64_long_t));
7098 error = copyout((caddr_
[all...]
/xnu-2422.115.4/bsd/net/
H A Dpktap.c420 error = copyout(x_filters, ifd->ifd_data,
423 printf("%s: PKTP_CMD_FILTER_GET copyout - error %d\n", __func__, error);
437 error = copyout(&tap_count, ifd->ifd_data, sizeof(tap_count));
439 printf("%s: PKTP_CMD_TAP_COUNT copyout - error %d\n", __func__, error);

Completed in 225 milliseconds

1234