/titanic_50/usr/src/cmd/svr4pkg/pkgrm/ |
H A D | main.c | 1183 int nargs; in pkgZoneCheckRemove() local 1211 nargs = 0; in pkgZoneCheckRemove() 1215 arg[nargs++] = strdup(path); in pkgZoneCheckRemove() 1220 arg[nargs++] = "-O"; in pkgZoneCheckRemove() 1221 arg[nargs++] = "debug"; in pkgZoneCheckRemove() 1227 arg[nargs++] = "-b"; in pkgZoneCheckRemove() 1228 arg[nargs++] = a_altBinDir; in pkgZoneCheckRemove() 1238 arg[nargs++] = "-o"; in pkgZoneCheckRemove() 1247 arg[nargs++] = "-y"; in pkgZoneCheckRemove() 1252 arg[nargs++] = "-M"; in pkgZoneCheckRemove() [all …]
|
/titanic_50/usr/src/cmd/svr4pkg/pkgadd/ |
H A D | main.c | 1476 int nargs; in pkgZoneCheckInstall() local 1506 nargs = 0; in pkgZoneCheckInstall() 1510 arg[nargs++] = path; in pkgZoneCheckInstall() 1516 arg[nargs++] = "-O"; in pkgZoneCheckInstall() 1517 arg[nargs++] = "debug"; in pkgZoneCheckInstall() 1523 arg[nargs++] = "-G"; in pkgZoneCheckInstall() 1529 arg[nargs++] = "-b"; in pkgZoneCheckInstall() 1530 arg[nargs++] = a_altBinDir; in pkgZoneCheckInstall() 1536 arg[nargs++] = "-C"; in pkgZoneCheckInstall() 1542 arg[nargs++] = "-A"; in pkgZoneCheckInstall() [all …]
|
/titanic_50/usr/src/tools/lintdump/ |
H A D | lintdump.c | 186 int nargs; in print_pass() local 216 nargs = line.nargs; in print_pass() 218 if (nargs < 0) in print_pass() 219 nargs = -nargs - 1; in print_pass() 226 args = calloc(sizeof (atype), nargs); in print_pass() 230 if (fread(args, sizeof (atype), nargs, fp) != nargs) in print_pass() 233 print_atype(&line.type, line.nargs, args, name); in print_pass() 246 info(" <PRINTFLIKE%d>", nargs); in print_pass() 248 info(" <SCANFLIKE%d>", nargs); in print_pass() 274 for (; nargs > 0; nargs--) { in print_pass() [all …]
|
/titanic_50/usr/src/uts/sparc/os/ |
H A D | obpsym_1275.c | 73 unsigned int nargs, nresults; in ieee_sym_to_value() local 77 nargs = p1275_cell2uint(cif[1]); in ieee_sym_to_value() 87 if (nargs != 0) { in ieee_sym_to_value() 106 cif[3 + nargs] = p1275_int2cell(error); in ieee_sym_to_value() 108 cif[3 + nargs + 1] = p1275_uintptr2cell(symvalue); in ieee_sym_to_value() 120 u_int nargs, nresults; in ieee_value_to_sym() local 126 nargs = p1275_cell2uint(cif[1]); in ieee_value_to_sym() 138 if (nargs != 0) { in ieee_value_to_sym() 161 cif[3 + nargs] = p1275_int2cell((int)offset); in ieee_value_to_sym() 164 cif[3 + nargs + 1] = p1275_ptr2cell(name); in ieee_value_to_sym()
|
H A D | syscall.c | 154 int nargs; in get_syscall_args() local 163 nargs = LWP_GETSYSENT(lwp)[code].sy_narg; in get_syscall_args() 165 ASSERT(nargs <= MAXSYSARGS); in get_syscall_args() 167 *nargsp = nargs; in get_syscall_args() 169 while (nargs-- > 0) in get_syscall_args() 212 uint_t nargs; in save_syscall_args() local 221 nargs = 0; /* illegal syscall */ in save_syscall_args() 226 nargs = callp->sy_narg; in save_syscall_args() 227 if (LOADABLE_SYSCALL(callp) && nargs == 0) { in save_syscall_args() 242 nargs = callp->sy_narg; in save_syscall_args() [all …]
|
/titanic_50/usr/src/uts/common/fs/nfs/ |
H A D | nfs_vfsops.c | 197 nfs_free_args(struct nfs_args *nargs, nfs_fhandle *fh) in nfs_free_args() argument 203 if (nargs->pathconf) { in nfs_free_args() 204 kmem_free(nargs->pathconf, sizeof (struct pathcnf)); in nfs_free_args() 205 nargs->pathconf = NULL; in nfs_free_args() 208 if (nargs->knconf) { in nfs_free_args() 209 if (nargs->knconf->knc_protofmly) in nfs_free_args() 210 kmem_free(nargs->knconf->knc_protofmly, KNC_STRSIZE); in nfs_free_args() 211 if (nargs->knconf->knc_proto) in nfs_free_args() 212 kmem_free(nargs->knconf->knc_proto, KNC_STRSIZE); in nfs_free_args() 213 kmem_free(nargs->knconf, sizeof (*nargs->knconf)); in nfs_free_args() [all …]
|
H A D | nfs3_vfsops.c | 194 nfs3_free_args(struct nfs_args *nargs, nfs_fhandle *fh) in nfs3_free_args() argument 200 if (nargs->knconf) { in nfs3_free_args() 201 if (nargs->knconf->knc_protofmly) in nfs3_free_args() 202 kmem_free(nargs->knconf->knc_protofmly, KNC_STRSIZE); in nfs3_free_args() 203 if (nargs->knconf->knc_proto) in nfs3_free_args() 204 kmem_free(nargs->knconf->knc_proto, KNC_STRSIZE); in nfs3_free_args() 205 kmem_free(nargs->knconf, sizeof (*nargs->knconf)); in nfs3_free_args() 206 nargs->knconf = NULL; in nfs3_free_args() 209 if (nargs->fh) { in nfs3_free_args() 210 kmem_free(nargs->fh, strlen(nargs->fh) + 1); in nfs3_free_args() [all …]
|
H A D | nfs4_stub_vnops.c | 902 struct nfs_args *nargs, *nargs_head; in nfs4_trigger_domount_args_create() local 929 nargs = nargs_head; in nfs4_trigger_domount_args_create() 990 nargs = nargs_head; in nfs4_trigger_domount_args_create() 991 while (nargs != NULL) { in nfs4_trigger_domount_args_create() 992 next = nargs->nfs_ext_u.nfs_extB.next; in nfs4_trigger_domount_args_create() 993 nfs4_trigger_nargs_destroy(nargs); in nfs4_trigger_domount_args_create() 994 nargs = next; in nfs4_trigger_domount_args_create() 1018 ASSERT(nargs == NULL); in nfs4_trigger_domount_args_create() 1026 nargs->nfs_ext_u.nfs_extB.next = next; in nfs4_trigger_domount_args_create() 1034 nargs = next; in nfs4_trigger_domount_args_create() [all …]
|
H A D | nfs4_vfsops.c | 409 nfs4_free_args(struct nfs_args *nargs) in nfs4_free_args() argument 411 if (nargs->knconf) { in nfs4_free_args() 412 if (nargs->knconf->knc_protofmly) in nfs4_free_args() 413 kmem_free(nargs->knconf->knc_protofmly, in nfs4_free_args() 415 if (nargs->knconf->knc_proto) in nfs4_free_args() 416 kmem_free(nargs->knconf->knc_proto, KNC_STRSIZE); in nfs4_free_args() 417 kmem_free(nargs->knconf, sizeof (*nargs->knconf)); in nfs4_free_args() 418 nargs->knconf = NULL; in nfs4_free_args() 421 if (nargs->fh) { in nfs4_free_args() 422 kmem_free(nargs->fh, strlen(nargs->fh) + 1); in nfs4_free_args() [all …]
|
/titanic_50/usr/src/cmd/awk_xpg4/ |
H A D | awk4.c | 40 static uint nargs(NODE *np); 60 if ((na = nargs(np)) > 1) in f_exp() 75 if ((na = nargs(np)) > 1) in f_int() 90 if ((na = nargs(np)) > 1) in f_log() 105 if ((na = nargs(np)) > 1) in f_sqrt() 117 if (nargs(np) != 1) in f_sin() 129 if (nargs(np) != 1) in f_cos() 143 if (nargs(np) != 2) in f_atan2() 162 if ((na = nargs(np)) > 1) in f_srand() 184 if (nargs(np) != 0) in f_rand() [all …]
|
/titanic_50/usr/src/uts/intel/ia32/os/ |
H A D | syscall.c | 89 copyin_args(struct regs *rp, long *ap, uint_t nargs) in copyin_args() argument 93 ASSERT(nargs <= MAXSYSARGS); in copyin_args() 95 return (copyin_nowatch(sp, ap, nargs * sizeof (*sp))); in copyin_args() 100 copyin_args32(struct regs *rp, long *ap, uint_t nargs) in copyin_args32() argument 106 ASSERT(nargs <= MAXSYSARGS); in copyin_args32() 108 if ((rc = copyin_nowatch(sp, a32, nargs * sizeof (*sp))) == 0) { in copyin_args32() 111 while (nargs--) in copyin_args32() 151 uint_t nargs; in syscall_entry() local 196 if ((nargs = (uint_t)callp->sy_narg) != 0 && in syscall_entry() 197 COPYIN_ARGS32(rp, argp, nargs)) { in syscall_entry() [all …]
|
/titanic_50/usr/src/lib/libproc/common/ |
H A D | pr_lseek.c | 46 int nargs; /* 3 or 4, depending on syscall */ in pr_lseek() local 66 nargs = 3; in pr_lseek() 74 nargs = 4; in pr_lseek() 96 error = Psyscall(Pr, &rval, syscall, nargs, &argd[0]); in pr_lseek() 121 int nargs; /* 3 or 4, depending on syscall */ in pr_llseek() local 141 nargs = 3; in pr_llseek() 149 nargs = 4; in pr_llseek() 171 error = Psyscall(Pr, &rval, syscall, nargs, &argd[0]); in pr_llseek()
|
H A D | Psyscall.c | 301 uint_t nargs, /* number of arguments to system call */ in Psyscall() argument 321 if (sysindex <= 0 || sysindex > PRMAXSYS || nargs > MAXARGS) in Psyscall() 385 for (i = 0, adp = argp; i < nargs; i++, adp++) { in Psyscall() 423 ap = Psyscall_setup(P, nargs, sysindex, sp); in Psyscall() 441 for (i = 0, adp = argp; i < nargs; i++, adp++) { in Psyscall() 452 if (Psyscall_copyinargs(P, nargs, argp, ap) != 0) in Psyscall() 496 for (i = 0, adp = argp; i < nargs; i++, adp++) { in Psyscall() 507 if (Psyscall_copyoutargs(P, nargs, argp, ap) != 0) in Psyscall()
|
/titanic_50/usr/src/cmd/bnu/ |
H A D | 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); 285 int nargs; variable 288 while ((nargs = anlwrk(file, wrkvec, wcount)) == 0) { 292 DEBUG(7, " return - %d\n", nargs); 293 return(nargs);
|
/titanic_50/usr/src/lib/libproc/i386/ |
H A D | Pisadep.c | 280 Psyscall_setup(struct ps_prochandle *P, int nargs, int sysindex, uintptr_t sp) in Psyscall_setup() argument 282 sp -= sizeof (int) * (nargs+2); /* space for arg list + CALL parms */ in Psyscall_setup() 292 Psyscall_copyinargs(struct ps_prochandle *P, int nargs, argdes_t *argp, in Psyscall_copyinargs() argument 299 for (i = 0, adp = argp; i < nargs; i++, adp++) in Psyscall_copyinargs() 303 if (Pwrite(P, &arglist[0], sizeof (int) * (nargs+1), in Psyscall_copyinargs() 304 (uintptr_t)ap) != sizeof (int) * (nargs+1)) in Psyscall_copyinargs() 311 Psyscall_copyoutargs(struct ps_prochandle *P, int nargs, argdes_t *argp, in Psyscall_copyoutargs() argument 318 if (Pread(P, &arglist[0], sizeof (int) * (nargs+1), (uintptr_t)ap) in Psyscall_copyoutargs() 319 != sizeof (int) * (nargs+1)) in Psyscall_copyoutargs() 322 for (i = 0, adp = argp; i < nargs; i++, adp++) in Psyscall_copyoutargs()
|
/titanic_50/usr/src/lib/libproc/amd64/ |
H A D | Pisadep.c | 566 Psyscall_setup(struct ps_prochandle *P, int nargs, int sysindex, uintptr_t sp) in Psyscall_setup() argument 569 sp -= sizeof (int) * (nargs+2); in Psyscall_setup() 575 int pusharg = (nargs > 6) ? nargs - 6: 0; in Psyscall_setup() 588 Psyscall_copyinargs(struct ps_prochandle *P, int nargs, argdes_t *argp, in Psyscall_copyinargs() argument 596 for (i = 0, adp = argp; i < nargs; i++, adp++) in Psyscall_copyinargs() 600 if (Pwrite(P, &arglist[0], sizeof (int) * (nargs+1), in Psyscall_copyinargs() 601 (uintptr_t)ap) != sizeof (int) * (nargs+1)) in Psyscall_copyinargs() 607 int pusharg = (nargs > 6) ? nargs - 6: 0; in Psyscall_copyinargs() 609 for (i = 0, adp = argp; i < nargs; i++, adp++) { in Psyscall_copyinargs() 647 Psyscall_copyoutargs(struct ps_prochandle *P, int nargs, argdes_t *argp, in Psyscall_copyoutargs() argument [all …]
|
/titanic_50/usr/src/cmd/truss/ |
H A D | actions.c | 316 int nargs; in setupsysargs() local 331 nargs = Lsp->pr_nsysarg; in setupsysargs() 333 i < nargs && i < sizeof (pri->sys_args) / sizeof (pri->sys_args[0]); in setupsysargs() 336 pri->sys_nargs = nargs; in setupsysargs() 357 int nargs; in sysentry() local 380 nargs = pri->sys_nargs; in sysentry() 386 if (nargs > stp->nargs) in sysentry() 387 nargs = stp->nargs; in sysentry() 388 pri->sys_nargs = nargs; in sysentry() 395 if ((nargs > 0 && stp->arg[0] == STG) || in sysentry() [all …]
|
/titanic_50/usr/src/lib/libproc/sparcv9/ |
H A D | Pisadep.c | 429 Psyscall_setup(struct ps_prochandle *P, int nargs, int sysindex, uintptr_t sp) in Psyscall_setup() argument 435 sp -= (nargs > 6)? in Psyscall_setup() 436 WINDOWSIZE64 + sizeof (int64_t) * nargs : in Psyscall_setup() 441 sp -= (nargs > 6)? in Psyscall_setup() 442 WINDOWSIZE32 + sizeof (int32_t) * (1 + nargs) : in Psyscall_setup() 460 Psyscall_copyinargs(struct ps_prochandle *P, int nargs, argdes_t *argp, in Psyscall_copyinargs() argument 469 for (i = 0, adp = argp; i < nargs; i++, adp++) { in Psyscall_copyinargs() 478 if (nargs > 6 && in Psyscall_copyinargs() 479 Pwrite(P, &arglist64[0], sizeof (int64_t) * nargs, in Psyscall_copyinargs() 480 (uintptr_t)ap) != sizeof (int64_t) * nargs) in Psyscall_copyinargs() [all …]
|
/titanic_50/usr/src/lib/libproc/sparc/ |
H A D | Pisadep.c | 325 Psyscall_setup(struct ps_prochandle *P, int nargs, int sysindex, uintptr_t sp) in Psyscall_setup() argument 327 sp -= (nargs > 6)? in Psyscall_setup() 328 WINDOWSIZE32 + sizeof (int32_t) * (1 + nargs) : in Psyscall_setup() 341 Psyscall_copyinargs(struct ps_prochandle *P, int nargs, argdes_t *argp, in Psyscall_copyinargs() argument 348 for (i = 0, adp = argp; i < nargs; i++, adp++) { in Psyscall_copyinargs() 355 if (nargs > 6 && in Psyscall_copyinargs() 356 Pwrite(P, &arglist[0], sizeof (int32_t) * nargs, in Psyscall_copyinargs() 357 (uintptr_t)ap) != sizeof (int32_t) * nargs) in Psyscall_copyinargs() 365 Psyscall_copyoutargs(struct ps_prochandle *P, int nargs, argdes_t *argp, in Psyscall_copyoutargs() argument
|
/titanic_50/usr/src/lib/libc/port/sys/ |
H A D | execl.c | 55 int nargs = 0; in execl() local 66 nargs++; in execl() 78 argvec = (char **)alloca((size_t)((nargs + 2) * sizeof (char *))); in execl()
|
H A D | execle.c | 54 int nargs = 0; in execle() local 65 nargs++; in execle() 83 argvec = (char **)alloca((size_t)((nargs + 2) * sizeof (char *))); in execle()
|
/titanic_50/usr/src/lib/libc/port/gen/ |
H A D | execvp.c | 61 int nargs = 0; in execlp() local 75 nargs++; in execlp() 86 argvec = alloca((size_t)((nargs + 2) * sizeof (char *))); in execlp() 90 while (nargs-- && nextarg != (char *)0) { in execlp()
|
/titanic_50/usr/src/cmd/mail/ |
H A D | sendlist.c | 63 int nargs = 4; /* "sendmail", "-oi", "--", .. NULL */ in sendlist() local 88 nargs += 2; /* for "-f", "Rpath" */ in sendlist() 92 nargs++; in sendlist() 94 argv = malloc(nargs * sizeof (char *)); in sendlist()
|
/titanic_50/usr/src/uts/sun4/io/efcode/ |
H A D | fc_ops.c | 212 if (fc_cell2int(cp->nargs) != 2) in fco_getproplen() 259 if (fc_cell2int(cp->nargs) != 3) in fco_getprop() 304 if (fc_cell2int(cp->nargs) != 0) in fco_ap_phandle() 324 if (fc_cell2int(cp->nargs) != 1) in fco_child() 356 if (fc_cell2int(cp->nargs) != 1) in fco_peer() 388 if (fc_cell2int(cp->nargs) != 1) in fco_parent() 424 if (fc_cell2int(cp->nargs) != 0) in fco_alloc_phandle() 478 if (fc_cell2int(cp->nargs) != 4) in fco_new_device() 648 if (fc_cell2int(cp->nargs) != 1) in fco_finish_device() 696 if (fc_cell2int(cp->nargs) != 4) in fco_create_property() [all …]
|
/titanic_50/usr/src/uts/sun4u/starcat/io/ |
H A D | fcgp2.c | 264 if (fc_cell2int(cp->nargs) != 3) in gfc_map_in() 320 if (fc_cell2int(cp->nargs) != 2) in gfc_map_out() 373 if (fc_cell2int(cp->nargs) != 1) in gfc_register_fetch() 480 if (fc_cell2int(cp->nargs) != 2) in gfc_register_store() 565 if (fc_cell2int(cp->nargs) != 2) in gfc_master_intr() 595 if (fc_cell2int(cp->nargs) != 6) in gfc_claim_address() 664 if (fc_cell2int(cp->nargs) != 3) in gfc_claim_memory() 732 if (fc_cell2int(cp->nargs) != 2) in gfc_release_memory() 787 if (fc_cell2int(cp->nargs) != 1) in gfc_vtop() 830 if (fc_cell2int(cp->nargs) != 0) in gfc_config_child() [all …]
|