/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | nvtype.c | 316 if(nq->nvalue.cp || nq->nvfun) in fixnode() 351 nq->nvalue.cp = strdup(nq->nvalue.cp); in fixnode() 412 nq = nq->nvalue.nrp->np; in clone_type() 416 if(nq->nvalue.cp || !nv_isvtree(nq) || nv_isattr(nq,NV_RDONLY)) in clone_type() 438 if(nv_isattr(nq,NV_RDONLY) && (nq->nvalue.cp || nv_isattr(nq,NV_INTEGER))) in clone_type() 441 nq = nv_refnode(nq); in clone_type() 482 else if(nv_isattr(nq,NV_RDONLY) && !nq->nvalue.cp && !nv_isattr(nq,NV_INTEGER)) in clone_type() 524 nq = nq->nvalue.nrp->np; in create_type() 530 if(nq) in create_type() 729 if(nq && nv_isattr(nq,NV_STATICF)) in typeinfo() [all …]
|
H A D | nvdisc.c | 345 if((nq=vp->disc[n]) && !nv_isattr(nq,NV_NOFREE)) in assign() 358 if(nq && nq->nvalue.rp->running==1) in assign() 420 if(nq && nq->nvalue.rp->running==1) in lookup() 1136 if(!nq) in nv_bfsearch() 1143 np = nq; in nv_bfsearch() 1146 *var = nq; in nv_bfsearch() 1166 …while(nv_isarray(nq) && !nv_isattr(nq,NV_MINIMAL|NV_EXPORT) && nq->nvenv && nv_isarray((Namval_t*)… in nv_bfsearch() 1167 nq = (Namval_t*)nq->nvenv; in nv_bfsearch() 1168 return((Namval_t*)nv_setdisc(nq,dname,nq,(Namfun_t*)nq)); in nv_bfsearch() 1250 if(nq) in sh_addbuiltin() [all …]
|
H A D | name.c | 974 if((flags&NV_ASSIGN) && (!nq || nv_isnull(nq))) in nv_create() 1181 if(nq && nv_isnull(nq)) in nv_create() 1182 nq = nv_arraychild(np,nq,c); in nv_create() 2464 nv_putval(nq, nv_getval(nq), NV_RDONLY); in table_unset() 2477 while((nq=npnext) && memcmp(np->nvname,nq->nvname,len)==0 && nq->nvname[len]=='.') in table_unset() 3414 nq = nr; in nv_setref() 3416 nq = nr; in nv_setref() 3418 nq = nr; in nv_setref() 3419 if(nq) in nv_setref() 3434 if(nq && ep && nv_isarray(nq) && !((ap=nv_arrayptr(nq)) && ap->fixed) && !nv_getsub(nq)) in nv_setref() [all …]
|
H A D | array.c | 405 Namval_t *nq; in nv_arraysettype() local 416 if(!nq->nvfun && nq->nvalue.cp && *nq->nvalue.cp==0) in nv_arraysettype() 450 Namval_t *nq, *mq; in array_clone() local 514 if(nq=nv_opensub(np)) in array_clone() 516 if(nq && (((flags&NV_COMVAR) && nv_isvtree(nq)) || nv_isarray(nq))) in array_clone() 1031 if(!nq) in nv_arraychild() 1046 nv_clone(tp,nq, 0); in nv_arraychild() 1052 nq->nvenv = (char*)np; in nv_arraychild() 1061 up->np = nq; in nv_arraychild() 1064 nv_setvtree(nq); in nv_arraychild() [all …]
|
H A D | nvtree.c | 150 Namval_t *nq=0,fake; in nv_diropen() local 221 if(nq = nv_opensub(np)) in nv_diropen() 222 np = nq; in nv_diropen() 258 nq = np; in nv_diropen() 280 Namval_t *nq; in nv_dirnext() local 762 if(isarray==1 && !nq) in outval() 1019 Namval_t *nq, *mq; in walk_tree() local 1023 if(!nq && (flags&NV_MOVE)) in walk_tree() 1032 if(nq && mq) in walk_tree() 1034 nv_clone(nq,mq,flags|NV_RAW); in walk_tree() [all …]
|
H A D | arith.c | 139 Namval_t *nq; in scope() local 177 if(nq = nv_opensub(np)) in scope() 178 np = nq; in scope() 184 if(ap && ap->table && (nq=nv_search(nv_getsub(np),ap->table,NV_ADD))) in scope() 185 nq->nvenv = (char*)np; in scope() 186 if(nq && nv_isnull(nq)) in scope() 187 np = nv_arraychild(np,nq,0); in scope()
|
H A D | xec.c | 683 nq = np; in set_instance() 684 cp = nv_name(nq); in set_instance() 686 nr->np = nq; in set_instance() 694 if((ap=nv_arrayptr(nq)) && (sp = nv_getsub(nq))) in set_instance() 1382 bp->vnode = nq; in sh_exec() 1534 if(nq) in sh_exec() 1538 nq = mp; in sh_exec() 1578 if(nq) in sh_exec() 2765 Namval_t *mp, *nq; in sh_exec() local 3580 if(nq) in sh_fun() [all …]
|
H A D | macro.c | 1032 Namval_t *np, *nq; in sh_macfun() local 1033 np = nv_bfsearch(name,shp->fun_tree,&nq,(char**)0); in sh_macfun() 1353 Namval_t *nq; in varsub() local 1355 if(ap && !ap->fixed && (nq=nv_opensub(np))) in varsub() 1357 if(ap && (nq=nv_opensub(np))) in varsub() 1359 ap = nv_arrayptr(np=nq); in varsub() 1422 Namval_t *nq = nv_type(np); in varsub() local 1424 if(nq) in varsub() 1425 nv_typename(nq,mp->shp->strbuf); in varsub()
|
H A D | subshell.c | 422 register Namval_t *np,*nq; in table_unset() local 424 for(np=(Namval_t*)dtfirst(root);np;np=nq) in table_unset() 426 nq = (Namval_t*)dtnext(root,np); in table_unset()
|
H A D | init.c | 1739 Namval_t *nq=0; in create_stat() local 1747 nq = nv_namptr(sp->nodes,i); in create_stat() 1748 if((n==0||memcmp(name,nq->nvname,n)==0) && nq->nvname[n]==0) in create_stat() 1751 nq = 0; in create_stat() 1753 if(nq) in create_stat() 1760 return(nq); in create_stat()
|
/illumos-gate/usr/src/lib/libmvec/common/ |
H A D | __vrem_pio2m.c | 204 nq = 5; in __vlibm_rem_pio2m() 212 z = q[nq] * twon24; in __vlibm_rem_pio2m() 253 for (j = 0; j <= nq; j++) { in __vlibm_rem_pio2m() 259 if (nq - j < 4) { in __vlibm_rem_pio2m() 260 k = 4 - (nq - j); in __vlibm_rem_pio2m() 268 for (i = nq + 1; i <= nq + k; i++) { in __vlibm_rem_pio2m() 275 nq += k; in __vlibm_rem_pio2m() 281 nq = nq - j; in __vlibm_rem_pio2m() 289 for (i = 4; i <= nq; i++) { in __vlibm_rem_pio2m() 295 t = q[nq]; in __vlibm_rem_pio2m() [all …]
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | ldap_nisdbquery.c | 625 int i, nq, nn; in filterQuery() local 632 nq = *numQueries; in filterQuery() 695 int nq; in createNisPlusEntry() local 813 if (nq <= 0) in createNisPlusEntry() 818 if (ntq > nq) { in createNisPlusEntry() 875 if (nq <= 0) { in createNisPlusEntry() 1017 nq = ntq; in createNisPlusEntry() 1022 if (nq <= 0) { in createNisPlusEntry() 1091 nq += nnp[nqp]; in ruleValue2Query() 1102 nq = 0; in ruleValue2Query() [all …]
|
H A D | db_mindex2.cc | 1434 int i, size, nq = 0; in storeLDAP() local 1492 nq++; in storeLDAP() 1534 freeQueries(qa, nq); in storeLDAP() 1536 freeQueries(qat, nq); in storeLDAP() 1569 t->obj, &rv[nq]); in storeLDAP() 1570 if (qa[nq] == 0) { in storeLDAP() 1574 freeQueries(qa, nq); in storeLDAP() 1582 qold[nq] = qa[nq]; in storeLDAP() 1583 nq++; in storeLDAP() 1593 freeQueries(qa, nq); in storeLDAP() [all …]
|
H A D | ldap_map.c | 828 if (tm == 0 || (old == 0 && new == 0) || nq <= 0) in mapToLDAP() 832 if (nq == 1) { in mapToLDAP() 856 dn = am(myself, (firstOnly ? 1 : nq) * maxMatches * sizeof (dn[0])); in mapToLDAP() 857 odn = am(myself, (firstOnly ? 1 : nq) * maxMatches * sizeof (odn[0])); in mapToLDAP() 858 rv = am(myself, (firstOnly ? 1 : nq) * maxMatches * sizeof (rv[0])); in mapToLDAP() 859 tpa = am(myself, (firstOnly ? 1 : nq) * maxMatches * sizeof (tpa[0])); in mapToLDAP() 870 if (nq != 1) in mapToLDAP() 880 myself, NIL(tm->objName), nq, maxMatches); in mapToLDAP() 885 for (iq = 0, rnq = 0; iq < nq; iq++) { in mapToLDAP() 897 if (nq != 1) in mapToLDAP() [all …]
|
H A D | db_mindex3.cc | 338 int i, na, nau, nq = 0, xid = 0; in entriesFromLDAPreal() local 400 res = mapFromLDAP(t, q, &nq, dbId, &stat, &oa); in entriesFromLDAPreal() 405 ldap_err2string(stat), nq); in entriesFromLDAPreal() 414 table->mapping.enumEntries = nq; in entriesFromLDAPreal() 559 freeQueries(res, nq); in entriesFromLDAPreal() 640 myself, nq); in entriesFromLDAPreal() 669 for (i = 0, na = 0; i < nq; i++) { in entriesFromLDAPreal() 864 freeObjAttr(oa, nq); in entriesFromLDAPreal()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/ |
H A D | mkservice.c | 284 register Namval_t* nq = sp->disc[ACCEPT]; in Accept() local 291 if (nq) in Accept() 299 if (sh_fun(nq, sp->node, av)) in Accept() 312 register Namval_t* nq; in Action() local 316 nq = sp->disc[CLOSE]; in Action() 318 nq = sp->disc[ACTION]; in Action() 319 if (nq) in Action() 327 r=sh_fun(nq, sp->node, av); in Action() 352 register Namval_t* nq; in setdisc() local 362 if (nq = sp->disc[i]) in setdisc() [all …]
|
H A D | shiocmd_solaris.c | 228 register Namval_t *nq; in sh_newnode() local 232 nq = nv_search(stkptr(stkstd,offset),sh.var_tree,NV_ADD); in sh_newnode() 235 nv_putval(nq,val,fp->flags|NV_NOFREE); in sh_newnode() 237 (*fp->make)(nq); in sh_newnode() 238 return(nq); in sh_newnode() 246 Namval_t *nq,**nodes = (Namval_t**)(dcp+1); in fieldcreate() local 250 if(!(nq=nodes[n])) in fieldcreate() 252 nodes[n] = nq = sh_newnode(fp,np); in fieldcreate() 256 return(nq); in fieldcreate() 257 return(nq); in fieldcreate()
|
H A D | whence.c | 142 Namval_t *nq; in whence() local 188 if(np= nv_bfsearch(name, root, &nq, ¬used)) in whence()
|
/illumos-gate/usr/src/cmd/krb5/kadmin/kdcmgr/ |
H A D | klookup.c | 54 int len = 0, anslen, hostlen, nq, na, type, class; in main() local 120 nq = ntohs(h->qdcount); in main() 124 if (nq != 1 || na < 1) { in main()
|
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | t4_ioctl.c | 1457 unsigned int ibq_rdaddr, obq_rdaddr, nq; in read_cim_qcfg() local 1473 nq = CIM_NUM_IBQ + t4cimqcfg.num_obq; in read_cim_qcfg() 1475 rc = -t4_cim_read(sc, ibq_rdaddr, 4 * nq, t4cimqcfg.stat); in read_cim_qcfg()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | strsubr.c | 4236 queue_t *nq; in backenable() local 4248 for (nq = backq(q); nq && !nq->q_qinfo->qi_srvp; nq = backq(nq)) { in backenable() 4249 ASSERT(STRMATED(q->q_stream) || STREAM(q) == STREAM(nq)); in backenable() 4252 if (nq) { in backenable() 4263 if (freezer != curthread || STREAM(q) != STREAM(nq)) { in backenable() 4264 mutex_enter(QLOCK(nq)); in backenable() 4270 ASSERT(MUTEX_HELD(QLOCK(nq))); in backenable() 4273 setqback(nq, pri); in backenable() 4274 qenable_locked(nq); in backenable() 4275 if (freezer != curthread || STREAM(q) != STREAM(nq)) in backenable() [all …]
|
/illumos-gate/usr/src/cmd/nvmeadm/ |
H A D | nvmeadm_print.c | 2322 nvme_nqueues_t nq; in nvme_print_feat_nqueues() local 2324 nq.r = cdw0; in nvme_print_feat_nqueues() 2326 nq.b.nq_nsq + 1, NULL, NULL); in nvme_print_feat_nqueues() 2328 nq.b.nq_ncq + 1, NULL, NULL); in nvme_print_feat_nqueues()
|
/illumos-gate/usr/src/uts/common/io/nvme/ |
H A D | nvme.c | 2919 nvme_nqueues_t nq = { 0 }; in nvme_set_nqueues() local 2951 nq.b.nq_nsq = nvme->n_submission_queues - 1; in nvme_set_nqueues() 2952 nq.b.nq_ncq = nvme->n_completion_queues - 1; in nvme_set_nqueues() 2954 ret = nvme_set_features(nvme, B_FALSE, 0, NVME_FEAT_NQUEUES, nq.r, in nvme_set_nqueues() 2955 &nq.r); in nvme_set_nqueues() 2962 nq.b.nq_nsq + 1); in nvme_set_nqueues() 2964 nq.b.nq_ncq + 1); in nvme_set_nqueues()
|
/illumos-gate/usr/src/uts/common/io/cxgbe/common/ |
H A D | t4_hw.c | 5471 int nq = min(n, 32); in t4_config_rss_range() local 5478 cmd.niqid = cpu_to_be16(nq); in t4_config_rss_range() 5483 start += nq; in t4_config_rss_range() 5484 n -= nq; in t4_config_rss_range() 5490 while (nq > 0) { in t4_config_rss_range() 5498 int nqbuf = min(3, nq); in t4_config_rss_range() 5500 nq -= nqbuf; in t4_config_rss_range()
|