Lines Matching refs:nargs
88 copyin_args(struct regs *rp, long *ap, uint_t nargs)
92 ASSERT(nargs <= MAXSYSARGS);
94 return (copyin_nowatch(sp, ap, nargs * sizeof (*sp)));
99 copyin_args32(struct regs *rp, long *ap, uint_t nargs)
105 ASSERT(nargs <= MAXSYSARGS);
107 if ((rc = copyin_nowatch(sp, a32, nargs * sizeof (*sp))) == 0) {
110 while (nargs--)
150 uint_t nargs;
195 if ((nargs = (uint_t)callp->sy_narg) != 0 &&
196 COPYIN_ARGS32(rp, argp, nargs)) {
667 int nargs = (code > 0 && code < NSYSCALL)?
669 realsigprof(code, nargs, error);
916 int nargs;
938 nargs = LWP_GETSYSENT(lwp)[code].sy_narg;
940 ASSERT(nargs <= MAXSYSARGS);
942 *nargsp = nargs;
943 while (nargs-- > 0)
1008 uint_t nargs;
1014 nargs = 0; /* illegal syscall */
1019 nargs = callp->sy_narg;
1020 if (LOADABLE_SYSCALL(callp) && nargs == 0) {
1035 nargs = callp->sy_narg;
1043 if (nargs == 0)
1046 ASSERT(nargs <= MAXSYSARGS);
1058 if (nargs > 6 && copyin_args(rp, &lwp->lwp_arg[6], nargs - 6))
1062 if (COPYIN_ARGS32(lwptoregs(lwp), lwp->lwp_arg, nargs))