Lines Matching defs:uap
103 compat_43_netbsd32_ocreat(struct lwp *l, const struct compat_43_netbsd32_ocreat_args *uap, register_t *retval)
119 compat_43_netbsd32_olseek(struct lwp *l, const struct compat_43_netbsd32_olseek_args *uap, register_t *retval)
128 SCARG(&ua, fd) = SCARG(uap, fd);
136 compat_43_netbsd32_stat43(struct lwp *l, const struct compat_43_netbsd32_stat43_args *uap, register_t *retval)
146 error = do_sys_stat(SCARG_P32(uap, path), FOLLOW, &sb);
149 error = copyout(&sb32, SCARG_P32(uap, ub), sizeof(sb32));
155 compat_43_netbsd32_lstat43(struct lwp *l, const struct compat_43_netbsd32_lstat43_args *uap, register_t *retval)
165 error = do_sys_stat(SCARG_P32(uap, path), NOFOLLOW, &sb);
168 error = copyout(&sb32, SCARG_P32(uap, ub), sizeof(sb32));
174 compat_43_netbsd32_fstat43(struct lwp *l, const struct compat_43_netbsd32_fstat43_args *uap, register_t *retval)
184 error = do_sys_fstat(SCARG(uap, fd), &sb);
187 error = copyout(&sb32, SCARG_P32(uap, sb), sizeof(sb32));
193 compat_43_netbsd32_otruncate(struct lwp *l, const struct compat_43_netbsd32_otruncate_args *uap, register_t *retval)
207 compat_43_netbsd32_oftruncate(struct lwp *l, const struct compat_43_netbsd32_oftruncate_args *uap, register_t *retval)
221 compat_43_netbsd32_ogetdirentries(struct lwp *l, const struct compat_43_netbsd32_ogetdirentries_args *uap, register_t *retval)
240 compat_43_netbsd32_ogetkerninfo(struct lwp *l, const struct compat_43_netbsd32_ogetkerninfo_args *uap, register_t *retval)
258 compat_43_netbsd32_ogethostname(struct lwp *l, const struct compat_43_netbsd32_ogethostname_args *uap, register_t *retval)
269 sz = SCARG(uap, len);
271 SCARG_P32(uap, hostname), &sz, 0, 0, l);
275 compat_43_netbsd32_osethostname(struct lwp *l, const struct compat_43_netbsd32_osethostname_args *uap, register_t *retval)
285 return old_sysctl(&name[0], 2, 0, 0, (char *)SCARG_P32(uap,
286 hostname), SCARG(uap, len), l);
290 compat_43_netbsd32_sethostid(struct lwp *l, const struct compat_43_netbsd32_sethostid_args *uap, register_t *retval)
302 compat_43_netbsd32_ogetrlimit(struct lwp *l, const struct compat_43_netbsd32_ogetrlimit_args *uap, register_t *retval)
316 compat_43_netbsd32_osetrlimit(struct lwp *l, const struct compat_43_netbsd32_osetrlimit_args *uap, register_t *retval)
330 compat_43_netbsd32_killpg(struct lwp *l, const struct compat_43_netbsd32_killpg_args *uap, register_t *retval)
345 compat_43_netbsd32_ommap(struct lwp *l, const struct compat_43_netbsd32_ommap_args *uap, register_t *retval)
368 compat_43_netbsd32_oaccept(struct lwp *l, const struct compat_43_netbsd32_oaccept_args *uap, register_t *retval)
384 compat_43_netbsd32_osend(struct lwp *l, const struct compat_43_netbsd32_osend_args *uap, register_t *retval)
402 compat_43_netbsd32_orecv(struct lwp *l, const struct compat_43_netbsd32_orecv_args *uap, register_t *retval)
423 compat_43_netbsd32_orecvmsg(struct lwp *l, const struct compat_43_netbsd32_orecvmsg_args *uap, register_t *retval)
436 error = copyin(SCARG_P32(uap, msg), &omsg, sizeof(omsg));
455 msg.msg_flags = SCARG(uap, flags) & MSG_USERFLAGS;
457 error = do_sys_recvmsg(l, SCARG(uap, s), &msg, &from,
497 error = copyout(&omsg, SCARG_P32(uap, msg), sizeof(omsg));
506 compat_43_netbsd32_osendmsg(struct lwp *l, const struct compat_43_netbsd32_osendmsg_args *uap, register_t *retval)
521 error = copyin(SCARG_P32(uap, msg), &omsg, sizeof(omsg));
553 error = do_sys_sendmsg(l, SCARG(uap, s), &msg, SCARG(uap, flags),
563 compat_43_netbsd32_orecvfrom(struct lwp *l, const struct compat_43_netbsd32_orecvfrom_args *uap, register_t *retval)
585 compat_43_netbsd32_ogetsockname(struct lwp *l, const struct compat_43_netbsd32_ogetsockname_args *uap, register_t *retval)
601 compat_43_netbsd32_ogetpeername(struct lwp *l, const struct compat_43_netbsd32_ogetpeername_args *uap, register_t *retval)
618 compat_43_netbsd32_osigvec(struct lwp *l, const struct compat_43_netbsd32_osigvec_args *uap, register_t *retval)
629 if (SCARG(uap, signum) >= 32)
632 if (SCARG_P32(uap, nsv)) {
633 error = copyin(SCARG_P32(uap, nsv), &sv32, sizeof(sv32));
642 error = sigaction1(l, SCARG(uap, signum), &nsa, &osa, NULL, 0);
644 error = sigaction1(l, SCARG(uap, signum), NULL, &osa, NULL, 0);
648 if (SCARG_P32(uap, osv)) {
653 error = copyout(&sv32, SCARG_P32(uap, osv), sizeof(sv32));
660 compat_43_netbsd32_sigblock(struct lwp *l, const struct compat_43_netbsd32_sigblock_args *uap, register_t *retval)
672 compat_43_netbsd32_sigsetmask(struct lwp *l, const struct compat_43_netbsd32_sigsetmask_args *uap, register_t *retval)
684 compat_43_netbsd32_osigstack(struct lwp *l, const struct compat_43_netbsd32_osigstack_args *uap, register_t *retval)
694 if (SCARG_P32(uap, nss)) {
695 error = copyin(SCARG_P32(uap, nss), &ss32, sizeof(ss32));
707 if (SCARG_P32(uap, oss)) {
711 error = copyout(&ss32, SCARG_P32(uap, oss), sizeof(ss32));