Lines Matching refs:nargs
498 Psyscall_setup(struct ps_prochandle *P, int nargs, int sysindex, uintptr_t sp)
501 sp -= sizeof (int) * (nargs+2);
507 int pusharg = (nargs > 6) ? nargs - 6: 0;
520 Psyscall_copyinargs(struct ps_prochandle *P, int nargs, argdes_t *argp,
528 for (i = 0, adp = argp; i < nargs; i++, adp++)
532 if (Pwrite(P, &arglist[0], sizeof (int) * (nargs+1),
533 (uintptr_t)ap) != sizeof (int) * (nargs+1))
539 int pusharg = (nargs > 6) ? nargs - 6: 0;
541 for (i = 0, adp = argp; i < nargs; i++, adp++) {
579 Psyscall_copyoutargs(struct ps_prochandle *P, int nargs, argdes_t *argp,
587 if (Pread(P, &arglist[0], sizeof (int) * (nargs+1),
588 (uintptr_t)ap) != sizeof (int) * (nargs+1))
591 for (i = 0, adp = argp; i < nargs; i++, adp++)
594 int pusharg = (nargs > 6) ? nargs - 6: 0;
604 for (i = 0, adp = argp; i < nargs; i++, adp++) {