Searched refs:copyin (Results 51 - 75 of 77) sorted by relevance

1234

/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dsysv_shm.c487 * copyin:EFAULT
559 error = copyin(uap->buf, &inbuf, sizeof(struct user_shmid_ds));
561 error = copyin(uap->buf, &inbuf, sizeof(struct shmid_ds));
H A Dkern_authorization.c961 if ((error = copyin(xsecurity, (caddr_t)fsec, copysize)) != 0)
H A Dkern_mman.c1184 if (copyin(CAST_USER_ADDR_T(va), &dst_addr, sizeof (dst_addr)) ||
H A Duipc_socket.c2853 * copyin:EFAULT
2872 return (copyin(sopt->sopt_val, buf, valsize));
2897 error = copyin(sopt->sopt_val, &tv64, sizeof(tv64));
2913 error = copyin(sopt->sopt_val, tv_p, sizeof(*tv_p));
3548 /* XXX; copyin sopt data into mbuf chain for (__FreeBSD__ < 3) routines. */
3560 error = copyin(sopt->sopt_val, mtod(m, char *),
H A Dkern_prot.c1531 * copyin:EFAULT Bad gidset or gidsetsize is
1571 error = copyin(gidset,
H A Dkern_credential.c601 * copyin:EFAULT Bad message from user space
610 if ((error = copyin(message, &extl, sizeof(extl))) != 0) {
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/dtrace/
H A Dfasttrap.c2191 if (copyin((user_addr_t)(unsigned long)&uprobe->ftps_noffs, &noffs,
2213 if (copyin((user_addr_t)(unsigned long)uprobe, probe, size) != 0) {
2281 if (copyin((user_addr_t)(unsigned long)arg, &instr, sizeof (instr)) != 0)
H A Ddtrace.c8163 * 1. Make calls to subroutines other than copyin(), copyinstr() or
10920 * First, we're going to copyin() the sizeof (dof_hdr_t).
10923 if (copyin(uarg, &hdr, sizeof (hdr)) != 0) {
10925 if (copyin((void *)uarg, &hdr, sizeof (hdr)) != 0) {
10927 dtrace_dof_error(NULL, "failed to copyin DOF header");
10951 if (copyin(uarg, dof, hdr.dofh_loadsz) != 0) {
10953 if (copyin((void *)uarg, dof, hdr.dofh_loadsz) != 0) {
10973 * First, we're going to copyin() the sizeof (dof_hdr_t).
10976 dtrace_dof_error(NULL, "failed to copyin DOF header");
13924 * dof processing is to copyin th
15149 #define copyin macro
16072 #undef copyin macro
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/chud/i386/
H A Dchud_thread_i386.c133 if(copyin(usraddr, kernaddr, size)) {
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dpms.c503 ret = copyin(reqaddr, (void *)ndefs, reqsize); /* Get the new config table */
504 if(ret) { /* Hmmm, something went wrong with the copyin */
H A Dmovc.s467 // Stack frame format used by copyin, copyout, copyinstr and copyoutstr.
541 crset kkIn // flag as copyin (rather than copyout)
582 * copyin(src, dst, count)
590 .globl EXT(copyin)
593 LEXT(copyin)
600 crset kkIn // flag as copyin
606 // r5 = dest if copyin
609 // r10 = high word of 64-bit user-space address (source if copyin, dest if copyout)
635 // Handle buffer length > 256MB. This is an error (ENAMETOOLONG) on copyin and copyout.
664 // r10/r11 = 64-bit user-space ptr (source if copyin, des
[all...]
H A Dhw_perfmon.c847 if((error = copyin(CAST_USER_ADDR_T(usr_pmcs_p), (void *)kern_pmcs, MAX_CPUPMC_COUNT*sizeof(uint64_t)))) {
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Dip_compat.h212 # define IRCOPY(a,b,c) copyin((a), (b), (c))
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/
H A Dvfs_attrlist.c959 if ((error = copyin(uap->alist, &al, sizeof(al))) != 0)
1585 if ((error = copyin(uap->alist, (caddr_t) &al, sizeof (al))))
1636 if ((error = copyin(uap->attributeBuffer, user_buf, uap->bufferSize)) != 0) {
1637 VFS_DEBUG(ctx, vp, "ATTRLIST - ERROR: buffer copyin failed");
H A Dvfs_fsevents.c1968 ret = copyin(devfilt_args->devices,
2354 error = copyin(fse_clone_args->event_list,
/macosx-10.5.8/xnu-1228.15.4/osfmk/chud/ppc/
H A Dchud_thread_ppc.c350 if(copyin(usraddr, kernaddr, size)) {
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/
H A Dloose_ends.c1058 * the driver on a user address space page fault due to a copyin/out
1108 copyin(const user_addr_t user_addr, char *kernel_addr, vm_size_t nbytes) function
1160 * the virtual since we just call the normal copyin/copyout
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/
H A Dhfs_readwrite.c1060 /* struct copyin done during dispatch... need to copy file_id array separately */
1166 if ((error = copyin(user_access_structp->file_ids, (caddr_t)file_ids,
1172 if ((error = copyin(user_access_structp->parents, (caddr_t)parents,
H A Dhfs_vfsops.c203 if ((retval = copyin(data, (caddr_t)&args, sizeof(args)))) {
2276 error = copyin(newp, (caddr_t)filename, newlen);
2505 error = copyin(oldp, (caddr_t)devnode, devnode_len);
/macosx-10.5.8/xnu-1228.15.4/osfmk/ipc/
H A Dipc_kmsg.c1061 * MACH_MSG_SUCCESS Successful copyin.
1068 * MACH_SEND_INVALID_DEST Can't copyin destination port.
1070 * MACH_SEND_INVALID_REPLY Can't copyin reply port.
1179 * live entry. Therefore the other copyin,
1199 * of the copyin_check and copyin calls. Hence
1247 * handy-dandy special-purpose copyin call
1306 * to make atomic. Just copyin the destination.
1332 * At the time we copyin dest_port, it must be alive.
1333 * If reply_port is alive when we copyin it, then
1335 * of both ports. Assume reply_port is dead at copyin
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/net/
H A Dbpf.c1279 if (copyin(bf_insns, (caddr_t)fcode, size) == 0 &&
H A Dif_vlan.c1652 error = copyin(user_addr, &vlr, sizeof(vlr));
H A Dif_bond.c2832 error = copyin(user_addr, &ibr, sizeof(ibr));
2904 error = copyin(user_addr, &ibr, sizeof(ibr));
/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/
H A Dnfs_subs.c1995 error = copyin(uaddr, &nxna, sizeof(nxna));
2166 error = copyin(uaddr, &nxna, sizeof(nxna));
/macosx-10.5.8/xnu-1228.15.4/osfmk/vm/
H A Dvm_map.c5009 * to look at out-of-line data (in copyin form)
7685 * Use maxprot version of copyin because we
10675 if (copyin(src_addr, dst_p, size)) {
10686 if (copyin(src_addr, dst_p, size)) {

Completed in 225 milliseconds

1234