Searched defs:nfp (Results 1 - 25 of 35) sorted by relevance

12

/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dgetdents.c85 nfsgetdents(struct nfs_file *nfp, struct dirent *dep, unsigned size) argument
102 bcopy((caddr_t)&nfp->fh.fh2, (caddr_t)&rda.dir, NFS_FHSIZE);
103 bcopy((caddr_t)nfp->cookie.cookie2, (caddr_t)rda.cookie,
181 bcopy(ep->cookie, nfp->cookie.cookie2,
H A Dgetdents3.c85 nfs3getdents(struct nfs_file *nfp, struct dirent *dep, unsigned size) argument
103 rda.dir.data.data_len = nfp->fh.fh3.len;
104 rda.dir.data.data_val = nfp->fh.fh3.data;
105 rda.cookie = nfp->cookie.cookie3;
181 nfp->cookie.cookie3 = ep->cookie;
H A Dgetdents4.c85 nfs4getdents(struct nfs_file *nfp, struct dirent *dep, unsigned size) argument
109 if (nfp->fh.fh4.len > 0)
110 compound_init(&readdir_args.rd_arg, &str, 0, 2, &nfp->fh.fh4);
115 readdir_args.rd_cookie = nfp->cookie.cookie4;
190 error = nfs4getattr(nfp, &va);
205 (void) nfs4lookupp(nfp, &error, &fileid);
248 nfp->cookie.cookie4 = ep->b_cookie;
H A Dnfs2ops.c183 nfsgetattr(struct nfs_file *nfp, struct vattr *vap) argument
191 xdr_nfs_fh, (caddr_t)&(nfp->fh.fh2),
H A Dnfs3ops.c183 nfs3getattr(struct nfs_file *nfp, struct vattr *vap) argument
195 getattr_args.object.data.data_len = nfp->fh.fh3.len;
196 getattr_args.object.data.data_val = nfp->fh.fh3.data;
H A Dnfs4ops.c181 nfs4getattr(struct nfs_file *nfp, struct vattr *vap) argument
199 if (nfp->fh.fh4.len > 0)
200 compound_init(&getattrargs.ga_arg, &str, 0, 2, &nfp->fh.fh4);
/illumos-gate/usr/src/lib/libproc/common/
H A DPstack.c55 int nfp = *nfpp; local
58 for (i = 0; i < nfp; i++) {
63 if (nfp == pfpsize) {
74 prevfp[nfp++] = fp;
77 *nfpp = nfp;
/illumos-gate/usr/src/lib/libproc/i386/
H A DPisadep.c179 int nfp = 0; local
215 if (stack_loop(fp, &prevfp, &nfp, &pfpsize))
/illumos-gate/usr/src/lib/libproc/sparc/
H A DPisadep.c260 int nfp = 0; local
276 if (stack_loop(fp, &prevfp, &nfp, &pfpsize))
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dread.c211 Namfun_t *nfp; local
294 for(nfp=np->nvfun; nfp; nfp = nfp->next)
296 if(nfp->disc && nfp->disc->readf)
298 if((c=(*nfp->disc->readf)(np,iop,delim,nfp))>=0)
H A Dshiocmd_solaris.c48 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...]
/illumos-gate/usr/src/lib/libdladm/common/
H A Dpropfuncs.c470 process_prop_db(dladm_handle_t handle, void *arg, FILE *fp, FILE *nfp) argument
490 if (nfp != NULL && buf[0] != '\0' && fputs(buf, nfp) == EOF) {
505 if (status == DLADM_STATUS_OK && fputs(buf, nfp) == EOF)
H A Dlibdlflow.c325 FILE *fp, *nfp; local
361 if ((nfp = fdopen(nfd, "w")) == NULL) {
373 if (fputs(line, nfp) == EOF)
394 if (i_dladm_flow_fput_grp(nfp, &attr) != 0)
408 if (fflush(nfp) == EOF)
412 (void) fclose(nfp);
424 (void) fclose(nfp);
H A Dsecobj.c501 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)
/illumos-gate/usr/src/lib/libproc/amd64/
H A DPisadep.c241 int nfp = 0; local
278 if (stack_loop(fp, &prevfp, &nfp, &pfpsize))
481 int nfp = 0; local
513 if (stack_loop(fp, &prevfp, &nfp, &pfpsize))
/illumos-gate/usr/src/lib/libproc/sparcv9/
H A DPisadep.c342 int nfp = 0; local
358 if (stack_loop(fp, &prevfp, &nfp, &pfpsize))
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_mod.c296 nvlist_t *nfp = NULL; local
377 (void) topo_mod_nvdup(mod, fmri, &nfp);
380 return (nfp);
389 nvlist_t *nfp = NULL; local
412 (void) topo_mod_nvdup(mod, fmri, &nfp);
415 return (nfp);
424 nvlist_t *nfp = NULL; local
451 (void) topo_mod_nvdup(mod, fmri, &nfp);
454 return (nfp);
463 nvlist_t *nfp local
503 nvlist_t *nfp = NULL; local
535 nvlist_t *nfp = NULL; local
574 nvlist_t *nfp = NULL; local
[all...]
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Darray.c585 Namfun_t *nfp; local
591 if((nfp = nv_disc(np,(Namfun_t*)ap,NV_POP)) && !(nfp->nofree&1))
592 free((void*)nfp);
989 Namfun_t *nfp;
990 for(nfp=np->nvfun; nfp; nfp=nfp->next)
992 if(nfp
[all...]
H A Dnvtree.c150 Namfun_t *nfp=0; local
213 if(nfp && nfp->disc && nfp->disc->createf)
215 np = (*nfp->disc->createf)(nq,last,0,nfp);
216 if(*nfp->last == '[')
218 nv_endsubscript(np,nfp->last,NV_NOADD);
230 if(np && ((nfp=nextdisc(np)) || nv_istable(np)))
240 if(nfp)
277 Namfun_t *nfp; local
1085 register Namfun_t *nfp; local
[all...]
H A Dnvdisc.c41 char *nv_getv(Namval_t *np, register Namfun_t *nfp) argument
45 if((fp = nfp) != NIL(Namfun_t*) && !nv_local)
46 fp = nfp = nfp->next;
73 Sfdouble_t nv_getn(Namval_t *np, register Namfun_t *nfp) argument
78 if((fp = nfp) != NIL(Namfun_t*) && !nv_local)
79 fp = nfp = nfp->next;
102 str = nv_getv(np,fp?fp:nfp);
116 void nv_putv(Namval_t *np, const char *value, int flags, register Namfun_t *nfp) argument
613 register Namfun_t *nfp; local
853 register Namfun_t *fp, **mfp = &mp->nvfun, *nfp, *fpnext; local
[all...]
H A Dnvtype.c1517 static void put_stat(Namval_t* np, const char* val, int flag, Namfun_t* nfp) argument
1525 nv_putv(np,val,flag,nfp);
1526 nv_disc(np,nfp,NV_POP);
1527 if(!(nfp->nofree&1))
1528 free((void*)nfp);
/illumos-gate/usr/src/lib/libipadm/common/
H A Dipadm_persist.c85 static int ipadm_process_db_line(db_wfunc_t *, void *, FILE *fp, FILE *nfp,
688 FILE *fp, *nfp = NULL; local
713 if ((nfp = fdopen(nfd, "w")) == NULL) {
721 err = ipadm_process_db_line(db_walk_func, arg, fp, nfp, db_op);
727 if (fflush(nfp) == EOF) {
732 (void) fclose(nfp);
740 if (nfp != NULL) {
741 (void) fclose(nfp);
762 ipadm_process_db_line(db_wfunc_t *db_walk_func, void *arg, FILE *fp, FILE *nfp, argument
795 if (nfp !
[all...]
/illumos-gate/usr/src/cmd/consadm/
H A Dconsadm.c367 FILE *fp, *nfp; local
381 ((nfp = fdopen(fd, "w")) == NULL)) {
388 (void) fprintf(nfp, "%s", conshdr);
400 (void) fprintf(nfp, "%s\n", dev);
403 (void) fprintf(nfp, "%s\n", buf);
408 (void) fprintf(nfp, "%s\n", dev);
411 (void) fclose(nfp);
422 FILE *fp, *nfp; local
441 if ((nfp = fopen(newfile, "w")) == NULL) {
448 (void) fprintf(nfp, "
[all...]
/illumos-gate/usr/src/cmd/allocate/
H A Dmkdevalloc.c656 int nfp; /* max array size */ local
663 nfp = DFLT_NFP;
684 if (i == nfp) {
686 nfp = expandmem(i, (void **)&fp, sizeof (struct fp));
/illumos-gate/usr/src/cmd/svr4pkg/pkgmk/
H A Dmkpkgmap.c99 static int nfp = (-1); variable
394 basepath(temp, dname[nfp], NULL);
412 for (i = 0; rootp[nfp][i]; i++) {
413 (void) snprintf(host, sizeof (host), "%s/%s", rootp[nfp][i],
427 for (i = 0; srchp[nfp][i]; i++) {
429 srchp[nfp][i], basename);
437 (void) snprintf(host, sizeof (host), "%s/%s", dname[nfp], basename);
455 for (n = 0; srchp[nfp][n]; n++)
456 free(srchp[nfp][n]);
465 "%s/%s", dname[nfp], p
[all...]

Completed in 100 milliseconds

12