Lines Matching refs:nargs
280 Psyscall_setup(struct ps_prochandle *P, int nargs, int sysindex, uintptr_t sp)
282 sp -= sizeof (int) * (nargs+2); /* space for arg list + CALL parms */
292 Psyscall_copyinargs(struct ps_prochandle *P, int nargs, argdes_t *argp,
299 for (i = 0, adp = argp; i < nargs; i++, adp++)
303 if (Pwrite(P, &arglist[0], sizeof (int) * (nargs+1),
304 (uintptr_t)ap) != sizeof (int) * (nargs+1))
311 Psyscall_copyoutargs(struct ps_prochandle *P, int nargs, argdes_t *argp,
318 if (Pread(P, &arglist[0], sizeof (int) * (nargs+1), (uintptr_t)ap)
319 != sizeof (int) * (nargs+1))
322 for (i = 0, adp = argp; i < nargs; i++, adp++)