Home
last modified time | relevance | path

Searched refs:PTROUT (Results 1 – 14 of 14) sorted by relevance

/freebsd/sys/sys/
H A Dabi_compat.h37 #define PTROUT(v) (uintptr_t)(v) macro
52 (dst).fld = PTROUT((src).fld); \
/freebsd/sys/i386/linux/
H A Dlinux_sysvec.c149 AUXARGS_ENTRY((*pos), LINUX_AT_PLATFORM, PTROUT(linux_platform)); in linux32_arch_copyout_auxargs()
186 frame.sf_siginfo = PTROUT(&fp->sf_si); in linux_rt_sendsig()
187 frame.sf_ucontext = PTROUT(&fp->sf_uc); in linux_rt_sendsig()
193 frame.sf_uc.uc_stack.ss_sp = PTROUT(td->td_sigstk.ss_sp); in linux_rt_sendsig()
233 regs->tf_esp = PTROUT(fp); in linux_rt_sendsig()
235 regs->tf_edi = PTROUT(catcher); in linux_rt_sendsig()
332 regs->tf_esp = PTROUT(fp); in linux_sendsig()
334 regs->tf_edi = PTROUT(catcher); in linux_sendsig()
779 addr = (Elf_Addr)PTROUT(offset + addend); in linux_vdso_reloc()
/freebsd/sys/amd64/linux32/
H A Dlinux32_sysvec.c142 AUXARGS_ENTRY((*pos), LINUX_AT_PLATFORM, PTROUT(linux_platform)); in linux32_arch_copyout_auxargs()
180 frame.sf_siginfo = PTROUT(&fp->sf_si); in linux_rt_sendsig()
181 frame.sf_ucontext = PTROUT(&fp->sf_uc); in linux_rt_sendsig()
189 frame.sf_uc.uc_stack.ss_sp = PTROUT(td->td_sigstk.ss_sp); in linux_rt_sendsig()
229 regs->tf_rsp = PTROUT(fp); in linux_rt_sendsig()
231 regs->tf_rdi = PTROUT(catcher); in linux_rt_sendsig()
333 regs->tf_rsp = PTROUT(fp); in linux_sendsig()
335 regs->tf_rdi = PTROUT(catcher); in linux_sendsig()
938 addr = (Elf32_Addr)PTROUT(offset + addend); in linux_vdso_reloc()
/freebsd/sys/compat/linux/
H A Dlinux_signal.c227 lss.ss_sp = PTROUT(oss.ss_sp); in linux_sigaltstack()
717 lsi->lsi_ptr = PTROUT(si->si_value.sival_ptr); in siginfo_to_lsiginfo()
724 lsi->lsi_ptr = PTROUT(si->si_value.sival_ptr); in siginfo_to_lsiginfo()
729 lsi->lsi_ptr = PTROUT(si->si_value.sival_ptr); in siginfo_to_lsiginfo()
756 lsi->lsi_addr = PTROUT(si->si_addr); in siginfo_to_lsiginfo()
764 lsi->lsi_ptr = PTROUT(si->si_value.sival_ptr); in siginfo_to_lsiginfo()
H A Dlinux_socket.c725 lhdr->msg_name = PTROUT(bhdr->msg_name); in bsd_to_linux_msghdr()
727 lhdr->msg_iov = PTROUT(bhdr->msg_iov); in bsd_to_linux_msghdr()
729 lhdr->msg_control = PTROUT(bhdr->msg_control); in bsd_to_linux_msghdr()
1389 linux_msghdr.msg_control = PTROUT(NULL); in linux_sendmsg_common()
H A Dlinux_elf.c530 AUXARGS_ENTRY(pos, LINUX_AT_EXECFN, PTROUT(imgp->execpathp)); in __linuxN()
H A Dlinux_misc.c356 return (linux_mprotect_common(td, PTROUT(uap->addr), uap->len, in linux_mprotect()
364 return (linux_madvise_common(td, PTROUT(uap->addr), uap->len, in linux_madvise()
377 return (linux_mmap_common(td, PTROUT(uap->addr), uap->len, uap->prot, in linux_mmap2()
380 return (linux_mmap_common(td, PTROUT(uap->addr), uap->len, uap->prot, in linux_mmap2()
H A Dlinux_ioctl.c2675 lvw->clips = PTROUT(vw->clips); /* possible pointer size conversion */ in bsd_to_linux_v4l_window()
2694 lvb->base = PTROUT(vb->base); /* possible pointer size conversion */ in bsd_to_linux_v4l_buffer()
3074 lvb->m.userptr = PTROUT(vb->m.userptr); in bsd_to_linux_v4l2_buffer()
/freebsd/sys/dev/mpt/
H A Dmpt_user.c780 page_req32->buf = PTROUT(page_req->buf); in mpt_ioctl()
788 ext_page_req32->buf = PTROUT(ext_page_req->buf); in mpt_ioctl()
798 raid_act32->buf = PTROUT(raid_act->buf); in mpt_ioctl()
/freebsd/sys/arm64/linux/
H A Dlinux_sysvec.c159 AUXARGS_ENTRY((*pos), LINUX_AT_PLATFORM, PTROUT(linux_platform)); in linux64_arch_copyout_auxargs()
344 uc_stack.ss_sp = PTROUT(td->td_sigstk.ss_sp); in linux_rt_sendsig()
/freebsd/sys/amd64/linux/
H A Dlinux_sysvec.c228 AUXARGS_ENTRY((*pos), LINUX_AT_PLATFORM, PTROUT(linux_platform)); in linux64_arch_copyout_auxargs()
544 sf.sf_uc.uc_stack.ss_sp = PTROUT(td->td_sigstk.ss_sp); in linux_rt_sendsig()
/freebsd/sys/compat/freebsd32/
H A Dfreebsd32_misc.c1339 m32.msg_name = PTROUT(msg->msg_name); in freebsd32_copyoutmsghdr()
1341 m32.msg_iov = PTROUT(msg->msg_iov); in freebsd32_copyoutmsghdr()
1343 m32.msg_control = PTROUT(msg->msg_control); in freebsd32_copyoutmsghdr()
2830 s32.sa_u = PTROUT(osa.sa_handler); in freebsd32_sigaction()
2859 s32.sa_u = PTROUT(osa.sa_handler); in freebsd4_freebsd32_sigaction()
2900 s32.sa_u = PTROUT(osa.sa_handler); in ofreebsd32_sigaction()
2938 vec.sv_handler = PTROUT(osa.sa_handler); in ofreebsd32_sigvec()
2980 s32.ss_sp = PTROUT(oss.ss_sp); in ofreebsd32_sigstack()
/freebsd/sys/kern/
H A Dimgact_elf.c2680 ps_strings = PTROUT(PROC_PS_STRINGS(p)); in __elfN()
H A Dkern_proc.c3047 PTROUT(PROC_PS_STRINGS(p)) : 0; in sysctl_kern_proc_ps_strings()