Home
last modified time | relevance | path

Searched refs:nvname (Results 1 – 25 of 27) sorted by relevance

12

/titanic_50/usr/src/lib/libshell/common/sh/
H A Dnvtype.c218 sfprintf(sh.strbuf,"%s[%s].%s",cp,sub,np->nvname); in name_chtype()
220 sfprintf(sh.strbuf,"%s.%s",cp,np->nvname); in name_chtype()
273 char *name = np->nvname; in findref()
279 if(np->nvname[len]==0) in findref()
299 if(strchr(nq->nvname,'.')) in fixnode()
407 if(!mp->nvname) in clone_type()
416 stakputs(nq->nvname); in clone_type()
427 errormsg(SH_DICT,ERROR_exit(1),e_readonly, nq->nvname); in clone_type()
471 errormsg(SH_DICT,ERROR_exit(1),e_required,nq->nvname,nv_name(mp)); in clone_type()
498 int m=strlen(np->nvname); in create_type()
[all …]
H A Dinit.c290 if(np==PATHNOD || (path_scoped=(strcmp(name,PATHNOD->nvname)==0))) in put_restricted()
365 if(name==(LCALLNOD)->nvname) in put_lang()
367 else if(name==(LCTYPENOD)->nvname) in put_lang()
369 else if(name==(LCMSGNOD)->nvname) in put_lang()
371 else if(name==(LCCOLLNOD)->nvname) in put_lang()
373 else if(name==(LCNUMNOD)->nvname) in put_lang()
376 else if(name==(LANGNOD)->nvname) in put_lang()
380 else if(name==(LANGNOD)->nvname && (!(cp=nv_getval(LCALLNOD)) || !*cp)) in put_lang()
1358 if(*np->nvname=='/') in sh_reinit()
1464 if((n==0||memcmp(name,nq->nvname,n)==0) && nq->nvname[n]==0) in create_stat()
[all …]
H A Dnvtree.c184 fake.nvname = (char*)name; in nv_diropen()
267 if(dp->len && memcmp(dp->data, dp->hp->nvname, dp->len)) in nextnode()
392 char *cp=tp->nvname; in outtype()
396 cp = tp->nvname; in outtype()
423 …nvalue.cp||np->nvalue.cp==Empty) && nv_isattr(np,~NV_NOFREE)==NV_MINIMAL && strcmp(np->nvname,"_")) in nv_attribute()
443 char *cp = typep->nvname; in nv_attribute()
447 cp = typep->nvname; in nv_attribute()
490 ip = nv_namptr(*xp,0)->nvname; in nv_attribute()
806 if(sp = strrchr(tp->nvname,'.')) in genvalue()
809 sp = tp->nvname; in genvalue()
H A Ddefs.c39 offsetof(Namval_t,nvname), -1 , 0, 0, 0, nv_compare
H A Dname.c215 np = nv_search(sp->rp->nvname,root,NV_ADD); in nv_addnode()
217 if(sp->numnodes && memcmp(np->nvname,NV_CLASS,sizeof(NV_CLASS)-1)) in nv_addnode()
219 name = (sp->nodes[0])->nvname; in nv_addnode()
221 if(memcmp(np->nvname,name,i)) in nv_addnode()
227 if(name && np->nvname[i]=='.' && np->nvname[i+1]=='_' && np->nvname[i+2]==0) in nv_addnode()
234 errormsg(SH_DICT,ERROR_exit(1),e_redef,sp->nodes[0]->nvname); in nv_addnode()
602 nv_open(shtp.nodes[0]->nvname,shp->var_tree,NV_ASSIGN|NV_VARNAME|NV_NOADD|NV_NOFAIL); in nv_setlist()
804 np->nvname = nq->nvname; in nv_create()
2159 int len = strlen(np->nvname); in table_unset()
2160 while((nq=npnext) && memcmp(np->nvname,nq->nvname,len)==0 && nq->nvname[len]=='.') in table_unset()
[all …]
H A Dsubshell.c292 fake.nvname = name; in sh_assignok()
299 if(memcmp(name,mp->nvname,len) || mp->nvname[len]!='.') in sh_assignok()
313 mp->nvname = np->nvname; in sh_assignok()
334 if(!mp->nvname) in nv_restore()
H A Dnvdisc.c315 memcpy(&SH_VALNOD->nvname, &node.nvname, sizeof(node)-sizeof(node.nvlink)); in assign()
392 memcpy(&SH_VALNOD->nvname, &node.nvname, sizeof(node)-sizeof(node.nvlink)); in lookup()
806 np->nvname = (char*)np+sizeof(Namval_t); in newnode()
807 memcpy(np->nvname,name,s); in newnode()
1000 np->nvname = mp->nvname; in nv_mkclone()
1242 mp = (Namval_t*)dtinsert(nroot,newnode(np->nvname)); in clone_table()
1291 sfputr(out,np->nvname,-1); in get_table()
H A Darray.c725 errormsg(SH_DICT,ERROR_exit(1),e_notenum,tp->nvname); in nv_atypeindex()
730 np->nvname = tp->nvname; in nv_atypeindex()
1204 …if(!ap->header.scope || (Dt_t*)ap->header.scope==ap->header.table || !nv_search(ap->cur->nvname,(D… in nv_associative()
1264 return((void*)ap->cur->nvname); in nv_associative()
1303 fake.nvname = (char*)sp; in nv_associative()
H A Dpath.c289 if(strcmp(pp->name,"/bin")==0 || memcmp(pp->name,np->nvname,pp->len) || np->nvname[pp->len]!='/') in free_bltin()
292 stakputs(np->nvname+pp->len+1); in free_bltin()
H A Dxec.c875 com[0] = np->nvname; in sh_exec()
2044 if(tp=nv_open(shp->typeinit->nvname,shp->typedict,NV_IDENT|NV_NOFAIL)) in sh_exec()
/titanic_50/usr/src/uts/common/fs/dev/
H A Dsdev_profile.c936 char *nvname, *dname; in sdev_process_profile() local
950 nvname = nvpair_name(nvpair); in sdev_process_profile()
951 ASSERT(nvname != NULL); in sdev_process_profile()
953 if (strcmp(nvname, SDEV_NVNAME_INCLUDE) == 0) { in sdev_process_profile()
962 } else if (strcmp(nvname, SDEV_NVNAME_EXCLUDE) == 0) { in sdev_process_profile()
971 } else if (strcmp(nvname, SDEV_NVNAME_SYMLINK) == 0) { in sdev_process_profile()
981 } else if (strcmp(nvname, SDEV_NVNAME_MAP) == 0) { in sdev_process_profile()
990 } else if (strcmp(nvname, SDEV_NVNAME_MOUNTPT) != 0) { in sdev_process_profile()
992 "nvpair %s\n", nvname); in sdev_process_profile()
/titanic_50/usr/src/cmd/fm/eversholt/common/
H A Descparse.y88 %type <np> root stmtlist stmt nvpairlist nvpair nvname nvexpr
181 nvpair : nvname '=' nvexpr
197 nvname : ID
199 | nvname '-' ID
/titanic_50/usr/src/cmd/rcm_daemon/common/
H A Drcm_script_impl.h211 char *nvname; member
H A Drcm_script.c2162 for (i = 0; *capa->param[i].nvname != '\0'; i++) { in build_env_for_capacity()
2167 capa->param[i].nvname) == 0) in build_env_for_capacity()
/titanic_50/usr/src/lib/libshell/common/bltins/
H A Denum.c228 sfprintf(stkstd,"%s.%s%c",NV_CLASS,np->nvname,0); in enum_create()
H A Dtypeset.c634 oldname = np->nvname; in b_common()
635 np->nvname = name; in b_common()
641 np->nvname = oldname; in b_common()
/titanic_50/usr/src/lib/libshell/common/include/
H A Dnval.h115 char *nvname; /* pointer to name of the node */ member
/titanic_50/usr/src/lib/libshell/i386/include/ast/
H A Dnval.h124 char *nvname; /* pointer to name of the node */ member
/titanic_50/usr/src/lib/libshell/sparc/include/ast/
H A Dnval.h124 char *nvname; /* pointer to name of the node */ member
/titanic_50/usr/src/lib/libshell/sparcv9/include/ast/
H A Dnval.h124 char *nvname; /* pointer to name of the node */ member
/titanic_50/usr/src/lib/libshell/amd64/include/ast/
H A Dnval.h124 char *nvname; /* pointer to name of the node */ member
/titanic_50/usr/src/uts/common/os/
H A Dzone.c7071 char *nvname; in zone_set_network() local
7081 nvname = zone_net_type2name(znbuf->zn_type); in zone_set_network()
7084 if (nvname == NULL) in zone_set_network()
7104 if (nvlist_exists(nvl, nvname)) { in zone_set_network()
7108 err = nvlist_add_uint8_array(nvl, nvname, new, bufsize); in zone_set_network()
7128 char *nvname; in zone_get_network() local
7136 nvname = zone_net_type2name(znbuf->zn_type); in zone_get_network()
7140 if (nvname == NULL) in zone_get_network()
7150 if ((nvl = zdl->zdl_net) == NULL || !nvlist_exists(nvl, nvname)) { in zone_get_network()
7154 err = nvlist_lookup_uint8_array(nvl, nvname, &ptr, &psize); in zone_get_network()
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/ipmpstat/
H A Dipmpstat.c415 sfunc_nvwarn(const char *nvname) in sfunc_nvwarn() argument
417 warn("cannot retrieve %s\n", nvname); in sfunc_nvwarn()
/titanic_50/usr/src/psm/stand/bootblks/zfs/common/
H A Dzfs.fth620 : >nvname ( nv -- name$ )
624 >nvname + /l roundup
633 alias nvdata>$ >nvname
638 dup >r >nvname ( name$ nvname$ r: nvpair )
/titanic_50/usr/src/cmd/fm/fmd/common/
H A Dfmd_asru.c1127 fmd_case_t *cp, fmd_asru_link_t **hash, size_t next_offset, char *nvname) in fmd_asru_do_hash_delete() argument
1133 if (nvlist_lookup_nvlist(cis->cis_nvl, nvname, &nvl) == 0 && in fmd_asru_do_hash_delete()

12