/netbsd/sys/compat/netbsd32/ |
H A D | netbsd32_quota.c | 74 NETBSD32PTR64(args32.u.idtypestat.qc_info); in netbsd32___quotactl() 80 NETBSD32PTR64(args32.u.objtypestat.qc_info); in netbsd32___quotactl() 95 NETBSD32PTR64(args32.u.cursoropen.qc_cursor); in netbsd32___quotactl() 99 NETBSD32PTR64(args32.u.cursorclose.qc_cursor); in netbsd32___quotactl() 109 NETBSD32PTR64(args32.u.cursorget.qc_cursor); in netbsd32___quotactl() 111 NETBSD32PTR64(args32.u.cursorget.qc_keys); in netbsd32___quotactl() 113 NETBSD32PTR64(args32.u.cursorget.qc_vals); in netbsd32___quotactl() 117 NETBSD32PTR64(args32.u.cursorget.qc_ret); in netbsd32___quotactl() 121 NETBSD32PTR64(args32.u.cursoratend.qc_cursor); in netbsd32___quotactl() 123 NETBSD32PTR64(args32.u.cursoratend.qc_ret); in netbsd32___quotactl() [all …]
|
H A D | netbsd32_ioctl.c | 373 p->buf = NETBSD32PTR64(s32p->buf); in netbsd32_to_nvlist_ref_t() 389 *p = (void *)NETBSD32PTR64(*s32p); in netbsd32_to_voidp() 498 c->mask = NETBSD32PTR64(c32->mask); in netbsd32_to_wsdisplay_cursor() 508 c->red = NETBSD32PTR64(c32->red); in netbsd32_to_wsdisplay_cmap() 518 f->name = NETBSD32PTR64(f32->name); in netbsd32_to_wsdisplay_font() 527 f->data = NETBSD32PTR64(f32->data); in netbsd32_to_wsdisplay_font() 535 f->name = NETBSD32PTR64(f32->name); in netbsd32_to_wsdisplay_usefontdata() 544 p->tv = NETBSD32PTR64(s32p->tv); in netbsd32_to_clockctl_settimeofday() 545 p->tzp = NETBSD32PTR64(s32p->tzp); in netbsd32_to_clockctl_settimeofday() 565 p->tp = NETBSD32PTR64(s32p->tp); in netbsd32_to_clockctl_clock_settime() [all …]
|
H A D | netbsd32_nfssvc.c | 69 nfsdarg->name = NETBSD32PTR64(args32.name); in nfssvc32_addsock_in() 84 mel->mel_path = NETBSD32PTR64(args32.mel_path); in nfssvc32_setexports_in() 86 mel->mel_exports = NETBSD32PTR64(args32.mel_exports); in nfssvc32_setexports_in() 100 nsd->nsd_nfsd = NETBSD32PTR64(args32.nsd_nfsd); in nfssvc32_nsd_in() 105 nsd->nsd_authstr = NETBSD32PTR64(args32.nsd_authstr); in nfssvc32_nsd_in() 153 exp->ex_addr = NETBSD32PTR64(exp32.ex_addr); in nfssvc32_exp_in() 155 exp->ex_mask = NETBSD32PTR64(exp32.ex_mask); in nfssvc32_exp_in() 157 exp->ex_indexfile = NETBSD32PTR64(exp32.ex_indexfile); in nfssvc32_exp_in()
|
H A D | netbsd32_compat_43.c | 440 if (NETBSD32PTR64(omsg.msg_accrights) == NULL) in compat_43_netbsd32_orecvmsg() 446 iov = netbsd32_get_iov(NETBSD32PTR64(omsg.msg_iov), omsg.msg_iovlen, in compat_43_netbsd32_orecvmsg() 451 msg.msg_name = NETBSD32PTR64(omsg.msg_name); in compat_43_netbsd32_orecvmsg() 458 NETBSD32PTR64(omsg.msg_accrights) != NULL ? &control : NULL, in compat_43_netbsd32_orecvmsg() 468 if (NETBSD32PTR64(omsg.msg_accrights) != NULL && control != NULL) { in compat_43_netbsd32_orecvmsg() 475 NETBSD32PTR64(omsg.msg_accrights), in compat_43_netbsd32_orecvmsg() 491 error = copyout_sockname(NETBSD32PTR64(omsg.msg_name), in compat_43_netbsd32_orecvmsg() 525 iov = netbsd32_get_iov(NETBSD32PTR64(omsg.msg_iov), omsg.msg_iovlen, in compat_43_netbsd32_osendmsg() 534 error = sockargs(&nam, NETBSD32PTR64(omsg.msg_name), omsg.msg_namelen, in compat_43_netbsd32_osendmsg() 636 nsa.sa_handler = NETBSD32PTR64(sv32.sv_handler); in compat_43_netbsd32_osigvec() [all …]
|
H A D | netbsd32_event.c | 106 error = kevent1(retval, fd, NETBSD32PTR64(changelist), nchanges, in netbsd32_kevent1() 107 NETBSD32PTR64(eventlist), nevents, NETBSD32PTR64(timeout), kops); in netbsd32_kevent1()
|
H A D | netbsd32_execve.c | 62 *value = (char *)NETBSD32PTR64(e); in netbsd32_execve_fetch_element() 102 *pathp32 = NETBSD32PTR64(fae32->fae_data.open.path); in netbsd32_posix_spawn_fae_path() 106 *pathp32 = NETBSD32PTR64(fae32->fae_data.chdir.path); in netbsd32_posix_spawn_fae_path() 145 error = copyin(NETBSD32PTR64(fa32.fae), fae32, fal32); in netbsd32_posix_spawn_fa_alloc()
|
H A D | netbsd32_drm.c | 103 v64.name = NETBSD32PTR64(v32.name); in compat_drm_version() 105 v64.date = NETBSD32PTR64(v32.date); in compat_drm_version() 107 v64.desc = NETBSD32PTR64(v32.desc); in compat_drm_version() 140 uq64.unique = NETBSD32PTR64(uq32.unique); in compat_drm_getunique() 166 uq64.unique = NETBSD32PTR64(uq32.unique); in compat_drm_setunique() 195 m64->handle = NETBSD32PTR64(m32->handle); in map32to64() 378 buf64.agp_start = (unsigned long)NETBSD32PTR64(buf32.agp_start); in compat_drm_addbufs() 443 req64.list = NETBSD32PTR64(req32.list); in compat_drm_freebufs() 464 req64.handle = NETBSD32PTR64(req32.handle); in compat_drm_setsareactx() 514 res64.contexts = NETBSD32PTR64(res32.contexts); in compat_drm_resctx()
|
H A D | netbsd32_compat_50_sysv.c | 110 karg.array = NETBSD32PTR64(karg32.array); in do_netbsd32___semctl14() 118 error = copyin(NETBSD32PTR64(karg32.buf), &sembuf32, in do_netbsd32___semctl14() 131 error = copyout(&sembuf32, NETBSD32PTR64(karg32.buf), in do_netbsd32___semctl14()
|
H A D | netbsd32_conv.h | 304 mhp->msg_name = NETBSD32PTR64(mhp32->msg_name); in netbsd32_to_msghdr() 307 mhp->msg_control = NETBSD32PTR64(mhp32->msg_control); in netbsd32_to_msghdr() 595 mp->msg_next = NETBSD32PTR64(m32p->msg_next); in netbsd32_to_msg() 814 ke->udata = NETBSD32PTR64(ke32->udata); in netbsd32_to_kevent() 844 ev->sigev_notify_function = NETBSD32PTR64(ev32->sigev_notify_function); in netbsd32_to_sigevent() 885 error = copyin(NETBSD32PTR64(n32p), &n32plist, in netbsd32_copyin_plistref() 889 p->pref_plist = NETBSD32PTR64(n32plist.pref_plist); in netbsd32_copyin_plistref() 902 return copyout(&n32plist, NETBSD32PTR64(n32p), in netbsd32_copyout_plistref() 912 error = copyin(NETBSD32PTR64(n32p), &n32nv, in netbsd32_copyin_nvlist_ref_t() 916 p->buf = NETBSD32PTR64(n32nv.buf); in netbsd32_copyin_nvlist_ref_t() [all …]
|
H A D | netbsd32_module.c | 155 out_p = NETBSD32PTR64(iov->iov_base); in modctl32_handle_stat() 229 error = handle_modctl_load(NETBSD32PTR64(ml.ml_filename), in netbsd32_modctl() 230 ml.ml_flags, NETBSD32PTR64(ml.ml_props), ml.ml_propslen); in netbsd32_modctl()
|
H A D | netbsd32_exec.h | 115 if ((error = copyoutstr(sp, NETBSD32PTR64(dp), in netbsd32_copyargs() 128 if ((error = copyoutstr(sp, NETBSD32PTR64(dp), in netbsd32_copyargs()
|
H A D | netbsd32_fs.c | 103 iovp->iov_base = NETBSD32PTR64(aiov32[j].iov_base); in netbsd32_get_iov() 858 NETBSD32PTR64(fs_args32.mfs_args.fspec); in netbsd32___mount50() 862 NETBSD32PTR64(fs_args32.mfs_args.base); in netbsd32___mount50() 879 NETBSD32PTR64(fs_args32.ufs_args.fspec); in netbsd32___mount50() 893 NETBSD32PTR64(fs_args32.iso_args.fspec); in netbsd32___mount50() 910 NETBSD32PTR64(fs_args32.msdosfs_args.fspec); in netbsd32___mount50() 942 NETBSD32PTR64(fs_args32.udf_args.fspec); in netbsd32___mount50() 976 NETBSD32PTR64(fs_args32.nfs_args.addr); in netbsd32___mount50() 982 NETBSD32PTR64(fs_args32.nfs_args.fh); in netbsd32___mount50() 988 NETBSD32PTR64(fs_args32.nfs_args.hostname); in netbsd32___mount50() [all …]
|
H A D | netbsd32_ipc.c | 154 karg.array = NETBSD32PTR64(karg32.array); in netbsd32_____semctl50() 162 error = copyin(NETBSD32PTR64(karg32.buf), &sembuf32, in netbsd32_____semctl50() 175 error = copyout(&sembuf32, NETBSD32PTR64(karg32.buf), in netbsd32_____semctl50()
|
H A D | netbsd32_kern_proc.c | 131 return (vaddr_t)NETBSD32PTR64(argv32[i]); in get_base32()
|
H A D | netbsd32_ptrace.c | 92 piod->piod_offs = NETBSD32PTR64(piod32.piod_offs); in netbsd32_copyin_piod() 93 piod->piod_addr = NETBSD32PTR64(piod32.piod_addr); in netbsd32_copyin_piod()
|
H A D | netbsd32_futex.c | 123 if (NETBSD32PTR64(head32) != head) in netbsd32___futex_get_robust_list()
|
/netbsd/sys/compat/linux32/common/ |
H A D | linux32_sysctl.c | 181 if (NETBSD32PTR64(ls32.oldlenp) != NULL) { in linux32_sys___sysctl() 182 if ((error = copyin(NETBSD32PTR64(ls32.oldlenp), in linux32_sys___sysctl() 200 if ((error = copyin(NETBSD32PTR64(ls32.name), &name, in linux32_sys___sysctl() 209 sysctl_lock(NETBSD32PTR64(ls32.newval) != NULL); in linux32_sys___sysctl() 211 NETBSD32PTR64(ls32.oldval), &oldlen, in linux32_sys___sysctl() 212 NETBSD32PTR64(ls32.newval), ls32.newlen, in linux32_sys___sysctl() 231 if (NETBSD32PTR64(ls32.oldlenp)) { in linux32_sys___sysctl() 235 NETBSD32PTR64(ls32.oldlenp), sizeof(oldlen32)); in linux32_sys___sysctl() 245 (NETBSD32PTR64(ls32.oldval) != NULL) && in linux32_sys___sysctl()
|
H A D | linux32_ipccall.c | 312 error = copyin(NETBSD32PTR64(lsem.l_buf), &ls64, in linux32_semctl() 316 error = copyin(NETBSD32PTR64(lsem.l_buf), &ls, in linux32_semctl() 344 bsem.array = NETBSD32PTR64(lsem.l_array); in linux32_semctl() 349 bsem.array = NETBSD32PTR64(lsem.l_array); in linux32_semctl() 363 error = copyout(&ls, NETBSD32PTR64(lsem.l_buf), sizeof ls); in linux32_semctl() 367 error = copyout(&ls64, NETBSD32PTR64(lsem.l_buf), sizeof ls64); in linux32_semctl()
|
H A D | linux32_unistd.c | 146 NETBSD32PTR64(lsp32.readfds), NETBSD32PTR64(lsp32.writefds), in linux32_sys_oldselect() 147 NETBSD32PTR64(lsp32.exceptfds), NETBSD32PTR64(lsp32.timeout)); in linux32_sys_oldselect() 256 if ((p = NETBSD32PTR64(lsss.ss)) != NULL) { in linux32_sys_pselect6()
|
H A D | linux32_socket.c | 434 docopy = NETBSD32PTR64(ifc.ifc_req) != NULL; in linux32_getifconf() 440 ifrp = NETBSD32PTR64(ifc.ifc_req); in linux32_getifconf() 661 pt.data = (void *)NETBSD32PTR64(SCARG(uap, data)); in linux32_ioctl_socket()
|
/netbsd/sys/dev/raidframe/ |
H A D | rf_compat32.c | 84 RF_Config_t32 *u_cfg32 = NETBSD32PTR64(*(netbsd32_pointer_t *)data); in rf_config_netbsd32() 121 k_cfg->layoutSpecific = NETBSD32PTR64(k_cfg32->layoutSpecific); in rf_config_netbsd32() 131 void *ucfgp = NETBSD32PTR64(*(netbsd32_pointer_t *)data); in rf_get_info_netbsd32()
|
/netbsd/sys/arch/sparc64/sparc64/ |
H A D | netbsd32_machdep.c | 679 p->red = NETBSD32PTR64(s32p->red); in netbsd32_to_fbcmap() 680 p->green = NETBSD32PTR64(s32p->green); in netbsd32_to_fbcmap() 681 p->blue = NETBSD32PTR64(s32p->blue); in netbsd32_to_fbcmap() 694 p->image = NETBSD32PTR64(s32p->image); in netbsd32_to_fbcursor() 695 p->mask = NETBSD32PTR64(s32p->mask); in netbsd32_to_fbcursor() 704 p->op_name = NETBSD32PTR64(s32p->op_name); in netbsd32_to_opiocdesc() 706 p->op_buf = NETBSD32PTR64(s32p->op_buf); in netbsd32_to_opiocdesc()
|
/netbsd/sys/compat/common/ |
H A D | compat_sigaltstack.h | 9 #define COMPAT_GET_PTR(p) NETBSD32PTR64(p)
|
/netbsd/sys/arch/amd64/amd64/ |
H A D | netbsd32_machdep_13.c | 101 scp = (struct netbsd32_sigcontext13 *)NETBSD32PTR64(SCARG(uap, sigcntxp)); in compat_13_netbsd32_sigreturn()
|
H A D | netbsd32_machdep.c | 580 NETBSD32PTR64(SCARG(uap, parms)), retval); in netbsd32_sysarch() 584 NETBSD32PTR64(SCARG(uap, parms)), retval); in netbsd32_sysarch() 588 NETBSD32PTR64(SCARG(uap, parms)), retval); in netbsd32_sysarch() 592 NETBSD32PTR64(SCARG(uap, parms)), retval); in netbsd32_sysarch() 596 NETBSD32PTR64(SCARG(uap, parms)), retval); in netbsd32_sysarch()
|