Lines Matching refs:nargs
301 Psyscall_setup(struct ps_prochandle *P, int nargs, int sysindex, uintptr_t sp)
303 sp -= sizeof (int) * (nargs+2); /* space for arg list + CALL parms */
313 Psyscall_copyinargs(struct ps_prochandle *P, int nargs, argdes_t *argp,
320 for (i = 0, adp = argp; i < nargs; i++, adp++)
324 if (Pwrite(P, &arglist[0], sizeof (int) * (nargs+1),
325 (uintptr_t)ap) != sizeof (int) * (nargs+1))
332 Psyscall_copyoutargs(struct ps_prochandle *P, int nargs, argdes_t *argp,
339 if (Pread(P, &arglist[0], sizeof (int) * (nargs+1), (uintptr_t)ap)
340 != sizeof (int) * (nargs+1))
343 for (i = 0, adp = argp; i < nargs; i++, adp++)