Home
last modified time | relevance | path

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

/titanic_50/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 \
/titanic_50/usr/src/uts/common/syscall/
H A Drctlsys.c317 rctl_val_t *oval; in rctlsys_get() local
329 oval = kmem_cache_alloc(rctl_val_cache, KM_SLEEP); in rctlsys_get()
331 rctlsys_rblk_xfrm(oblk, NULL, oval, RBX_FROM_BLK | RBX_VAL); in rctlsys_get()
333 ret = rctl_local_get(hndl, oval, nval, curproc); in rctlsys_get()
336 kmem_cache_free(rctl_val_cache, oval); in rctlsys_get()
398 rctl_val_t *oval; in rctlsys_set() local
449 oval = kmem_cache_alloc(rctl_val_cache, KM_SLEEP); in rctlsys_set()
565 rctlsys_rblk_xfrm(oblk, NULL, oval, RBX_FROM_BLK | RBX_VAL); in rctlsys_set()
567 if (rctl_invalid_value(rde, oval)) { in rctlsys_set()
572 if (oval->rcv_privilege == RCPRIV_BASIC) { in rctlsys_set()
[all …]
/titanic_50/usr/src/uts/common/io/
H A Deventfd.c91 uint64_t val, oval; in eventfd_read() local
118 val = oval = state->efd_value; in eventfd_read()
131 if (oval == EVENTFD_VALMAX) { in eventfd_read()
145 uint64_t val, oval; in eventfd_write() local
176 state->efd_value = (oval = state->efd_value) + val; in eventfd_write()
180 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()
/titanic_50/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()
/titanic_50/usr/src/uts/common/inet/ip/
H A Dtn_ipopt.c556 int remlen, olen, oval, delta; in tsol_remove_secopt() local
564 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()
[all …]
/titanic_50/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()
/titanic_50/usr/src/lib/libdtrace/common/
H A Ddt_handle.c413 uint64_t oval = *((uint64_t *)oaddr); 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()
435 drop.dtdda_drops = nval - oval; in dt_handle_status()
/titanic_50/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()
/titanic_50/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()
/titanic_50/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_configfile.c274 int ch, oval, badquote; in lex() local
351 oval = 0; in lex()
354 oval = (oval << 3) + ch; in lex()
359 if (oval > 127) { in lex()
363 *cp++ = (char)oval; in lex()
/titanic_50/usr/src/uts/common/os/
H A Drctl.c1560 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
1600 if (oval == NULL) { in rctl_local_get_cb()
1609 rctl_val_t *tval = rctl_val_list_find(&rctl->rc_values, oval); 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()
1646 if (rctl->rc_cursor == oval) { in rctl_local_delete_cb()
[all …]
H A Dtimer.c752 timer_settime(timer_t tid, int flags, itimerspec_t *val, itimerspec_t *oval) in timer_settime() argument
759 if (oval != NULL) { in timer_settime()
760 if ((error = timer_gettime(tid, oval)) != 0) in timer_settime()
H A Dmodsysfile.c208 int ch, oval, badquote; in kobj_lex() local
295 oval = 0; in kobj_lex()
298 oval = (oval << 3) + ch; in kobj_lex()
303 if (oval > 127) { in kobj_lex()
308 *cp++ = (char)oval; in kobj_lex()
H A Dzone.c3857 rctl_val_t oval; in zsched() local
3860 error = rctl_local_get(hndl, NULL, &oval, pp); in zsched()
3863 ASSERT(oval.rcv_privilege != RCPRIV_BASIC); in zsched()
3864 if (oval.rcv_privilege == RCPRIV_SYSTEM) in zsched()
3867 error = rctl_local_delete(hndl, &oval, pp); in zsched()
/titanic_50/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()
/titanic_50/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()
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/routeadm/
H A Drouteadm.c2447 oval_t oval, d_oval; in ra_parseopt() local
2455 if ((oval = ra_str2oval(confstr)) == OPT_INVALID) { in ra_parseopt()
2462 if (oval != OPT_DEFAULT) in ra_parseopt()
2463 raopt->opt_enabled = oval == OPT_ENABLED; in ra_parseopt()
2480 if (oval == OPT_DEFAULT) in ra_parseopt()
2493 if (ra_smf_cb(oval == OPT_DEFAULT ? ra_routing_opt_unset_cb : in ra_parseopt()
/titanic_50/usr/src/lib/libscf/common/
H A Dlowlevel.c7042 uint_t oval; in scf_encode32() local
7101 oval = (in[0] << 2) & 0x1c; in scf_encode32()
7103 *out++ = base32[oval]; in scf_encode32()
7107 oval |= in[1] >> 6; in scf_encode32()
7108 *out++ = base32[oval]; in scf_encode32()
7115 oval = (in[1] << 4) & 0x10; in scf_encode32()
7117 *out++ = base32[oval]; in scf_encode32()
7121 oval |= in[2] >> 4; in scf_encode32()
7122 *out++ = base32[oval]; in scf_encode32()
7127 oval = (in[2] << 1) & 0x1e; in scf_encode32()
[all …]
/titanic_50/usr/src/uts/common/dtrace/
H A Ddtrace.c541 uint32_t oval, nval; in dtrace_error() local
544 oval = *counter; in dtrace_error()
546 if ((nval = oval + 1) == 0) { in dtrace_error()
563 } while (dtrace_cas32(counter, oval, nval) != oval); in dtrace_error()
2092 dtrace_aggregate_min(uint64_t *oval, uint64_t nval, uint64_t arg) in dtrace_aggregate_min() argument
2094 if ((int64_t)nval < (int64_t)*oval) in dtrace_aggregate_min()
2095 *oval = nval; in dtrace_aggregate_min()
2100 dtrace_aggregate_max(uint64_t *oval, uint64_t nval, uint64_t arg) in dtrace_aggregate_max() argument
2102 if ((int64_t)nval > (int64_t)*oval) in dtrace_aggregate_max()
2103 *oval = nval; in dtrace_aggregate_max()
[all …]
/titanic_50/usr/src/cmd/look/
H A Dwords16402 oval
/titanic_50/usr/src/cmd/spell/
H A Dlist16400 oval