Searched refs:nargs (Results 1 - 23 of 23) sorted by relevance

/osnet-11/usr/src/lib/libc/port/sys/
H A Dexecl.c52 int nargs = 0; local
63 nargs++;
75 argvec = (char **)alloca((size_t)((nargs + 2) * sizeof (char *)));
H A Dexecle.c54 int nargs = 0; local
65 nargs++;
83 argvec = (char **)alloca((size_t)((nargs + 2) * sizeof (char *)));
/osnet-11/usr/src/lib/libproc/common/
H A Dpr_lseek.c46 int nargs; /* 3 or 4, depending on syscall */ local
66 nargs = 3;
74 nargs = 4;
96 error = Psyscall(Pr, &rval, syscall, nargs, &argd[0]);
121 int nargs; /* 3 or 4, depending on syscall */ local
141 nargs = 3;
149 nargs = 4;
171 error = Psyscall(Pr, &rval, syscall, nargs, &argd[0]);
H A DPsyscall.c294 uint_t nargs, /* number of arguments to system call */
314 if (sysindex <= 0 || sysindex > PRMAXSYS || nargs > MAXARGS)
368 for (i = 0, adp = argp; i < nargs; i++, adp++) {
406 ap = Psyscall_setup(P, nargs, sysindex, sp);
424 for (i = 0, adp = argp; i < nargs; i++, adp++) {
435 if (Psyscall_copyinargs(P, nargs, argp, ap) != 0)
479 for (i = 0, adp = argp; i < nargs; i++, adp++) {
490 if (Psyscall_copyoutargs(P, nargs, argp, ap) != 0)
291 Psyscall(struct ps_prochandle *P, sysret_t *rval, int sysindex, uint_t nargs, argdes_t *argp) argument
H A Dllib-lproc87 int sysindex, uint_t nargs, argdes_t *argp);
/osnet-11/usr/src/grub/grub2/include/grub/
H A Dparttool.h48 int nargs; member in struct:grub_parttool
/osnet-11/usr/src/lib/libproc/i386/
H A DPisadep.c301 Psyscall_setup(struct ps_prochandle *P, int nargs, int sysindex, uintptr_t sp) argument
303 sp -= sizeof (int) * (nargs+2); /* space for arg list + CALL parms */
313 Psyscall_copyinargs(struct ps_prochandle *P, int nargs, argdes_t *argp, argument
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, argument
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;
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/commands/
H A Dparttool.c50 int nargs = 0; local
59 for (nargs = 0; args[nargs].name != 0; nargs++);
60 cur->nargs = nargs;
62 grub_malloc ((nargs + 1) * sizeof (struct grub_parttool_argdesc));
64 (nargs + 1) * sizeof (struct grub_parttool_argdesc));
275 grub_zalloc (ptool->nargs * sizeof (struct grub_parttool_args));
/osnet-11/usr/src/lib/libc/port/gen/
H A Dexecvp.c62 int nargs = 0; local
76 nargs++;
87 argvec = alloca((size_t)((nargs + 2) * sizeof (char *)));
91 while (nargs-- && nextarg != (char *)0) {
/osnet-11/usr/src/lib/libproc/amd64/
H A DPisadep.c498 Psyscall_setup(struct ps_prochandle *P, int nargs, int sysindex, uintptr_t sp) argument
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, argument
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
579 Psyscall_copyoutargs(struct ps_prochandle *P, int nargs, argdes_t *argp, uintptr_t ap) argument
[all...]
/osnet-11/usr/src/lib/libproc/sparc/
H A DPisadep.c342 Psyscall_setup(struct ps_prochandle *P, int nargs, int sysindex, uintptr_t sp) argument
344 sp -= (nargs > 6)?
345 WINDOWSIZE32 + sizeof (int32_t) * (1 + nargs) :
358 Psyscall_copyinargs(struct ps_prochandle *P, int nargs, argdes_t *argp, argument
365 for (i = 0, adp = argp; i < nargs; i++, adp++) {
372 if (nargs > 6 &&
373 Pwrite(P, &arglist[0], sizeof (int32_t) * nargs,
374 (uintptr_t)ap) != sizeof (int32_t) * nargs)
382 Psyscall_copyoutargs(struct ps_prochandle *P, int nargs, argdes_t *argp, argument
/osnet-11/usr/src/lib/libproc/sparcv9/
H A DPisadep.c448 Psyscall_setup(struct ps_prochandle *P, int nargs, int sysindex, uintptr_t sp) argument
454 sp -= (nargs > 6)?
455 WINDOWSIZE64 + sizeof (int64_t) * nargs :
460 sp -= (nargs > 6)?
461 WINDOWSIZE32 + sizeof (int32_t) * (1 + nargs) :
479 Psyscall_copyinargs(struct ps_prochandle *P, int nargs, argdes_t *argp, argument
488 for (i = 0, adp = argp; i < nargs; i++, adp++) {
497 if (nargs > 6 &&
498 Pwrite(P, &arglist64[0], sizeof (int64_t) * nargs,
499 (uintptr_t)ap) != sizeof (int64_t) * nargs)
513 Psyscall_copyoutargs(struct ps_prochandle *P, int nargs, argdes_t *argp, uintptr_t ap) argument
[all...]
/osnet-11/usr/src/lib/libdtrace/common/
H A Ddt_provider.c235 dt_node_t *xargs, *nargs; local
277 nargs = dt_probe_alloc_args(pvp, nc);
279 if ((xc != 0 && xargs == NULL) || (nc != 0 && nargs == NULL))
292 nargs, nc, xargs, xc)) == NULL) {
391 dt_node_t *nargs, uint_t nargc, dt_node_t *xargs, uint_t xargc)
403 * simplify subsequent use. Note that we can have one or both of nargs
409 xargs = nargs;
423 prp->pr_nargs = nargs;
444 prp->pr_mapping[i] = dt_probe_argmap(xargs, nargs);
460 for (i = 0; i < nargc; i++, nargs
390 dt_probe_create(dtrace_hdl_t *dtp, dt_ident_t *idp, int protoc, dt_node_t *nargs, uint_t nargc, dt_node_t *xargs, uint_t xargc) argument
[all...]
H A Ddt_parser.c2440 dt_node_probe(char *s, int protoc, dt_node_t *nargs, dt_node_t *xargs) argument
2469 nargc = dt_decl_prototype(nargs, nargs,
2472 xargc = dt_decl_prototype(xargs, nargs,
2486 dnp->dn_ident, protoc, nargs, nargc, xargs, xargc) == NULL)
/osnet-11/usr/src/lib/libshell/common/include/
H A Dstreval.h80 short nargs; member in struct:lval
/osnet-11/usr/src/lib/efcode/fcdriver/
H A Dioctl.c68 cip->nargs = fc_int2cell(nin);
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dargs.c707 char **sh_argbuild(Shell_t *shp,int *nargs, const struct comnod *comptr,int flag) argument
718 *nargs = 0;
724 *nargs = ap->dolnum;
728 *nargs = 0;
740 shp->xargmin = *nargs;
741 shp->xargmax = *nargs+n;
743 *nargs += n;
753 argn = *nargs;
H A Darith.c252 lvalue->nargs = -np->nvalue.rp->argc;
263 lvalue->nargs = *tp->fname;
H A Dxec.c2018 register int nargs; local
2044 nargs = shp->st.dolc;
2050 nargs = argn;
2067 sh_menu(sfstderr,nargs,args);
2093 type = nargs;
2096 if(type<0 || type >= nargs)
3080 Sfdouble_t sh_mathfun(Shell_t *shp,void *fp, int nargs, Sfdouble_t *arg) argument
3096 for(i=0; i < nargs; i++)
/osnet-11/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_scsi.h316 int nargs; /* Number of arguments following msgid */ member in struct:__anon932
H A Dcfga_utils.c208 #define GET_MSG_NARGS(i) (str_tbl[msg_idx(i)].nargs)
/osnet-11/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_fp.h381 int nargs; /* Number of arguments following msgid */ member in struct:__anon887
H A Dcfga_utils.c227 #define GET_MSG_NARGS(i) (str_tbl[msg_idx(i)].nargs)

Completed in 87 milliseconds