Lines Matching refs:nargs
566 Psyscall_setup(struct ps_prochandle *P, int nargs, int sysindex, uintptr_t sp)
569 sp -= sizeof (int) * (nargs+2);
575 int pusharg = (nargs > 6) ? nargs - 6: 0;
588 Psyscall_copyinargs(struct ps_prochandle *P, int nargs, argdes_t *argp,
596 for (i = 0, adp = argp; i < nargs; i++, adp++)
600 if (Pwrite(P, &arglist[0], sizeof (int) * (nargs+1),
601 (uintptr_t)ap) != sizeof (int) * (nargs+1))
607 int pusharg = (nargs > 6) ? nargs - 6: 0;
609 for (i = 0, adp = argp; i < nargs; i++, adp++) {
647 Psyscall_copyoutargs(struct ps_prochandle *P, int nargs, argdes_t *argp,
655 if (Pread(P, &arglist[0], sizeof (int) * (nargs+1),
656 (uintptr_t)ap) != sizeof (int) * (nargs+1))
659 for (i = 0, adp = argp; i < nargs; i++, adp++)
662 int pusharg = (nargs > 6) ? nargs - 6: 0;
672 for (i = 0, adp = argp; i < nargs; i++, adp++) {