/illumos-gate/usr/src/uts/common/syscall/ |
H A D | rctlsys.c | 223 rctl_val_t *nval; in rctlsys_get() local 388 rctl_val_t *nval; in rctlsys_set() local 441 if (rctl_invalid_value(rde, nval)) { in rctlsys_set() 455 pid = nval->rcv_action_recip_pid; in rctlsys_set() 529 nval->rcv_action_recipient = pp; in rctlsys_set() 552 nval->rcv_action_recipient = NULL; in rctlsys_set() 553 nval->rcv_action_recip_pid = -1; in rctlsys_set() 556 nval->rcv_firing_time = 0; in rctlsys_set() 671 nval = NULL; in rctlsys_set() 728 nval = NULL; in rctlsys_set() [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() 205 if ((vp->tval & FLD) && vp->nval == 0) { in setfval() 231 error(FATAL, "illegal reference to array %ws", vp->nval); in setsval() 239 if ((vp->tval & FLD) && vp->nval == 0) { in setsval() 263 error(FATAL, "illegal reference to array %ws", vp->nval); in getfval() [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() 297 p->nval = tostring(n); in setsymtab() 337 nh = hash(cp->nval, nsz); in rehash() 355 if (strcmp(s, p->nval) == 0) in lookup() 371 fldno = atoi(vp->nval); in setfval() 395 NN(vp->nval), f, vp->tval)); in setfval() [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() 1680 dprintf(("making %s into an array\n", arrayp->nval)); in instat() [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) 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) 264 nval, &hcp->dpagep, &hcp->dndx, __ham_overflow_page); [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 | 1674 nval = val->val; in splitMappingItem() 1692 nval[i].value = trimWhiteSpaces(nval[i].value, in splitMappingItem() 1695 str = nval[i].value; in splitMappingItem() 1720 free(nval); in splitMappingItem() 1728 free(nval[i].value); in splitMappingItem() 1729 nval[i].value = 0; in splitMappingItem() 1732 free(nval); in splitMappingItem() 2258 nval = val->val; in extractMappingItem() 2299 free(nval); in extractMappingItem() 2310 nval[i].value = 0; in extractMappingItem() [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() 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() 905 if (nval > insn->size) in simplify_shift() [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | rctl.c | 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() 1639 rctl_t *rctl, rctl_val_t *oval, rctl_val_t *nval) in rctl_local_delete_cb() argument 1688 rctl_t *rctl, rctl_val_t *oval, rctl_val_t *nval) in rctl_local_insert_cb() argument 1695 if (rctl_val_list_insert(&rctl->rc_values, nval) != 0) in rctl_local_insert_cb() 1698 if (rctl_val_cmp(nval, rctl->rc_cursor, 0) < 0) { in rctl_local_insert_cb() 1699 rctl->rc_cursor = nval; in rctl_local_insert_cb() 1978 rctl_t *rctl, rctl_val_t *oval, rctl_val_t *nval) in rctl_local_replace_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()
|