/illumos-gate/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 …]
|
/illumos-gate/usr/src/cmd/oawk/ |
H A D | tran.c | 124 xfree(cp->nval); in freesymtab() 143 dprintf("setsymtab found %o: %ws\n", p, p->nval, NULL); in setsymtab() 150 p->nval = tostring(n); in setsymtab() 157 dprintf("setsymtab set %o: %ws\n", p, p->nval, NULL); in setsymtab() 183 if (wscmp(s, p->nval) == 0 && in lookup() 196 error(FATAL, "illegal reference to array %s", vp->nval); in setfval() 198 error(FATAL, "funny variable %o: %ws %ws %g %o", vp, vp->nval, in setfval() 205 if ((vp->tval & FLD) && vp->nval == 0) { in setfval() 231 error(FATAL, "illegal reference to array %ws", vp->nval); in setsval() 233 error(FATAL, "funny variable %o: %ws %ws %g %o", vp, vp->nval, in setsval() [all …]
|
H A D | awk.def | 63 wchar_t *nval; /* name, for variables only */ 152 n->nval==0) 154 n->nval!=0)
|
/illumos-gate/usr/src/cmd/awk/ |
H A D | tran.c | 122 recloc->nval = "$0"; in syminit() 241 xfree(cp->nval); in freesymtab() 252 ap->nval); in freesymtab() 269 if (strcmp(s, p->nval) == 0) { in freeelem() 276 free(p->nval); in freeelem() 291 (void *)p, NN(p->nval), NN(p->sval), p->fval, p->tval)); in setsymtab() 297 p->nval = tostring(n); in setsymtab() 310 (void *)p, p->nval, p->sval, p->fval, p->tval)); in setsymtab() 337 nh = hash(cp->nval, nsz); in rehash() 355 if (strcmp(s, p->nval) == 0) in lookup() [all …]
|
H A D | parse.c | 236 SYNTAX("%s is a function, not an array", cp->nval); in makearr() 286 SYNTAX("`%s' is an array name and a function name", v->nval); in defn() 289 if (isarg(v->nval) != -1) { in defn() 290 SYNTAX("`%s' is both function name and argument name", v->nval); in defn() 300 dprintf(("defining func %s (%d args)\n", v->nval, n)); in defn() 313 if (strcmp(((Cell *)(p->narg[0]))->nval, s) == 0) in isarg()
|
H A D | run.c | 260 s = fcn->nval; in call() 289 i, NN(y->nval), y->fval, in call() 293 y->nval, s); in call() 371 y->nval = x->nval; /* BUG? */ in copycell() 391 n+1, fp->fcncell->nval); in arg() 539 dprintf(("making %s into an array\n", NN(x->nval))); in array() 570 dprintf(("making %s into an array\n", x->nval)); in awkdelete() 625 dprintf(("making %s into an array\n", ap->nval)); in intest() 774 NN(a->nval), NN(a->sval), a->tval)); in tfree() 800 dprintf(("gtemp %.8s %06lo\n", NN(x->nval), (ulong_t)x)); in gettemp() [all …]
|
H A D | awk.g.y | 484 SYNTAX("%s is an array, not a function", p->nval); 486 SYNTAX("you can't define function %s more than once", p->nval); 487 curfname = p->nval; 518 char *s = cp->nval; 520 if (strcmp(s, ((Cell *)(vl->narg[0]))->nval) == 0) {
|
/illumos-gate/usr/src/compat/bhyve/ |
H A D | stdatomic.h | 28 #define atomic_compare_exchange_strong(p, ovalp, nval) \ argument 29 atomic_cmpset_int((p), *(ovalp), (nval)) 31 #define atomic_exchange(p, nval) atomic_swap_int((p), (nval)) argument
|
/illumos-gate/usr/src/cmd/eeprom/sparc/ |
H A D | loadlogo.c | 54 int nval; in loadlogo() local 62 if ((c = fscanf(f, "epth=%d", &nval)) == 1 && in loadlogo() 63 nval != 1) in loadlogo() 67 if ((c = fscanf(f, "ormat_version=%d", &nval)) == 1 && in loadlogo() 68 nval != 1) in loadlogo()
|
/illumos-gate/usr/src/cmd/sendmail/db/hash/ |
H A D | hash_dup.c | 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, 241 nval, hcp->dpagep, hcp->dndx, dbp->dup_compare) != 0) [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;
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.time.c | 73 int nval; in donice() local 81 nval = 4; in donice() 83 nval = getn(cp); in donice() 85 (void) setpriority(PRIO_PROCESS, 0, nval); in donice()
|
/illumos-gate/usr/src/uts/i86pc/cpu/amd_opteron/ |
H A D | ao_mca.c | 298 uint64_t val, nval; in nb_mcamisc_init() local 321 nval = val; in nb_mcamisc_init() 322 nval |= AMD_NB_MISC_CNTEN; /* enable ECC error counting */ in nb_mcamisc_init() 323 nval &= ~AMD_NB_MISC_ERRCOUNT_MASK; /* clear ErrCount */ in nb_mcamisc_init() 324 nval &= ~AMD_NB_MISC_OVRFLW; /* clear Ovrflw */ in nb_mcamisc_init() 325 nval &= ~AMD_NB_MISC_INTTYPE_MASK; /* no interrupt on overflow */ in nb_mcamisc_init() 326 nval |= AMD_NB_MISC_LOCKED; in nb_mcamisc_init() 328 if (nval != val) { in nb_mcamisc_init() 334 (void) cmi_hdl_wrmsr(hdl, AMD_MSR_NB_MISC, nval); in nb_mcamisc_init()
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_handle.c | 410 uint64_t nval = *((uint64_t *)naddr); in dt_handle_status() local 413 if (nval == oval) in dt_handle_status() 426 (void) snprintf(s, size, "%llu %s%s%s\n", nval - oval, in dt_handle_status() 427 _dt_droptab[i].dtdrt_str, (nval - oval > 1) ? "s" : "", in dt_handle_status() 432 drop.dtdda_total = nval; in dt_handle_status() 433 drop.dtdda_drops = nval - oval; in dt_handle_status()
|
/illumos-gate/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()
|
/illumos-gate/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() 1728 free(nval[i].value); in splitMappingItem() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/lua/ |
H A D | lcode.c | 436 luaK_codek(fs, reg, luaK_numberK(fs, e->u.nval)); in discharge2reg() 541 e->u.info = luaK_numberK(fs, e->u.nval); in luaK_exp2RK() 715 if ((op == OP_DIV || op == OP_MOD) && e2->u.nval == 0) in constfolding() 720 if (op == OP_DIV && e1->u.nval == INT64_MIN && e2->u.nval == -1) in constfolding() 722 r = luaO_arith(op - OP_ADD + LUA_OPADD, e1->u.nval, e2->u.nval); in constfolding() 723 e1->u.nval = r; in constfolding() 768 e2.t = e2.f = NO_JUMP; e2.k = VKNUM; e2.u.nval = 0; in luaK_prefix() 772 e->u.nval = luai_numunm(NULL, e->u.nval); /* fold it */ in luaK_prefix()
|
H A D | lparser.h | 49 lua_Number nval; /* for VKNUM */ member
|
/illumos-gate/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 % NANOSEC) == 0) { in go() 1140 (long long)nval / (long long)NANOSEC); in go() 1145 rates[i].name, dir, (long long)nval); in go()
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | simplify.c | 700 unsigned long long nval = oval & mask; in simplify_mask_or() local 703 if (nval == 0) { in simplify_mask_or() 707 if (nval == mask) { in simplify_mask_or() 711 if (nval != oval && !multi_users(or->target)) { in simplify_mask_or() 713 return replace_pseudo(or, &or->src2, value_pseudo(nval)); in simplify_mask_or() 785 unsigned long long nval; in simplify_shift() local 811 nval = src2->value; in simplify_shift() 812 if (nval > insn->size || nval == 0) in simplify_shift() 814 value += nval; in simplify_shift() 904 nval = src2->value; in simplify_shift() [all …]
|
/illumos-gate/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 1587 ret = cbop(hndl, p, &e, rctl, oval, nval); in rctl_local_op() 1596 rctl_t *rctl, rctl_val_t *oval, rctl_val_t *nval) in rctl_local_get_cb() argument 1602 bcopy(rctl->rc_values, nval, sizeof (rctl_val_t)); in rctl_local_get_cb() 1614 bcopy(tval->rcv_next, nval, sizeof (rctl_val_t)); in rctl_local_get_cb() 1630 rctl_local_get(rctl_hndl_t hndl, rctl_val_t *oval, rctl_val_t *nval, in rctl_local_get() argument 1633 return (rctl_local_op(hndl, oval, nval, rctl_local_get_cb, p)); in rctl_local_get() 1639 rctl_t *rctl, rctl_val_t *oval, rctl_val_t *nval) in rctl_local_delete_cb() argument 1641 if ((oval = rctl_val_list_find(&rctl->rc_values, nval)) == NULL) in rctl_local_delete_cb() 1688 rctl_t *rctl, rctl_val_t *oval, rctl_val_t *nval) in rctl_local_insert_cb() argument [all …]
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | seg_umap.c | 261 size_t nval = sud->sud_softlockcnt + btop(len); in segumap_fault() local 263 if (sud->sud_softlockcnt >= nval) { in segumap_fault() 267 sud->sud_softlockcnt = nval; in segumap_fault()
|
/illumos-gate/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.
|
/illumos-gate/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()
|
/illumos-gate/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()
|