Home
last modified time | relevance | path

Searched refs:nvflag (Results 1 – 13 of 13) sorted by relevance

/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_nvl.c45 topo_mod_nvalloc(topo_mod_t *mod, nvlist_t **nvlp, uint_t nvflag) in topo_mod_nvalloc() argument
47 if (nvlist_xalloc(nvlp, nvflag, &mod->tm_alloc->ta_nva) != 0) in topo_mod_nvalloc()
63 topo_hdl_nvalloc(topo_hdl_t *thp, nvlist_t **nvlp, uint_t nvflag) in topo_hdl_nvalloc() argument
66 if (nvlist_xalloc(nvlp, nvflag, &thp->th_alloc->ta_nva) != 0) in topo_hdl_nvalloc()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Dnval.h118 unsigned short nvflag; /* attributes */ member
122 unsigned short nvflag; /* attributes */ member
126 unsigned short nvflag; /* attributes */ member
211 #define nv_isattr(np,f) ((np)->nvflag & (f))
212 #define nv_onattr(n,f) ((n)->nvflag |= (f))
213 #define nv_offattr(n,f) ((n)->nvflag &= ~(f))
H A Dname.h158 #define nv_setattr(n,f) ((n)->nvflag = (f))
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dnvdisc.c935 mp->nvflag &= NV_MINIMAL; in nv_clone()
936 mp->nvflag |= np->nvflag&~(NV_ARRAY|NV_MINIMAL|NV_NOFREE); in nv_clone()
937 flag = mp->nvflag; in nv_clone()
944 if(mp->nvflag == flag) in nv_clone()
945 mp->nvflag = (np->nvflag&~(NV_MINIMAL))|(mp->nvflag&NV_MINIMAL); in nv_clone()
947 mp->nvflag |= (np->nvflag&NV_MINIMAL); in nv_clone()
973 np->nvflag = NV_EXPORT; in nv_clone()
976 np->nvflag = 0; in nv_clone()
979 np->nvflag &= NV_MINIMAL; in nv_clone()
1033 np->nvflag = mp->nvflag; in nv_mkclone()
[all …]
H A Dnvtype.c255 np->nvflag = mp->nvflag&~NV_RDONLY; in put_chtype()
313 nq ->nvflag = NV_REF|NV_NOFREE|NV_MINIMAL; in fixnode()
1015 nq->nvflag = np->nvflag|NV_NOFREE|NV_MINIMAL; in nv_mktype()
1078 nq->nvflag = (np->nvflag&~(NV_IMPORT|NV_EXPORT))|NV_NOFREE|NV_MINIMAL; in nv_mktype()
1105 nq->nvflag = nr->nvflag; in nv_mktype()
1502 nq->nvflag = tp->nvflag|NV_MINIMAL|NV_NOFREE; in nv_mkstruct()
1527 nq->nvflag = nr->nvflag; in nv_mkstruct()
H A Dname.c596 L_ARGNOD->nvflag = node.nvflag; in nv_setlist()
682 L_ARGNOD->nvflag = node.nvflag; in nv_setlist()
2179 register int flag = np->nvflag; in attstore()
2293 register int k=np->nvflag; in scanfilter()
3021 n = np->nvflag; in nv_newattr()
3054 oldatts = np->nvflag; in nv_newattr()
3064 np->nvflag &= NV_ARRAY; in nv_newattr()
3065 np->nvflag |= newatts; in nv_newattr()
3073 np->nvflag = oldatts; in nv_newattr()
3107 np->nvflag |= newatts; in nv_newattr()
[all …]
H A Dsubshell.c354 mp->nvflag = np->nvflag|(flags&NV_MINIMAL); in nv_restore()
356 nv_putval(mp, nv_getval(np),np->nvflag|NV_NOFREE|NV_RDONLY); in nv_restore()
H A Darray.c495 mp->nvflag &= NV_MINIMAL; in array_clone()
496 mp->nvflag |= (np->nvflag&~(NV_MINIMAL|NV_NOFREE)); in array_clone()
H A Dxec.c708 L_ARGNOD->nvflag = NV_REF|NV_NOFREE; in set_instance()
722 L_ARGNOD->nvflag = node->nvflag; in unset_instance()
3310 SH_VALNOD->nvflag = NV_LDOUBLE|NV_NOFREE; in sh_mathfun()
3325 SH_VALNOD->nvflag = node.nvflag; in sh_mathfun()
H A Dpath.c897 n = np->nvflag; in path_absolute()
899 np->nvflag = n; in path_absolute()
/illumos-gate/usr/src/cmd/grep/
H A Dgrep.c92 static boolean_t nvflag = B_TRUE; /* Print matching lines */ variable
227 nvflag = B_FALSE; in main()
474 if (oflag && !nvflag) { in main()
828 use_bmg = !mblocale && !iflag && !nflag && nvflag && !oflag && in fixpatterns()
1297 if (nvflag == (pp != NULL)) { in grep()
1352 if (!last_ctx && nvflag == (pp != NULL)) { in grep()
1393 } else if (conflag == 0 && nvflag == (pp != NULL)) { in grep()
/illumos-gate/usr/src/common/nvpair/
H A Dnvpair.c305 nvt_nvpair_match(nvpair_t *nvp1, nvpair_t *nvp2, uint32_t nvflag) in nvt_nvpair_match() argument
308 if (nvflag & NV_UNIQUE_NAME_TYPE) { in nvt_nvpair_match()
313 ASSERT(nvflag == 0 || nvflag & NV_UNIQUE_NAME); in nvt_nvpair_match()
543 nvlist_init(nvlist_t *nvl, uint32_t nvflag, nvpriv_t *priv) in nvlist_init() argument
546 nvl->nvl_nvflag = nvflag & (NV_UNIQUE_NAME|NV_UNIQUE_NAME_TYPE); in nvlist_init()
563 nvlist_alloc(nvlist_t **nvlp, uint_t nvflag, int kmflag) in nvlist_alloc() argument
566 return (nvlist_xalloc(nvlp, nvflag, in nvlist_alloc()
569 return (nvlist_xalloc(nvlp, nvflag, nv_alloc_nosleep)); in nvlist_alloc()
574 nvlist_xalloc(nvlist_t **nvlp, uint_t nvflag, nv_alloc_t *nva) in nvlist_xalloc() argument
590 nvlist_init(*nvlp, nvflag, priv); in nvlist_xalloc()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dtypeset.c467 if(!np->nvflag) in print_value()
724 flag = (np->nvflag&NV_NOCHANGE); in setall()
731 curflag = np->nvflag; in setall()