Searched defs:nval (Results 1 - 23 of 23) sorted by relevance

/illumos-gate/usr/src/cmd/eeprom/sparc/
H A Dloadlogo.c56 int nval; local
64 if ((c = fscanf(f, "epth=%d", &nval)) == 1 &&
65 nval != 1)
69 if ((c = fscanf(f, "ormat_version=%d", &nval)) == 1 &&
70 nval != 1)
/illumos-gate/usr/src/lib/libtnf/
H A Daccess.c126 caddr_t val, nval, bval, blim; local
135 nval = val + size;
138 if (nval < tnf->data_start)
140 else if (nval >= tnf->file_end)
144 * OK, nval is in data area, start looking in block
146 bhdr = _GET_BLOCK(tnf, nval);
152 /* sequentially examine valid cells in block from nval onwards */
153 while (nval < blim) {
155 cell = (tnf_ref32_t *)nval;
160 nval
[all...]
/illumos-gate/usr/src/cmd/csh/
H A Dsh.time.c72 int nval; local
80 nval = 4;
82 nval = getn(cp);
84 (void) setpriority(PRIO_PROCESS, 0, nval);
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_handle.c412 uint64_t nval = *((uint64_t *)naddr); local
415 if (nval == oval)
428 (void) snprintf(s, size, "%llu %s%s%s\n", nval - oval,
429 _dt_droptab[i].dtdrt_str, (nval - oval > 1) ? "s" : "",
434 drop.dtdda_total = nval;
435 drop.dtdda_drops = nval - oval;
/illumos-gate/usr/src/uts/common/syscall/
H A Drctlsys.c223 rctl_val_t *nval; local
266 nval = kmem_cache_alloc(rctl_val_cache, KM_SLEEP);
306 if (ret = rctl_local_get(hndl, NULL, nval, curproc)) {
308 kmem_cache_free(rctl_val_cache, nval);
323 kmem_cache_free(rctl_val_cache, nval);
333 ret = rctl_local_get(hndl, oval, nval, curproc);
340 kmem_cache_free(rctl_val_cache, nval);
348 rctlsys_rblk_xfrm(nblk, krde, nval, RBX_TO_BLK | RBX_VAL | RBX_CTL);
351 kmem_cache_free(rctl_val_cache, nval);
388 rctl_val_t *nval; local
[all...]
/illumos-gate/usr/src/lib/pyzfs/common/
H A Dioctl.c87 nvlist_t *nval; local
101 (void) nvpair_value_nvlist(nvp, &nval);
102 pyval = nvl2py(nval);
/illumos-gate/usr/src/cmd/mdb/sparc/mdb/
H A Dproc_isadep.c522 uintmax_t nval = MDB_TGT_R_NVAL(rnum, flags | MDB_TGT_R_EXPORT); local
526 (void) mdb_nv_insert(nvp, name, NULL, nval, MDB_NV_RDONLY);
/illumos-gate/usr/src/cmd/sed/
H A Dcompile.c552 unsigned long nval; local
589 nval = strtol(p, &p, 10);
590 if (errno == ERANGE || nval > INT_MAX)
592 s->n = nval;
/illumos-gate/usr/src/cmd/awk/
H A Dawk.h101 uchar *nval; /* name, for variables only */ member in struct:Cell
/illumos-gate/usr/src/uts/sun/io/ttymux/
H A Dttymux_ioctl.c357 char *nval, *alias = NULL; local
425 nval = kmem_zalloc(len, KM_SLEEP);
427 ASSERT(strlen(nval) + strlen(aliases[i]) + 1 <= len);
429 (void) strcat(nval, aliases[i]);
432 (void) strcat(nval, " ");
435 sm_dbg('I', ("setprop: %s=%s (%d)\n", pname, nval, len));
437 (void) prom_setprop(onode, pname, nval, len);
439 kmem_free(nval, len);
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_ruleval.c751 void *nval; local
754 nval = appendString2SingleVal(
757 if (nval != 0 && nlen >= 0) {
759 rval->val[j].value = nval;
H A Dldap_val.c1663 __nis_single_value_t *nval; local
1674 nval = val->val;
1692 nval[i].value = trimWhiteSpaces(nval[i].value,
1693 &nval[i].length, 1);
1695 str = nval[i].value;
1697 if (nval[i].value == 0)
1700 for (s = 0; s < nval[i].length; s = e+1) {
1718 sfree(nval[n].value);
1720 free(nval);
2228 __nis_single_value_t *nval; local
[all...]
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dnvdisc.c819 void *nval; local
845 if(!(nval = malloc(size)))
847 memcpy(nval,val,size);
848 return(nval);
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dirpmarshall.c1493 long nval; local
1501 nval = htonl(ne->n_net);
1502 if (inet_ntop(ne->n_addrtype, &nval, nNet, sizeof nNet) == NULL) {
/illumos-gate/usr/src/uts/i86pc/cpu/amd_opteron/
H A Dao_mca.c296 uint64_t val, nval; local
319 nval = val;
320 nval |= AMD_NB_MISC_CNTEN; /* enable ECC error counting */
321 nval &= ~AMD_NB_MISC_ERRCOUNT_MASK; /* clear ErrCount */
322 nval &= ~AMD_NB_MISC_OVRFLW; /* clear Ovrflw */
323 nval &= ~AMD_NB_MISC_INTTYPE_MASK; /* no interrupt on overflow */
324 nval |= AMD_NB_MISC_LOCKED;
326 if (nval != val) {
332 (void) cmi_hdl_wrmsr(hdl, AMD_MSR_NB_MISC, nval);
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_vnic.c1174 uint64_t nval; local
1185 nval = ~(ss->ei_active_vnics);
1186 if (nval == 0)
1194 bitpos = EIB_FIND_LSB_SET(nval);
/illumos-gate/usr/src/cmd/dtrace/
H A Ddtrace.c1115 dtrace_optval_t nval; local
1121 (void) dtrace_getopt(g_dtp, rates[i].optname, &nval);
1123 if (nval == DTRACEOPT_UNSET || nval == 0)
1126 if (rates[i].val == nval)
1129 dir = nval > rates[i].val ? "reduced" : "increased";
1131 if (nval <= NANOSEC && (NANOSEC % nval) == 0) {
1133 (long long)NANOSEC / (long long)nval);
1137 if ((nval
[all...]
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_dyndns.c456 uint16_t nval; local
458 nval = htons(val);
459 (void) memcpy(buf, &nval, sizeof (uint16_t));
467 uint16_t nval; local
469 (void) memcpy(&nval, buf, sizeof (uint16_t));
470 *val = ntohs(nval);
/illumos-gate/usr/src/uts/common/os/
H A Drctl.c1560 rctl_local_op(rctl_hndl_t hndl, rctl_val_t *oval, rctl_val_t *nval, argument
1589 ret = cbop(hndl, p, &e, rctl, oval, nval);
1598 rctl_t *rctl, rctl_val_t *oval, rctl_val_t *nval)
1604 bcopy(rctl->rc_values, nval, sizeof (rctl_val_t));
1616 bcopy(tval->rcv_next, nval, sizeof (rctl_val_t));
1632 rctl_local_get(rctl_hndl_t hndl, rctl_val_t *oval, rctl_val_t *nval, argument
1635 return (rctl_local_op(hndl, oval, nval, rctl_local_get_cb, p));
1641 rctl_t *rctl, rctl_val_t *oval, rctl_val_t *nval)
1643 if ((oval = rctl_val_list_find(&rctl->rc_values, nval)) == NULL)
1690 rctl_t *rctl, rctl_val_t *oval, rctl_val_t *nval)
1597 rctl_local_get_cb(rctl_hndl_t hndl, struct proc *p, rctl_entity_p_t *e, rctl_t *rctl, rctl_val_t *oval, rctl_val_t *nval) argument
1640 rctl_local_delete_cb(rctl_hndl_t hndl, struct proc *p, rctl_entity_p_t *e, rctl_t *rctl, rctl_val_t *oval, rctl_val_t *nval) argument
1689 rctl_local_insert_cb(rctl_hndl_t hndl, struct proc *p, rctl_entity_p_t *e, rctl_t *rctl, rctl_val_t *oval, rctl_val_t *nval) argument
1979 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) argument
2022 rctl_local_replace(rctl_hndl_t hndl, rctl_val_t *oval, rctl_val_t *nval, struct proc *p) argument
[all...]
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Dfme.c1140 uint_t nval; local
1166 nval = atoi(ptr1 + 1);
1168 serdclass, nval);
1204 nval = atoi(s);
1220 nval = serdn;
1234 nval = (uint_t)nN->u.ull;
1254 fmd_serd_create(hdl, serdname, nval, tval);
/illumos-gate/usr/src/uts/common/nfs/
H A Dnfs4.h1148 uint_t nval; member in struct:nfs4_ntov_map
/illumos-gate/usr/src/uts/common/dtrace/
H A Ddtrace.c553 uint32_t oval, nval; local
558 if ((nval = oval + 1) == 0) {
573 nval = 1;
575 } while (dtrace_cas32(counter, oval, nval) != oval);
2210 dtrace_aggregate_min(uint64_t *oval, uint64_t nval, uint64_t arg) argument
2212 if ((int64_t)nval < (int64_t)*oval)
2213 *oval = nval;
2218 dtrace_aggregate_max(uint64_t *oval, uint64_t nval, uint64_t arg) argument
2220 if ((int64_t)nval > (int64_t)*oval)
2221 *oval = nval;
2225 dtrace_aggregate_quantize(uint64_t *quanta, uint64_t nval, uint64_t incr) argument
2253 dtrace_aggregate_lquantize(uint64_t *lquanta, uint64_t nval, uint64_t incr) argument
2342 dtrace_aggregate_llquantize(uint64_t *llquanta, uint64_t nval, uint64_t incr) argument
2356 dtrace_aggregate_avg(uint64_t *data, uint64_t nval, uint64_t arg) argument
2364 dtrace_aggregate_stddev(uint64_t *data, uint64_t nval, uint64_t arg) argument
2389 dtrace_aggregate_count(uint64_t *oval, uint64_t nval, uint64_t arg) argument
2396 dtrace_aggregate_sum(uint64_t *oval, uint64_t nval, uint64_t arg) argument
[all...]
/illumos-gate/usr/src/uts/common/io/cxgbe/firmware/
H A Dt4fw_interface.h2996 __be16 nval; member in struct:fw_ldst_cmd::fw_ldst::fw_ldst_le

Completed in 343 milliseconds