| /onnv/onnv-gate/usr/src/uts/sparc/os/ |
| obpsym_1275.c | 73 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 != 0) [all...] |
| syscall.c | 154 int nargs; local 163 nargs = LWP_GETSYSENT(lwp)[code].sy_narg; 165 ASSERT(nargs <= MAXSYSARGS); 167 *nargsp = nargs; 169 while (nargs-- > 0) 212 uint_t nargs; local 221 nargs = 0; /* illegal syscall */ 226 nargs = callp->sy_narg; 227 if (LOADABLE_SYSCALL(callp) && nargs == 0) { 242 nargs = callp->sy_narg 752 int nargs = (code > 0 && code < NSYSCALL)? local [all...] |
| /onnv/onnv-gate/usr/src/cmd/svr4pkg/pkgrm/ |
| main.c | 1227 int nargs; local 1255 nargs = 0; 1259 arg[nargs++] = strdup(path); 1264 arg[nargs++] = "-O"; 1265 arg[nargs++] = "debug"; 1271 arg[nargs++] = "-b"; 1272 arg[nargs++] = a_altBinDir; 1282 arg[nargs++] = "-o"; 1464 int nargs; local 1729 int nargs; local [all...] |
| /onnv/onnv-gate/usr/src/lib/libc/port/sys/ |
| execl.c | 55 int nargs = 0; local 66 nargs++; 78 argvec = (char **)alloca((size_t)((nargs + 2) * sizeof (char *)));
|
| execle.c | 54 int nargs = 0; local 65 nargs++; 83 argvec = (char **)alloca((size_t)((nargs + 2) * sizeof (char *)));
|
| /onnv/onnv-gate/usr/src/tools/lintdump/ |
| lintdump.c | 186 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, args, name) 462 int nargs; local [all...] |
| lnstuff.h | 88 short nargs; /* # of args (or members) */ member in struct:__anon4562
|
| /onnv/onnv-gate/usr/src/cmd/truss/ |
| systable.h | 46 short nargs; /* number of arguments */ member in struct:systable
|
| actions.c | 317 int nargs; local 332 nargs = Lsp->pr_nsysarg; 334 i < nargs && i < sizeof (pri->sys_args) / sizeof (pri->sys_args[0]); 337 pri->sys_nargs = nargs; 358 int nargs; local 381 nargs = pri->sys_nargs; 387 if (nargs > stp->nargs) 388 nargs = stp->nargs; 931 int nargs; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/svr4pkg/pkgadd/ |
| main.c | 1541 int nargs; local 1877 int nargs; local 2231 int n, nargs; local [all...] |
| /onnv/onnv-gate/usr/src/lib/libproc/common/ |
| pr_lseek.c | 46 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]);
|
| pr_stat.c | 77 int nargs = 2; /* number of actual arguments */ local 94 nargs = 3; 133 error = Psyscall(Pr, &rval, syscall, nargs, &argd[0]); 156 int nargs = 2; /* number of actual arguments */ local 173 nargs = 3; 212 error = Psyscall(Pr, &rval, syscall, nargs, &argd[0]); 235 int nargs = 2; /* number of actual arguments */ local 252 nargs = 3; 291 error = Psyscall(Pr, &rval, syscall, nargs, &argd[0]); 314 int nargs = 2; /* number of actual arguments * local 380 int nargs = 2; \/* number of actual arguments *\/ local 446 int nargs = 2; \/* number of actual arguments *\/ local [all...] |
| /onnv/onnv-gate/usr/src/uts/common/fs/nfs/ |
| nfs_vfsops.c | 198 nfs_free_args(struct nfs_args *nargs, nfs_fhandle *fh) 204 if (nargs->pathconf) { 205 kmem_free(nargs->pathconf, sizeof (struct pathcnf)); 206 nargs->pathconf = NULL; 209 if (nargs->knconf) { 210 if (nargs->knconf->knc_protofmly) 211 kmem_free(nargs->knconf->knc_protofmly, KNC_STRSIZE); 212 if (nargs->knconf->knc_proto) 213 kmem_free(nargs->knconf->knc_proto, KNC_STRSIZE); 214 kmem_free(nargs->knconf, sizeof (*nargs->knconf)) [all...] |
| nfs3_vfsops.c | 195 nfs3_free_args(struct nfs_args *nargs, nfs_fhandle *fh) 201 if (nargs->knconf) { 202 if (nargs->knconf->knc_protofmly) 203 kmem_free(nargs->knconf->knc_protofmly, KNC_STRSIZE); 204 if (nargs->knconf->knc_proto) 205 kmem_free(nargs->knconf->knc_proto, KNC_STRSIZE); 206 kmem_free(nargs->knconf, sizeof (*nargs->knconf)); 207 nargs->knconf = NULL; 210 if (nargs->fh) [all...] |
| nfs4_stub_vnops.c | 838 struct nfs_args *nargs, *nargs_head; local 865 nargs = nargs_head; 899 * nargs: the current tail of the list 943 ASSERT(nargs == NULL); 951 nargs->nfs_ext_u.nfs_extB.next = next; 955 /* esi was only needed for hostname & nargs */ 959 nargs = next; 988 struct nfs_args *nargs = dma->dma_nargs; local 992 nargs->nfs_ext_u.nfs_extB.next; 994 nfs4_trigger_nargs_destroy(nargs); 1186 struct nfs_args *nargs = dma->dma_nargs; local 1313 struct nfs_args *nargs; local [all...] |
| /onnv/onnv-gate/usr/src/lib/libproc/i386/ |
| Pisadep.c | 280 Psyscall_setup(struct ps_prochandle *P, int nargs, int sysindex, uintptr_t sp) 282 sp -= sizeof (int) * (nargs+2); /* space for arg list + CALL parms */ 292 Psyscall_copyinargs(struct ps_prochandle *P, int nargs, argdes_t *argp, 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, 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; i++, adp++ [all...] |
| /onnv/onnv-gate/usr/src/cmd/mail/ |
| sendlist.c | 63 int nargs = 4; /* "sendmail", "-oi", "--", .. NULL */ local 88 nargs += 2; /* for "-f", "Rpath" */ 92 nargs++; 94 argv = malloc(nargs * sizeof (char *));
|
| /onnv/onnv-gate/usr/src/lib/libc/port/gen/ |
| execvp.c | 62 int nargs = 0; local 76 nargs++; 87 argvec = alloca((size_t)((nargs + 2) * sizeof (char *))); 91 while (nargs-- && nextarg != (char *)0) {
|
| /onnv/onnv-gate/usr/src/cmd/bnu/ |
| anlwrk.c | 86 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...] |
| /onnv/onnv-gate/usr/src/cmd/awk_xpg4/ |
| awk4.c | 40 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(np) != 0 656 nargs(NODE *np) function [all...] |
| /onnv/onnv-gate/usr/src/lib/libproc/amd64/ |
| Pisadep.c | 454 Psyscall_setup(struct ps_prochandle *P, int nargs, int sysindex, uintptr_t sp) 457 sp -= sizeof (int) * (nargs+2); 463 int pusharg = (nargs > 6) ? nargs - 6: 0; 476 Psyscall_copyinargs(struct ps_prochandle *P, int nargs, argdes_t *argp, 484 for (i = 0, adp = argp; i < nargs; i++, adp++) 488 if (Pwrite(P, &arglist[0], sizeof (int) * (nargs+1), 489 (uintptr_t)ap) != sizeof (int) * (nargs+1)) 495 int pusharg = (nargs > 6) ? nargs - 6: 0 [all...] |
| /onnv/onnv-gate/usr/src/lib/libproc/sparc/ |
| Pisadep.c | 324 Psyscall_setup(struct ps_prochandle *P, int nargs, int sysindex, uintptr_t sp) 326 sp -= (nargs > 6)? 327 WINDOWSIZE32 + sizeof (int32_t) * (1 + nargs) : 340 Psyscall_copyinargs(struct ps_prochandle *P, int nargs, argdes_t *argp, 347 for (i = 0, adp = argp; i < nargs; i++, adp++) { 354 if (nargs > 6 && 355 Pwrite(P, &arglist[0], sizeof (int32_t) * nargs, 356 (uintptr_t)ap) != sizeof (int32_t) * nargs) 364 Psyscall_copyoutargs(struct ps_prochandle *P, int nargs, argdes_t *argp,
|
| /onnv/onnv-gate/usr/src/uts/intel/ia32/os/ |
| syscall.c | 89 copyin_args(struct regs *rp, long *ap, uint_t nargs) 93 ASSERT(nargs <= MAXSYSARGS); 95 return (copyin_nowatch(sp, ap, nargs * sizeof (*sp))); 100 copyin_args32(struct regs *rp, long *ap, uint_t nargs) 106 ASSERT(nargs <= MAXSYSARGS); 108 if ((rc = copyin_nowatch(sp, a32, nargs * sizeof (*sp))) == 0) { 111 while (nargs--) 151 uint_t nargs; local 196 if ((nargs = (uint_t)callp->sy_narg) != 0 && 197 COPYIN_ARGS32(rp, argp, nargs)) { 657 int nargs = (code > 0 && code < NSYSCALL)? local 906 int nargs; local 998 uint_t nargs; local [all...] |
| /onnv/onnv-gate/usr/src/lib/libshell/common/tests/ |
| grep.sh | 62 integer n=0 c=0 tc=0 nargs=$# # initialize counters 64 do if ((nargs<=1))
|
| /onnv/onnv-gate/usr/src/lib/libproc/sparcv9/ |
| Pisadep.c | 428 Psyscall_setup(struct ps_prochandle *P, int nargs, int sysindex, uintptr_t sp) 434 sp -= (nargs > 6)? 435 WINDOWSIZE64 + sizeof (int64_t) * nargs : 440 sp -= (nargs > 6)? 441 WINDOWSIZE32 + sizeof (int32_t) * (1 + nargs) : 459 Psyscall_copyinargs(struct ps_prochandle *P, int nargs, argdes_t *argp, 468 for (i = 0, adp = argp; i < nargs; i++, adp++) { 477 if (nargs > 6 && 478 Pwrite(P, &arglist64[0], sizeof (int64_t) * nargs, 479 (uintptr_t)ap) != sizeof (int64_t) * nargs) [all...] |