/freebsd-10.0-release/sys/compat/linux/ |
H A D | linux_socket.c | 490 bhdr->msg_name = PTRIN(lhdr->msg_name); 492 bhdr->msg_iov = PTRIN(lhdr->msg_iov); 494 bhdr->msg_control = PTRIN(lhdr->msg_control); 623 if ((error = copyin(PTRIN(linux_args->msg), packet, 632 msg.msg_name = PTRIN(linux_args->to); 729 error = linux_getsockaddr(&sa, PTRIN(args->name), 757 error = linux_getsockaddr(&sa, (struct osockaddr *)PTRIN(args->name), 826 bsd_args.name = (struct sockaddr * __restrict)PTRIN(addr); 827 bsd_args.anamelen = PTRIN(namelen);/* XXX */ 848 error = linux_sa_put(PTRIN(add [all...] |
H A D | linux_socket.h | 71 PTRIN((msg)->msg_control) : \ 77 (((char *)PTRIN((msg)->msg_control)) + \
|
H A D | linux_ipc.c | 214 bsp->sem_base = PTRIN(lsp->sem_base); 497 bsd_args.sops = PTRIN(args->tsops); 552 &linux_semid, PTRIN(args->arg.buf)); 572 &linux_semid, PTRIN(args->arg.buf)); 594 PTRIN(args->arg.buf), sizeof(linux_seminfo)); 626 msgp = PTRIN(args->msgp); 645 msgp = PTRIN(args->msgp); 693 error = copyout(&linux_msginfo, PTRIN(args->buf), 711 &linux_msqid, PTRIN(args->buf)); 734 &linux_msqid, PTRIN(arg [all...] |
H A D | linux_sysctl.c | 99 error = copyout(value, PTRIN(la->oldval), len + 1); 101 error = copyout(&len, PTRIN(la->oldlenp), sizeof(len)); 145 error = copyin(PTRIN(la.name), mib, la.nlen * sizeof(l_int));
|
H A D | linux_futex.c | 1183 if (fetch_robust_entry(&entry, PTRIN(&head->list.next), &pi)) { 1196 if (fetch_robust_entry(&pending, PTRIN(&head->pending_list), &pip)) { 1202 rc = fetch_robust_entry(&next_entry, PTRIN(&entry->next), &next_pi);
|
H A D | linux_ioctl.c | 2273 error = copyout(sbuf_data(sb), PTRIN(ifc.ifc_buf), ifc.ifc_len); 2677 vc->next = PTRIN(lvc->next); /* possible pointer size conversion */ 2691 vw->clips = PTRIN(lvw->clips); /* possible pointer size conversion */ 2713 vb->base = PTRIN(lvb->base); /* possible pointer size conversion */ 2737 vc->data = PTRIN(lvc->data); /* possible pointer size conversion */ 2815 plvc = PTRIN(lvw->clips); 2830 plvc = PTRIN(((struct l_video_clip *) plvc)->next); 3071 vb->m.userptr = (unsigned long)PTRIN(lvb->m.userptr);
|
H A D | linux_signal.c | 96 bsa->sa_handler = PTRIN(lsa->lsa_handler);
|
/freebsd-10.0-release/sys/amd64/linux32/ |
H A D | linux32_machdep.c | 189 iov[i].iov_base = PTRIN(iov32.iov_base); 229 iov[i].iov_base = PTRIN(iov32.iov_base); 327 a.msgp = PTRIN(tmp.msgp); 356 a.raddr = PTRIN((l_uint)args->arg3); 405 newsel.readfds = PTRIN(linux_args.readfds); 406 newsel.writefds = PTRIN(linux_args.writefds); 407 newsel.exceptfds = PTRIN(linux_args.exceptfds); 408 newsel.timeout = PTRIN(linux_args.timeout); 612 if ((caddr_t)PTRIN(addr) + len > p->p_vmspace->vm_maxsaddr) { 644 bsd_args.addr = (caddr_t)PTRIN(add [all...] |
H A D | linux.h | 61 #define PTRIN(v) (void *)(uintptr_t)(v) macro
|
H A D | linux32_sysvec.c | 729 ss.ss_sp = PTRIN(lss->ss_sp);
|
/freebsd-10.0-release/sys/compat/freebsd32/ |
H A D | freebsd32_misc.c | 353 argp = PTRIN(arg); 378 envp = PTRIN(arg); 480 ap.addr = PTRIN(uap->addr); 662 * XXX Do pointers need PTRIN()? 695 * XXX Do pointers need PTRIN()? 845 iov[i].iov_base = PTRIN(iov32.iov_base); 941 iov[i].iov_base = PTRIN(iov32.iov_base); 957 msg->msg_name = PTRIN(m32.msg_name); 959 msg->msg_iov = PTRIN(m32.msg_iov); 961 msg->msg_control = PTRIN(m3 [all...] |
H A D | freebsd32.h | 36 #define PTRIN(v) (void *)(uintptr_t) (v) macro 41 do { (dst).fld = PTRIN((src).fld); } while (0)
|
H A D | freebsd32_ioctl.c | 288 for (i = 0, pmc32p = (struct pci_match_conf32 *)PTRIN(pci32.patterns), 311 pc32p = (struct pci_conf32 *)PTRIN(pci32.matches);
|
/freebsd-10.0-release/sys/dev/ipmi/ |
H A D | ipmi.c | 278 #define PTRIN(p) ((void *)(uintptr_t)(p)) macro 313 req->addr = PTRIN(req32->addr); 319 req->msg.data = PTRIN(req32->msg.data); 324 recv->addr = PTRIN(recv32->addr); 327 recv->msg.data = PTRIN(recv32->msg.data);
|
/freebsd-10.0-release/sys/dev/mps/ |
H A D | mps_user.c | 182 #define PTRIN(v) (void *)(uintptr_t)(v) macro 187 do { (dst).fld = PTRIN((src).fld); } while (0) 816 err = copyin(PTRIN(data->PtrRequest), &tmphdr, data->RequestSize); 872 copyout(cm->cm_reply, PTRIN(data->PtrReply), 922 err = copyin(PTRIN(data->PtrDataOut), 927 err = copyin(PTRIN(data->PtrData), 1011 PTRIN(data->PtrData), data->DataSize); 1032 copyout(cm->cm_reply, PTRIN(data->PtrReply), data->ReplySize); 1747 PTRIN(diag_read_buffer.PtrDataBuffer), 1810 PTRIN(dat [all...] |
/freebsd-10.0-release/sys/dev/mpt/ |
H A D | mpt_user.c | 590 #define PTRIN(p) ((void *)(uintptr_t)(p)) macro 630 page_req->buf = PTRIN(page_req32->buf); 639 ext_page_req->buf = PTRIN(ext_page_req32->buf); 650 raid_act->buf = PTRIN(raid_act32->buf);
|
/freebsd-10.0-release/sys/i386/linux/ |
H A D | linux_machdep.c | 518 if ((caddr_t)PTRIN(addr) + len > p->p_vmspace->vm_maxsaddr) { 550 bsd_args.addr = (caddr_t)PTRIN(addr); 553 bsd_args.addr = (caddr_t)PTRIN(addr) - 558 bsd_args.addr = (caddr_t)PTRIN(addr);
|
H A D | linux.h | 54 #define PTRIN(v) (void *)(v) macro
|
/freebsd-10.0-release/sys/kern/ |
H A D | sysv_sem.c | 1552 error = copyin(PTRIN(arg.buf), &dsbuf32, sizeof(dsbuf32)); 1564 semun.array = PTRIN(arg.array); 1585 error = copyout(&dsbuf32, PTRIN(arg.buf), sizeof(dsbuf32)); 1624 error = copyin(PTRIN(arg.buf), &dsbuf32, sizeof(dsbuf32)); 1636 semun.array = PTRIN(arg.array); 1657 error = copyout(&dsbuf32, PTRIN(arg.buf), sizeof(dsbuf32));
|
H A D | sysv_shm.c | 1086 ap.shmaddr = PTRIN(uap->a3); 1093 ap.shmaddr = PTRIN(uap->a2); 1109 ap.buf = PTRIN(uap->a4);
|
H A D | kern_proc.c | 1541 vptr = (vm_offset_t)PTRIN(pss.ps_argvstr); 1548 vptr = (vm_offset_t)PTRIN(pss.ps_envstr); 1555 vptr = (vm_offset_t)PTRIN(pss.ps_envstr) + 1587 proc_vector[i] = PTRIN(proc_vector32[i]);
|
H A D | sysv_msg.c | 1467 msgp = PTRIN(uap->msgp); 1484 msgp = PTRIN(uap->msgp);
|
H A D | vfs_aio.c | 2886 ujoblist[i] = PTRIN(ujoblist32[i]); 3014 acb_list[i] = PTRIN(acb_list32[i]); 3059 acb_list[i] = PTRIN(acb_list32[i]);
|
/freebsd-10.0-release/sys/amd64/ia32/ |
H A D | ia32_signal.c | 217 ret = copyin(PTRIN(mcp->mc_xfpustate), xfpustate, 675 PTRIN(sf.sf_uc.uc_mcontext.mc_xfpustate), xfpusave_len) 899 error = copyin(PTRIN(ucp->uc_mcontext.mc_xfpustate),
|
/freebsd-10.0-release/sys/dev/mfi/ |
H A D | mfi.c | 3086 #define PTRIN(p) ((void *)(uintptr_t)(p)) macro 3261 addr = PTRIN(ioc32->mfi_sgl[i].iov_base); 3321 addr = PTRIN(ioc32->mfi_sgl[i].iov_base); 3449 iop_swab.buf = PTRIN(iop32->buf); 3542 error = copyin(PTRIN(l_ioc.lioc_sgl[i].iov_base), 3585 PTRIN(l_ioc.lioc_sgl[i].iov_base),
|