/osnet-11/usr/src/lib/libproc/common/ |
H A D | Pstack.c | 51 int nfp = *nfpp; local 54 for (i = 0; i < nfp; i++) { 59 if (nfp == pfpsize) { 70 prevfp[nfp++] = fp; 73 *nfpp = nfp;
|
/osnet-11/usr/src/lib/libproc/amd64/ |
H A D | Pisadep.c | 239 int nfp = 0; local 278 if (stack_loop(fp, &prevfp, &nfp, &pfpsize)) 385 int nfp = 0; local 420 if (stack_loop(fp, &prevfp, &nfp, &pfpsize))
|
/osnet-11/usr/src/lib/libproc/i386/ |
H A D | Pisadep.c | 178 int nfp = 0; local 216 if (stack_loop(fp, &prevfp, &nfp, &pfpsize))
|
/osnet-11/usr/src/lib/libproc/sparc/ |
H A D | Pisadep.c | 258 int nfp = 0; local 280 if (stack_loop(fp, &prevfp, &nfp, &pfpsize))
|
/osnet-11/usr/src/lib/libproc/sparcv9/ |
H A D | Pisadep.c | 340 int nfp = 0; local 362 if (stack_loop(fp, &prevfp, &nfp, &pfpsize))
|
/osnet-11/usr/src/lib/libshell/common/bltins/ |
H A D | read.c | 211 Namfun_t *nfp; local 301 for(nfp=np->nvfun; nfp; nfp = nfp->next) 303 if(nfp->disc && nfp->disc->readf) 305 if((c=(*nfp->disc->readf)(np,iop,delim,nfp))>=0)
|
H A D | shiocmd_solaris.c | 48 static char *get_time(Namval_t* np, Namfun_t* nfp) argument 50 struct dctime *dp = (struct dctime*)nfp; 51 time_t t = nv_getn(np,nfp); 57 static void put_time(Namval_t* np, const char* val, int flag, Namfun_t* nfp) argument 59 struct dctime *dp = (struct dctime*)nfp; 77 nv_putv(np, (char*)&t,NV_INTEGER, nfp); 83 nv_putv(np, val, flag, nfp); 87 static Namval_t *create_time(Namval_t *np, const char *name, int flags, Namfun_t *nfp) argument 89 struct dctime *dp = (struct dctime*)nfp; 124 static char *get_mode(Namval_t* np, Namfun_t* nfp) argument 130 put_mode(Namval_t* np, const char* val, int flag, Namfun_t* nfp) argument 165 Namfun_t *nfp = newof(NULL,Namfun_t,1,0); local 241 fieldcreate(Namval_t *np, const char *name, int flags, Namfun_t *nfp) argument 347 get_classval(Namval_t* np, Namfun_t* nfp) argument 352 put_classval(Namval_t* np, const char* val, int flag, Namfun_t* nfp) argument [all...] |
/osnet-11/usr/src/lib/libdladm/common/ |
H A D | propfuncs.c | 469 process_prop_db(dladm_handle_t handle, void *arg, FILE *fp, FILE *nfp) argument 489 if (nfp != NULL && buf[0] != '\0' && fputs(buf, nfp) == EOF) { 504 if (status == DLADM_STATUS_OK && fputs(buf, nfp) == EOF)
|
H A D | secobj.c | 501 process_secobj_db(dladm_handle_t handle, void *arg, FILE *fp, FILE *nfp) argument 521 if (nfp != NULL && buf[0] != '\0' && fputs(buf, nfp) == EOF) { 535 if (status == DLADM_STATUS_OK && fputs(buf, nfp) == EOF)
|
H A D | libdladm.c | 779 FILE *fp, *nfp = NULL; local 822 if ((nfp = fdopen(nfd, "w")) == NULL) { 830 status = (*process_db)(handle, arg, fp, nfp); 849 if (fflush(nfp) == EOF) { 854 (void) fclose(nfp); 866 if (nfp != NULL) { 867 (void) fclose(nfp);
|
/osnet-11/usr/src/lib/libipadm/common/ |
H A D | ipadm_persist.c | 94 static int ipadm_process_db_line(db_wfunc_t *, void *, FILE *fp, FILE *nfp, 517 FILE *fp, *nfp = NULL; local 545 if ((nfp = fdopen(nfd, "w")) == NULL) { 552 err = ipadm_process_db_line(db_walk_func, arg, fp, nfp, db_op); 556 if (fflush(nfp) == EOF) { 561 (void) fclose(nfp); 569 if (nfp != NULL) { 570 (void) fclose(nfp); 591 ipadm_process_db_line(db_wfunc_t *db_walk_func, void *arg, FILE *fp, FILE *nfp, argument 626 if (nfp ! [all...] |
/osnet-11/usr/src/lib/libshell/common/sh/ |
H A D | nvtree.c | 154 Namfun_t *nfp=0; local 218 if(nfp && nfp->disc && nfp->disc->createf) 220 np = (*nfp->disc->createf)(nq,last,0,nfp); 221 if(*nfp->last == '[') 223 nv_endsubscript(np,nfp->last,NV_NOADD); 235 if(np && ((nfp=nextdisc(np)) || nv_istable(np))) 245 if(nfp) 282 Namfun_t *nfp; local 1137 register Namfun_t *nfp; local [all...] |
H A D | array.c | 714 Namfun_t *nfp; local 731 if((nfp = nv_disc(np,(Namfun_t*)ap,NV_POP)) && !(nfp->nofree&1)) 732 free((void*)nfp); 1174 Namfun_t *nfp; 1175 for(nfp=np->nvfun; nfp; nfp=nfp->next) 1177 if(nfp [all...] |
H A D | nvdisc.c | 47 char *nv_getv(Namval_t *np, register Namfun_t *nfp) argument 51 if((fp = nfp) != NIL(Namfun_t*) && !nv_local) 52 fp = nfp = nfp->next; 79 Sfdouble_t nv_getn(Namval_t *np, register Namfun_t *nfp) argument 85 if((fp = nfp) != NIL(Namfun_t*) && !nv_local) 86 fp = nfp = nfp->next; 109 str = nv_getv(np,fp?fp:nfp); 126 void nv_putv(Namval_t *np, const char *value, int flags, register Namfun_t *nfp) argument 635 register Namfun_t *nfp; local 875 register Namfun_t *fp, **mfp = &mp->nvfun, *nfp, *fpnext; local [all...] |
H A D | nvtype.c | 1547 static void put_stat(Namval_t* np, const char* val, int flag, Namfun_t* nfp) argument 1555 nv_putv(np,val,flag,nfp); 1556 nv_disc(np,nfp,NV_POP); 1557 if(!(nfp->nofree&1)) 1558 free((void*)nfp);
|
H A D | init.c | 1138 static char *get_mode(Namval_t* np, Namfun_t* nfp) argument 1140 mode_t mode = nv_getn(np,nfp); 1144 static void put_mode(Namval_t* np, const char* val, int flag, Namfun_t* nfp) argument 1161 nv_putv(np,(char*)&mode,NV_INTEGER,nfp); 1164 nv_putv(np,val,flag,nfp);
|
/osnet-11/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_mod.c | 309 nvlist_t *nfp = NULL; local 390 (void) topo_mod_nvdup(mod, fmri, &nfp); 393 return (nfp); 402 nvlist_t *nfp = NULL; local 425 (void) topo_mod_nvdup(mod, fmri, &nfp); 428 return (nfp); 437 nvlist_t *nfp = NULL; local 464 (void) topo_mod_nvdup(mod, fmri, &nfp); 467 return (nfp); 475 nvlist_t *nfp local 514 nvlist_t *nfp = NULL; local [all...] |
/osnet-11/usr/src/lib/libdtrace/common/ |
H A D | dt_printf.c | 1610 FILE *nfp; local 1663 if ((nfp = fopen(filename, "aF")) == NULL) { 1679 (void) snprintf(selfbuf, sizeof (selfbuf), "/dev/fd/%d", fileno(nfp)); 1689 (void) fclose(nfp); 1695 (void) fclose(nfp); 1699 (void) fclose(nfp);
|