/titanic_52/usr/src/uts/common/syscall/ |
H A D | rctlsys.c | 223 rctl_val_t *nval; in rctlsys_get() local 266 nval = kmem_cache_alloc(rctl_val_cache, KM_SLEEP); in rctlsys_get() 306 if (ret = rctl_local_get(hndl, NULL, nval, curproc)) { in rctlsys_get() 308 kmem_cache_free(rctl_val_cache, nval); in rctlsys_get() 323 kmem_cache_free(rctl_val_cache, nval); in rctlsys_get() 333 ret = rctl_local_get(hndl, oval, nval, curproc); in rctlsys_get() 340 kmem_cache_free(rctl_val_cache, nval); in rctlsys_get() 348 rctlsys_rblk_xfrm(nblk, krde, nval, RBX_TO_BLK | RBX_VAL | RBX_CTL); in rctlsys_get() 351 kmem_cache_free(rctl_val_cache, nval); in rctlsys_get() 388 rctl_val_t *nval; in rctlsys_set() local [all...] |
/titanic_52/usr/src/lib/libtnf/ |
H A D | access.c | 126 caddr_t val, nval, bval, blim; in tnf_get_next_record() local 135 nval = val + size; in tnf_get_next_record() 138 if (nval < tnf->data_start) in tnf_get_next_record() 140 else if (nval >= tnf->file_end) in tnf_get_next_record() 144 * OK, nval is in data area, start looking in block in tnf_get_next_record() 146 bhdr = _GET_BLOCK(tnf, nval); in tnf_get_next_record() 152 /* sequentially examine valid cells in block from nval onwards */ in tnf_get_next_record() 153 while (nval < blim) { in tnf_get_next_record() 155 cell = (tnf_ref32_t *)nval; in tnf_get_next_record() 160 nval in tnf_get_next_record() [all...] |
/titanic_52/usr/src/cmd/oawk/ |
H A D | tran.c | 126 xfree(cp->nval); in freesymtab() 145 dprintf("setsymtab found %o: %ws\n", p, p->nval, NULL); in setsymtab() 152 p->nval = tostring(n); in setsymtab() 159 dprintf("setsymtab set %o: %ws\n", p, p->nval, NULL); in setsymtab() 185 if (wscmp(s, p->nval) == 0 && in lookup() 198 error(FATAL, "illegal reference to array %s", vp->nval); in setfval() 200 error(FATAL, "funny variable %o: %ws %ws %g %o", vp, vp->nval, in setfval() 207 if ((vp->tval & FLD) && vp->nval == 0) { in setfval() 213 * this property and with a NULL "nval" are fields. in setfval() 233 error(FATAL, "illegal reference to array %ws", vp->nval); in setsval() [all...] |
H A D | awk.def | 64 wchar_t *nval; /* name, for variables only */ 154 n->nval==0) 156 n->nval!=0)
|
/titanic_52/usr/src/cmd/awk/ |
H A D | tran.c | 81 recloc->nval = (uchar *)"$0"; in syminit() 210 xfree(cp->nval); in freesymtab() 231 if (strcmp((char *)s, (char *)p->nval) == 0) { in freeelem() 238 free(p->nval); in freeelem() 252 dprintf(("setsymtab found %p: n=%s", (void *)p, p->nval)); in setsymtab() 260 p->nval = tostring(n); in setsymtab() 272 dprintf(("setsymtab set %p: n=%s", (void *)p, p->nval)); in setsymtab() 300 nh = hash(cp->nval, nsz); in rehash() 318 if (strcmp((char *)s, (char *)p->nval) == 0) in lookup() 344 vp->nval in setfval() [all...] |
H A D | parse.c | 213 ERROR "%s is a function, not an array", cp->nval SYNTAX; in makearr() 259 v->nval SYNTAX; in defn() 268 dprintf(("defining func %s (%d args)\n", v->nval, n)); in defn() 279 if (strcmp((char *)((Cell *)(p->narg[0]))->nval, in isarg()
|
H A D | run.c | 192 s = fcn->nval; in call() 222 i, y->nval, y->fval, in call() 226 y->nval, s FATAL; in call() 296 y->nval = x->nval; in copycell() 314 n+1, fp->fcncell->nval FATAL; in arg() 451 dprintf(("making %s into an array\n", x->nval)); in array() 515 ERROR "%s is not an array", ap->nval FATAL; in intest() 1226 dprintf(("split: s=|%s|, a=%s, sep=|%s|\n", s, ap->nval, fs)); in split() 1459 ERROR "%s is not an array", arrayp->nval FATA in instat() [all...] |
H A D | awk.g.y | 441 ERROR "%s is an array, not a function", p->nval SYNTAX; 443 ERROR "you can't define function %s more than once", p->nval SYNTAX; 444 curfname = p->nval;
|
/titanic_52/usr/src/cmd/eeprom/sparc/ |
H A D | loadlogo.c | 56 int nval; in loadlogo() local 64 if ((c = fscanf(f, "epth=%d", &nval)) == 1 && in loadlogo() 65 nval != 1) in loadlogo() 69 if ((c = fscanf(f, "ormat_version=%d", &nval)) == 1 && in loadlogo() 70 nval != 1) in loadlogo()
|
/titanic_52/usr/src/cmd/sendmail/db/hash/ |
H A D | hash_dup.c | 78 * Called from hash_access to add a duplicate key. nval is the new 93 __ham_add_dup(dbc, nval, flags) in __ham_add_dup() argument 95 DBT *nval; 113 (int32_t)DUP_SIZE(nval->size) - (int32_t)del_len)) != 0) 124 new_size = DUP_SIZE(nval->size) - del_len + LEN_HKEYDATA(hcp->pagep, 134 DUP_SIZE(nval->size) - del_len > P_FREESPACE(hcp->pagep))) { 158 if ((ret = __ham_make_dup(nval, 167 __ham_dsearch(dbc, nval, &tmp_val.doff, &cmp); 183 if (dbp->dup_compare(nval, &dbt) != 0) 226 sorted_dups: if ((ret = __db_dsearch(dbc, 1, nval, [all...] |
H A D | hash.c | 1081 __ham_overwrite(dbc, nval) in __ham_overwrite() argument 1083 DBT *nval; 1091 return (__ham_add_dup(dbc, nval, DB_KEYLAST)); 1092 else if (!F_ISSET(nval, DB_DBT_PARTIAL)) { 1094 memcpy(&tmp_val, nval, sizeof(*nval)); 1106 myval = nval;
|
/titanic_52/usr/src/cmd/csh/ |
H A D | sh.time.c | 72 int nval; in donice() local 80 nval = 4; in donice() 82 nval = getn(cp); in donice() 84 (void) setpriority(PRIO_PROCESS, 0, nval); in donice()
|
/titanic_52/usr/src/uts/i86pc/cpu/amd_opteron/ |
H A D | ao_mca.c | 296 uint64_t val, nval; in nb_mcamisc_init() local 319 nval = val; in nb_mcamisc_init() 320 nval |= AMD_NB_MISC_CNTEN; /* enable ECC error counting */ in nb_mcamisc_init() 321 nval &= ~AMD_NB_MISC_ERRCOUNT_MASK; /* clear ErrCount */ in nb_mcamisc_init() 322 nval &= ~AMD_NB_MISC_OVRFLW; /* clear Ovrflw */ in nb_mcamisc_init() 323 nval &= ~AMD_NB_MISC_INTTYPE_MASK; /* no interrupt on overflow */ in nb_mcamisc_init() 324 nval |= AMD_NB_MISC_LOCKED; in nb_mcamisc_init() 326 if (nval != val) { in nb_mcamisc_init() 332 (void) cmi_hdl_wrmsr(hdl, AMD_MSR_NB_MISC, nval); in nb_mcamisc_init()
|
/titanic_52/usr/src/lib/libdtrace/common/ |
H A D | dt_handle.c | 412 uint64_t nval = *((uint64_t *)naddr); in dt_handle_status() local 415 if (nval == oval) in dt_handle_status() 428 (void) snprintf(s, size, "%llu %s%s%s\n", nval - oval, in dt_handle_status() 429 _dt_droptab[i].dtdrt_str, (nval - oval > 1) ? "s" : "", in dt_handle_status() 434 drop.dtdda_total = nval; in dt_handle_status() 435 drop.dtdda_drops = nval - oval; in dt_handle_status()
|
/titanic_52/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_attr.c | 105 if ((ntovp->nval != FATTR4_TIME_ACCESS) || in nfs4_ver_fattr4_attr() 117 if ((ntovp->nval != FATTR4_TIME_MODIFY) || in nfs4_ver_fattr4_attr() 194 if ((ntovp->nval != FATTR4_TIME_ACCESS_SET) || in nfs4_set_fattr4_attr() 202 if ((ntovp->nval != FATTR4_TIME_MODIFY_SET) || in nfs4_set_fattr4_attr() 339 if ((nfs4_ntov_map[i].nval == FATTR4_TIME_ACCESS_SET || in vattr_to_fattr4() 340 nfs4_ntov_map[i].nval == FATTR4_TIME_MODIFY_SET) && in vattr_to_fattr4() 388 amap[attrcnt] = (uint8_t)nfs4_ntov_map[i].nval; in vattr_to_fattr4() 544 * nval, xdr_size, xfunc,
|
/titanic_52/usr/src/lib/libnisdb/ |
H A D | ldap_val.c | 1663 __nis_single_value_t *nval; in splitMappingItem() local 1674 nval = val->val; in splitMappingItem() 1692 nval[i].value = trimWhiteSpaces(nval[i].value, in splitMappingItem() 1693 &nval[i].length, 1); in splitMappingItem() 1695 str = nval[i].value; in splitMappingItem() 1697 if (nval[i].value == 0) in splitMappingItem() 1700 for (s = 0; s < nval[i].length; s = e+1) { in splitMappingItem() 1718 sfree(nval[n].value); in splitMappingItem() 1720 free(nval); in splitMappingItem() 2228 __nis_single_value_t *nval; extractMappingItem() local [all...] |
/titanic_52/usr/src/cmd/dtrace/ |
H A D | dtrace.c | 1115 dtrace_optval_t nval; in go() local 1121 (void) dtrace_getopt(g_dtp, rates[i].optname, &nval); in go() 1123 if (nval == DTRACEOPT_UNSET || nval == 0) in go() 1126 if (rates[i].val == nval) in go() 1129 dir = nval > rates[i].val ? "reduced" : "increased"; in go() 1131 if (nval <= NANOSEC && (NANOSEC % nval) == 0) { in go() 1133 (long long)NANOSEC / (long long)nval); in go() 1137 if ((nval in go() [all...] |
/titanic_52/usr/src/uts/common/os/ |
H A D | rctl.c | 1560 rctl_local_op(rctl_hndl_t hndl, rctl_val_t *oval, rctl_val_t *nval, in rctl_local_op() argument 1589 ret = cbop(hndl, p, &e, rctl, oval, nval); in rctl_local_op() 1598 rctl_t *rctl, rctl_val_t *oval, rctl_val_t *nval) in rctl_local_get_cb() argument 1604 bcopy(rctl->rc_values, nval, sizeof (rctl_val_t)); in rctl_local_get_cb() 1616 bcopy(tval->rcv_next, nval, sizeof (rctl_val_t)); in rctl_local_get_cb() 1632 rctl_local_get(rctl_hndl_t hndl, rctl_val_t *oval, rctl_val_t *nval, in rctl_local_get() argument 1635 return (rctl_local_op(hndl, oval, nval, rctl_local_get_cb, p)); in rctl_local_get() 1641 rctl_t *rctl, rctl_val_t *oval, rctl_val_t *nval) in rctl_local_delete_cb() argument 1643 if ((oval = rctl_val_list_find(&rctl->rc_values, nval)) == NULL) in rctl_local_delete_cb() 1690 rctl_t *rctl, rctl_val_t *oval, rctl_val_t *nval) in rctl_local_insert_cb() argument 1980 rctl_local_replace_cb(rctl_hndl_t hndl,struct proc * p,rctl_entity_p_t * e,rctl_t * rctl,rctl_val_t * oval,rctl_val_t * nval) rctl_local_replace_cb() argument 2022 rctl_local_replace(rctl_hndl_t hndl,rctl_val_t * oval,rctl_val_t * nval,struct proc * p) rctl_local_replace() argument [all...] |
/titanic_52/usr/src/uts/sun/io/ttymux/ |
H A D | ttymux_ioctl.c | 357 char *nval, *alias = NULL; in upd_config() local 425 nval = kmem_zalloc(len, KM_SLEEP); in upd_config() 427 ASSERT(strlen(nval) + strlen(aliases[i]) + 1 <= len); in upd_config() 429 (void) strcat(nval, aliases[i]); in upd_config() 432 (void) strcat(nval, " "); in upd_config() 435 sm_dbg('I', ("setprop: %s=%s (%d)\n", pname, nval, len)); in upd_config() 437 (void) prom_setprop(onode, pname, nval, len); in upd_config() 439 kmem_free(nval, len); in upd_config()
|
/titanic_52/usr/src/uts/common/vm/ |
H A D | seg_umap.c | 260 size_t nval = sud->sud_softlockcnt + btop(len); in segumap_fault() local 262 if (sud->sud_softlockcnt >= nval) { in segumap_fault() 266 sud->sud_softlockcnt = nval; in segumap_fault()
|
/titanic_52/usr/src/contrib/ast/src/cmd/ksh93/ |
H A D | DESIGN | 6 The files nval.h and shell.h are intended to be public 41 RELEASE file, the ksh93 man file (sh.1) and nval.3 and shell.3 82 13. nval.h is the public interface to the name-value 83 pair library that is documented with nval.3.
|
H A D | llib-lshell | 33 #include <nval.h>
|
H A D | Mamfile | 190 make include/nval.h implicit 197 done include/nval.h dontcare 199 prev include/nval.h implicit 313 prev include/nval.h implicit 369 prev include/nval.h implicit 937 prev include/nval.h implicit 1024 prev include/nval.h implicit 1436 make ${INSTALLROOT}/man/man3/nval.3 1437 make nval.3 1438 done nval [all...] |
/titanic_52/usr/src/lib/pyzfs/common/ |
H A D | ioctl.c | 88 nvlist_t *nval; in nvl2py() local 102 (void) nvpair_value_nvlist(nvp, &nval); in nvl2py() 103 pyval = nvl2py(nval); in nvl2py()
|
/titanic_52/usr/src/cmd/sed/ |
H A D | compile.c | 552 unsigned long nval; in compile_flags() local 589 nval = strtol(p, &p, 10); in compile_flags() 590 if (errno == ERANGE || nval > INT_MAX) in compile_flags() 592 s->n = nval; in compile_flags()
|