Home
last modified time | relevance | path

Searched refs:oval (Results 1 – 23 of 23) sorted by relevance

/illumos-gate/usr/src/test/util-tests/tests/dladm/
H A Dset-linkprop.ksh78 typeset oval
83 oval=$(dladm show-linkprop -c -o value -p $prop $dev | tr -d ' ')
85 [[ "$val" == "$oval" ]] || fatal \
86 "$prop mismatch on $dev: expected $val, got $oval"
97 typeset oval
103 oval=$(awk "/^$dev/ { print \$2 }" $DL_FILE | \
107 [[ "$val" == "$oval" ]] || fatal \
108 "persistent $prop mismatch on $dev: expected $val, got $oval"
122 oval=$(awk "/^$dev/ { print \$2 }" $DL_FILE | \
127 [[ -z "$oval" ]] || fatal \
/illumos-gate/usr/src/uts/common/syscall/
H A Drctlsys.c317 rctl_val_t *oval; in rctlsys_get() local
336 kmem_cache_free(rctl_val_cache, oval); in rctlsys_get()
398 rctl_val_t *oval; in rctlsys_set() local
567 if (rctl_invalid_value(rde, oval)) { in rctlsys_set()
574 oval->rcv_action_recipient = curproc; in rctlsys_set()
578 oval->rcv_action_recipient = NULL; in rctlsys_set()
579 oval->rcv_action_recip_pid = -1; in rctlsys_set()
594 rctl_val_cmp(oval, rval1, 0) == 0) in rctlsys_set()
603 if (rctl_val_cmp(oval, rval1, 1) == 0) in rctlsys_set()
611 bcopy(rval1, oval, sizeof (rctl_val_t)); in rctlsys_set()
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Deventfd.c92 uint64_t val, oval; in eventfd_read() local
119 val = oval = state->efd_value; in eventfd_read()
144 if (oval == EVENTFD_VALMAX) { in eventfd_read()
157 uint64_t val, oval; in eventfd_write() local
191 state->efd_value = (oval = state->efd_value) + val; in eventfd_write()
197 if (oval == 0) { in eventfd_write()
205 if (oval == 0) { in eventfd_write()
H A Dtimerfd.c94 uint64_t oval; in timerfd_fire() local
97 oval = state->tfd_fired++; in timerfd_fire()
100 if (oval == 0) { in timerfd_fire()
252 itimerspec_t when, oval; in timerfd_ioctl() local
335 err = it->it_backend->clk_timer_gettime(it, &oval); in timerfd_ioctl()
379 if ((err = timerfd_copyout(&oval, st.tfd_settime_ovalue)) != 0) in timerfd_ioctl()
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dtn_ipopt.c564 oval = fptr[IPOPT_OPTVAL]; in tsol_remove_secopt()
567 if (oval == IPOPT_EOL) in tsol_remove_secopt()
574 if (oval == IPOPT_NOP) { in tsol_remove_secopt()
578 *tptr++ = oval; in tsol_remove_secopt()
592 if (oval == IPOPT_COMSEC || oval == IPOPT_SECURITY) { in tsol_remove_secopt()
644 int oval, olen; in tsol_prepend_option() local
662 oval = optr[IPOPT_OPTVAL]; in tsol_prepend_option()
665 if (oval == IPOPT_EOL) in tsol_prepend_option()
669 if (oval == IPOPT_NOP) { in tsol_prepend_option()
738 if (oval == IPOPT_NOP) { in tsol_prepend_option()
[all …]
/illumos-gate/usr/src/cmd/tr/
H A Dcset.c69 wchar_t oval; in cset_add() local
122 oval = ncsn->csn_left->csn_min; in cset_add()
125 ncsn->csn_min = oval; in cset_add()
132 oval = ncsn->csn_right->csn_max; in cset_add()
135 ncsn->csn_max = oval; in cset_add()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dcrypt.c343 char *oval; in getval() local
352 oval = strdup(tmp + 1); /* everything after the "=" */ in getval()
353 if (oval == NULL) in getval()
355 off = strlen(oval) - 1; in getval()
357 free(oval); in getval()
360 if (oval[off] == '\n') in getval()
361 oval[off] = '\0'; in getval()
363 return (oval); in getval()
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_handle.c411 uint64_t oval = *((uint64_t *)oaddr); 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()
433 drop.dtdda_drops = nval - oval; in dt_handle_status()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_init.c279 static void pack_int32(prof_int32 oval, unsigned char **bufpp, size_t *remainp) in pack_int32() argument
281 (*bufpp)[0] = (unsigned char) ((oval >> 24) & 0xff); in pack_int32()
282 (*bufpp)[1] = (unsigned char) ((oval >> 16) & 0xff); in pack_int32()
283 (*bufpp)[2] = (unsigned char) ((oval >> 8) & 0xff); in pack_int32()
284 (*bufpp)[3] = (unsigned char) (oval & 0xff); in pack_int32()
/illumos-gate/usr/src/lib/libsasl/lib/
H A Dsaslutil.c127 unsigned char oval; in sasl_encode64() local
163 oval = (in[0] << 4) & 0x30; in sasl_encode64()
164 if (inlen > 1) oval |= in[1] >> 4; in sasl_encode64()
165 *out++ = basis_64[oval]; in sasl_encode64()
/illumos-gate/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_configfile.c272 int ch, oval, badquote; in lex() local
349 oval = 0; in lex()
352 oval = (oval << 3) + ch; in lex()
357 if (oval > 127) { in lex()
361 *cp++ = (char)oval; in lex()
/illumos-gate/usr/src/uts/common/os/
H A Drctl.c1587 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
1598 if (oval == NULL) { in rctl_local_get_cb()
1639 rctl_t *rctl, rctl_val_t *oval, rctl_val_t *nval) in rctl_local_delete_cb() argument
1644 if (rctl->rc_cursor == oval) { in rctl_local_delete_cb()
1645 rctl->rc_cursor = oval->rcv_next; in rctl_local_delete_cb()
1653 (void) rctl_val_list_delete(&rctl->rc_values, oval); in rctl_local_delete_cb()
1688 rctl_t *rctl, rctl_val_t *oval, rctl_val_t *nval) in rctl_local_insert_cb() argument
1978 rctl_t *rctl, rctl_val_t *oval, rctl_val_t *nval) in rctl_local_replace_cb() argument
1984 tmp = rctl_val_list_find(&rctl->rc_values, oval); in rctl_local_replace_cb()
[all …]
H A Dtimer.c840 timer_settime(timer_t tid, int flags, itimerspec_t *val, itimerspec_t *oval) in timer_settime() argument
847 if (oval != NULL) { in timer_settime()
848 if ((error = timer_gettime(tid, oval)) != 0) in timer_settime()
H A Dmodsysfile.c217 int ch, oval, badquote; in kobj_lex() local
304 oval = 0; in kobj_lex()
307 oval = (oval << 3) + ch; in kobj_lex()
312 if (oval > 127) { in kobj_lex()
317 *cp++ = (char)oval; in kobj_lex()
H A Dzone.c4015 rctl_val_t oval; in zsched() local
4018 error = rctl_local_get(hndl, NULL, &oval, pp); in zsched()
4021 ASSERT(oval.rcv_privilege != RCPRIV_BASIC); in zsched()
4022 if (oval.rcv_privilege == RCPRIV_SYSTEM) in zsched()
4025 error = rctl_local_delete(hndl, &oval, pp); in zsched()
/illumos-gate/usr/src/lib/cfgadm_plugins/ib/common/
H A Dcfga_conf.c146 int ch, oval, badquote; in ib_lex() local
221 oval = 0; in ib_lex()
224 oval = (oval << 3) + ch; in ib_lex()
229 if (oval > 127) { in ib_lex()
233 *cp++ = (char)oval; in ib_lex()
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevfsmap.c193 int ch, oval, badquote; in lex() local
281 oval = 0; in lex()
284 oval = (oval << 3) + ch; in lex()
289 if (oval > 127) { in lex()
294 *cp++ = (char)oval; in lex()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/routeadm/
H A Drouteadm.c2445 oval_t oval, d_oval; in ra_parseopt() local
2453 if ((oval = ra_str2oval(confstr)) == OPT_INVALID) { in ra_parseopt()
2460 if (oval != OPT_DEFAULT) in ra_parseopt()
2461 raopt->opt_enabled = oval == OPT_ENABLED; in ra_parseopt()
2478 if (oval == OPT_DEFAULT) in ra_parseopt()
2491 if (ra_smf_cb(oval == OPT_DEFAULT ? ra_routing_opt_unset_cb : in ra_parseopt()
/illumos-gate/usr/src/lib/libscf/common/
H A Dlowlevel.c7114 uint_t oval; in scf_encode32() local
7173 oval = (in[0] << 2) & 0x1c; in scf_encode32()
7175 *out++ = base32[oval]; in scf_encode32()
7179 oval |= in[1] >> 6; in scf_encode32()
7180 *out++ = base32[oval]; in scf_encode32()
7189 *out++ = base32[oval]; in scf_encode32()
7193 oval |= in[2] >> 4; in scf_encode32()
7194 *out++ = base32[oval]; in scf_encode32()
7201 *out++ = base32[oval]; in scf_encode32()
7205 oval |= in[3] >> 7; in scf_encode32()
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dsimplify.c699 unsigned long long oval = src2->value; in simplify_mask_or() local
700 unsigned long long nval = oval & mask; in simplify_mask_or()
711 if (nval != oval && !multi_users(or->target)) { in simplify_mask_or()
/illumos-gate/usr/src/uts/common/dtrace/
H A Ddtrace.c567 uint32_t oval, nval; in dtrace_error() local
570 oval = *counter; in dtrace_error()
572 if ((nval = oval + 1) == 0) { in dtrace_error()
589 } while (dtrace_cas32(counter, oval, nval) != oval); in dtrace_error()
2224 dtrace_aggregate_min(uint64_t *oval, uint64_t nval, uint64_t arg) in dtrace_aggregate_min() argument
2226 if ((int64_t)nval < (int64_t)*oval) in dtrace_aggregate_min()
2227 *oval = nval; in dtrace_aggregate_min()
2234 if ((int64_t)nval > (int64_t)*oval) in dtrace_aggregate_max()
2235 *oval = nval; in dtrace_aggregate_max()
2405 *oval = *oval + 1; in dtrace_aggregate_count()
[all …]
/illumos-gate/usr/src/cmd/look/
H A Dwords16400 oval
/illumos-gate/usr/src/cmd/spell/
H A Dlist16398 oval