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

123

/illumos-gate/usr/src/uts/sparc/os/
H A Dobpsym_1275.c73 unsigned int nargs, nresults; local
77 nargs = p1275_cell2uint(cif[1]);
87 if (nargs != 0) {
98 * cif[1]: nargs ( number of argument cells)
102 * cif[3 + nargs]: result{0} ( First result cell )
106 cif[3 + nargs] = p1275_int2cell(error);
108 cif[3 + nargs + 1] = p1275_uintptr2cell(symvalue);
120 u_int nargs, nresults; local
126 nargs = p1275_cell2uint(cif[1]);
138 if (nargs !
[all...]
H A Dsyscall.c153 int nargs; local
162 nargs = LWP_GETSYSENT(lwp)[code].sy_narg;
164 ASSERT(nargs <= MAXSYSARGS);
166 *nargsp = nargs;
168 while (nargs-- > 0)
211 uint_t nargs; local
220 nargs = 0; /* illegal syscall */
225 nargs = callp->sy_narg;
226 if (LOADABLE_SYSCALL(callp) && nargs == 0) {
241 nargs
758 int nargs = (code > 0 && code < NSYSCALL)? local
[all...]
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/
H A Dopenfirm.c116 cell_t nargs; member in struct:__anon335
138 cell_t nargs; member in struct:__anon336
161 cell_t nargs; member in struct:__anon337
183 cell_t nargs; member in struct:__anon338
205 cell_t nargs; member in struct:__anon339
227 cell_t nargs; member in struct:__anon340
249 cell_t nargs; member in struct:__anon341
273 cell_t nargs; member in struct:__anon342
301 cell_t nargs; member in struct:__anon343
328 cell_t nargs; member in struct:__anon344
356 cell_t nargs; member in struct:__anon345
382 cell_t nargs; member in struct:__anon346
404 cell_t nargs; member in struct:__anon347
430 cell_t nargs; member in struct:__anon348
452 OF_call_method(char *method, ihandle_t instance, int nargs, int nreturns, ...) argument
457 cell_t nargs; member in struct:__anon349
500 cell_t nargs; member in struct:__anon350
523 cell_t nargs; member in struct:__anon351
541 cell_t nargs; member in struct:__anon352
579 cell_t nargs; member in struct:__anon353
605 cell_t nargs; member in struct:__anon354
635 cell_t nargs; member in struct:__anon355
661 cell_t nargs; member in struct:__anon356
685 cell_t nargs; member in struct:__anon357
705 cell_t nargs; member in struct:__anon358
721 cell_t nargs; member in struct:__anon359
737 cell_t nargs; member in struct:__anon360
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/pkgrm/
H A Dmain.c1183 int nargs; local
1211 nargs = 0;
1215 arg[nargs++] = strdup(path);
1220 arg[nargs++] = "-O";
1221 arg[nargs++] = "debug";
1227 arg[nargs++] = "-b";
1228 arg[nargs++] = a_altBinDir;
1238 arg[nargs++] = "-o";
1247 arg[nargs++] = "-y";
1252 arg[nargs
1406 int nargs; local
1653 int nargs; local
[all...]
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dexecl.c55 int nargs = 0; local
66 nargs++;
78 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 *)));
/illumos-gate/usr/src/tools/lintdump/
H A Dlintdump.c186 int nargs; local
216 nargs = line.nargs;
218 if (nargs < 0)
219 nargs = -nargs - 1;
226 args = calloc(sizeof (atype), nargs);
230 if (fread(args, sizeof (atype), nargs, fp) != nargs)
233 print_atype(&line.type, line.nargs, arg
298 print_atype(ATYPE *atp, int nargs, ATYPE *args, const char *name) argument
351 print_mods(const char *name, ATYPE *atp, int nargs, ATYPE *args, uint_t pos) argument
462 int nargs; local
[all...]
H A Dlnstuff.h88 short nargs; /* # of args (or members) */ member in struct:__anon4480
/illumos-gate/usr/src/cmd/truss/
H A Dsystable.h46 short nargs; /* number of arguments */ member in struct:systable
H A Dactions.c316 int nargs; local
331 nargs = Lsp->pr_nsysarg;
333 i < nargs && i < sizeof (pri->sys_args) / sizeof (pri->sys_args[0]);
336 pri->sys_nargs = nargs;
357 int nargs; local
380 nargs = pri->sys_nargs;
386 if (nargs > stp->nargs)
387 nargs = stp->nargs;
932 int nargs; local
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/pkgadd/
H A Dmain.c1476 int nargs; local
1506 nargs = 0;
1510 arg[nargs++] = path;
1516 arg[nargs++] = "-O";
1517 arg[nargs++] = "debug";
1523 arg[nargs++] = "-G";
1529 arg[nargs++] = "-b";
1530 arg[nargs++] = a_altBinDir;
1536 arg[nargs++] = "-C";
1542 arg[nargs
1785 int nargs; local
2112 int n, nargs; local
[all...]
/illumos-gate/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]);
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_vfsops.c197 nfs_free_args(struct nfs_args *nargs, nfs_fhandle *fh) argument
203 if (nargs->pathconf) {
204 kmem_free(nargs->pathconf, sizeof (struct pathcnf));
205 nargs->pathconf = NULL;
208 if (nargs->knconf) {
209 if (nargs->knconf->knc_protofmly)
210 kmem_free(nargs->knconf->knc_protofmly, KNC_STRSIZE);
211 if (nargs->knconf->knc_proto)
212 kmem_free(nargs->knconf->knc_proto, KNC_STRSIZE);
213 kmem_free(nargs
258 nfs_copyin(char *data, int datalen, struct nfs_args *nargs, nfs_fhandle *fh) argument
[all...]
H A Dnfs3_vfsops.c194 nfs3_free_args(struct nfs_args *nargs, nfs_fhandle *fh) argument
200 if (nargs->knconf) {
201 if (nargs->knconf->knc_protofmly)
202 kmem_free(nargs->knconf->knc_protofmly, KNC_STRSIZE);
203 if (nargs->knconf->knc_proto)
204 kmem_free(nargs->knconf->knc_proto, KNC_STRSIZE);
205 kmem_free(nargs->knconf, sizeof (*nargs->knconf));
206 nargs->knconf = NULL;
209 if (nargs
250 nfs3_copyin(char *data, int datalen, struct nfs_args *nargs, nfs_fhandle *fh) argument
[all...]
H A Dnfs4_stub_vnops.c907 struct nfs_args *nargs, *nargs_head; local
934 nargs = nargs_head;
968 * nargs: the current tail of the list
995 nargs = nargs_head;
996 while (nargs != NULL) {
997 next = nargs->nfs_ext_u.nfs_extB.next;
998 nfs4_trigger_nargs_destroy(nargs);
999 nargs = next;
1023 ASSERT(nargs == NULL);
1031 nargs
1069 struct nfs_args *nargs = dma->dma_nargs; local
1855 struct nfs_args *nargs = dma->dma_nargs; local
1982 struct nfs_args *nargs; local
2121 nfs4_trigger_nargs_destroy(struct nfs_args *nargs) argument
[all...]
/illumos-gate/usr/src/lib/libproc/i386/
H A DPisadep.c280 Psyscall_setup(struct ps_prochandle *P, int nargs, int sysindex, uintptr_t sp) argument
282 sp -= sizeof (int) * (nargs+2); /* space for arg list + CALL parms */
292 Psyscall_copyinargs(struct ps_prochandle *P, int nargs, argdes_t *argp, argument
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, argument
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;
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dexecvp.c61 int nargs = 0; local
75 nargs++;
86 argvec = alloca((size_t)((nargs + 2) * sizeof (char *)));
90 while (nargs-- && nextarg != (char *)0) {
/illumos-gate/usr/src/cmd/mail/
H A Dsendlist.c63 int nargs = 4; /* "sendmail", "-oi", "--", .. NULL */ local
88 nargs += 2; /* for "-f", "Rpath" */
92 nargs++;
94 argv = malloc(nargs * sizeof (char *));
/illumos-gate/usr/src/cmd/bnu/
H A Danlwrk.c86 int nargs; /* return value == # args in the line */ local
141 nargs = getargs(str, wvec, wcount);
145 || (str[0] == 'R' && nargs < 6) /* R lines need >= 6 entries */
146 || (str[0] == 'S' && nargs < 7)) { /* S lines need >= 7 entries */
164 return(nargs);
278 * nargs -> number of arguments
285 int nargs; local
288 while ((nargs = anlwrk(file, wrkvec, wcount)) == 0) {
292 DEBUG(7, " return - %d\n", nargs);
293 return(nargs);
[all...]
/illumos-gate/usr/src/cmd/awk_xpg4/
H A Dawk4.c40 static uint nargs(NODE *np);
60 if ((na = nargs(np)) > 1)
75 if ((na = nargs(np)) > 1)
90 if ((na = nargs(np)) > 1)
105 if ((na = nargs(np)) > 1)
117 if (nargs(np) != 1)
129 if (nargs(np) != 1)
143 if (nargs(np) != 2)
162 if ((na = nargs(np)) > 1)
184 if (nargs(n
656 nargs(NODE *np) function
[all...]
/illumos-gate/usr/src/lib/libproc/amd64/
H A DPisadep.c566 Psyscall_setup(struct ps_prochandle *P, int nargs, int sysindex, uintptr_t sp) argument
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, argument
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
647 Psyscall_copyoutargs(struct ps_prochandle *P, int nargs, argdes_t *argp, uintptr_t ap) argument
[all...]
/illumos-gate/usr/src/lib/libproc/sparc/
H A DPisadep.c325 Psyscall_setup(struct ps_prochandle *P, int nargs, int sysindex, uintptr_t sp) argument
327 sp -= (nargs > 6)?
328 WINDOWSIZE32 + sizeof (int32_t) * (1 + nargs) :
341 Psyscall_copyinargs(struct ps_prochandle *P, int nargs, argdes_t *argp, argument
348 for (i = 0, adp = argp; i < nargs; i++, adp++) {
355 if (nargs > 6 &&
356 Pwrite(P, &arglist[0], sizeof (int32_t) * nargs,
357 (uintptr_t)ap) != sizeof (int32_t) * nargs)
365 Psyscall_copyoutargs(struct ps_prochandle *P, int nargs, argdes_t *argp, argument
/illumos-gate/usr/src/uts/intel/ia32/os/
H A Dsyscall.c88 copyin_args(struct regs *rp, long *ap, uint_t nargs) argument
92 ASSERT(nargs <= MAXSYSARGS);
94 return (copyin_nowatch(sp, ap, nargs * sizeof (*sp)));
99 copyin_args32(struct regs *rp, long *ap, uint_t nargs) argument
105 ASSERT(nargs <= MAXSYSARGS);
107 if ((rc = copyin_nowatch(sp, a32, nargs * sizeof (*sp))) == 0) {
110 while (nargs--)
150 uint_t nargs; local
195 if ((nargs = (uint_t)callp->sy_narg) != 0 &&
196 COPYIN_ARGS32(rp, argp, nargs)) {
667 int nargs = (code > 0 && code < NSYSCALL)? local
916 int nargs; local
1008 uint_t nargs; local
[all...]
/illumos-gate/usr/src/lib/libshell/common/tests/
H A Dgrep.sh62 integer n=0 c=0 tc=0 nargs=$# # initialize counters
64 do if ((nargs<=1))
/illumos-gate/usr/src/lib/libproc/sparcv9/
H A DPisadep.c429 Psyscall_setup(struct ps_prochandle *P, int nargs, int sysindex, uintptr_t sp) argument
435 sp -= (nargs > 6)?
436 WINDOWSIZE64 + sizeof (int64_t) * nargs :
441 sp -= (nargs > 6)?
442 WINDOWSIZE32 + sizeof (int32_t) * (1 + nargs) :
460 Psyscall_copyinargs(struct ps_prochandle *P, int nargs, argdes_t *argp, argument
469 for (i = 0, adp = argp; i < nargs; i++, adp++) {
478 if (nargs > 6 &&
479 Pwrite(P, &arglist64[0], sizeof (int64_t) * nargs,
480 (uintptr_t)ap) != sizeof (int64_t) * nargs)
494 Psyscall_copyoutargs(struct ps_prochandle *P, int nargs, argdes_t *argp, uintptr_t ap) argument
[all...]

Completed in 129 milliseconds

123