Home
last modified time | relevance | path

Searched refs:tval (Results 1 – 25 of 39) sorted by last modified time

12

/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_mbox.h287 uint8_t tval; member
296 uint8_t tval; member
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_mbox.c2052 mb->un.varCfgRing.rrRegs[i].tval = in emlxs_mb_config_ring()
/illumos-gate/usr/src/cmd/oawk/
H A Dawk.def66 unsigned tval; /* type info */
78 /* CELL.tval values: */
147 #define isstr(n) (n->tval & STR)
148 #define isnum(n) (n->tval & NUM)
H A Dlib.c140 recloc->tval &= ~NUM; in getrec()
141 recloc->tval |= STR; in getrec()
143 nrloc->tval &= ~STR; in getrec()
144 nrloc->tval |= NUM; in getrec()
235 if (!(fldtab[i].tval&FLD)) in fldbld()
238 fldtab[i].tval = FLD | STR; in fldbld()
254 if (!(fldtab[i].tval&FLD)) in fldbld()
268 if (!(p->tval&FLD)) in fldbld()
270 p->tval = STR | FLD; in fldbld()
279 fldtab[i].tval |= NUM; in fldbld()
[all …]
H A Drun.c195 if (!(x->tval&ARR)) { in arrayel()
197 x->tval &= ~STR; in arrayel()
198 x->tval |= ARR; in arrayel()
279 if (x->tval&NUM && y->tval&NUM) { in relop()
328 if (tmps[i].tval == 0) in gettemp()
587 x->tval = STR; in a_sprintf()
678 x->tval |= NUM; in assign()
744 z->tval = STR; in cat()
851 ap->tval &= ~STR; in split()
852 ap->tval |= ARR; in split()
[all …]
H A Dtran.c153 p->tval = t; in setsymtab()
195 if (vp->tval & ARR) in setfval()
230 if (vp->tval & ARR) in setsval()
237 vp->tval &= ~NUM; in setsval()
238 vp->tval |= STR; in setsval()
249 vp->tval &= ~FLD; in setsval()
262 if (vp->tval & ARR) in getfval()
276 vp->tval |= NUM; in getfval()
296 if (vp->tval & ARR) in getsval()
310 vp->tval &= ~FLD; in getsval()
[all …]
/illumos-gate/usr/src/uts/common/io/virtio/
H A Dvirtio_main.c556 uint64_t tval = virtio_get32(vio, o_lo) | in virtio_dev_get64() local
559 if (tval == val) { in virtio_dev_get64()
563 val = tval; in virtio_dev_get64()
/illumos-gate/usr/src/lib/libshare/common/
H A Dlibshare.c343 set_legacy_timestamp(xmlNodePtr root, char *path, uint64_t tval) in set_legacy_timestamp() argument
376 (void) snprintf(tstring, sizeof (tstring), "%lld", tval); in set_legacy_timestamp()
829 #define CHECKTSTAMP(st, tval) stat(SA_LEGACY_DFSTAB, &st) >= 0 && \ argument
830 tval != TSTAMP(st.st_ctim)
837 uint64_t tval = 0; in sa_init_impl() local
917 tval = strtoull(i64, in sa_init_impl()
919 if (CHECKTSTAMP(st, tval)) in sa_init_impl()
990 if (tval == 0) { in sa_init_impl()
/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/
H A Dxgehal-device.c3276 int tval, d, iwl_avg, len_avg, bytes_avg, bytes_hist, d_hist; in __hal_update_bimodal() local
3293 tval = hldev->bimodal_tti[ring_no].timer_val_us; in __hal_update_bimodal()
3350 if ((tval -_STEP) < hldev->config.bimodal_timer_lo_us) in __hal_update_bimodal()
3351 tval = hldev->config.bimodal_timer_lo_us; in __hal_update_bimodal()
3355 tval = hldev->config.bimodal_timer_lo_us; in __hal_update_bimodal()
3374 tval = hldev->config.bimodal_timer_lo_us; in __hal_update_bimodal()
3394 (tval + _STEP) <= hldev->config.bimodal_timer_hi_us) { in __hal_update_bimodal()
3395 tval += _STEP; in __hal_update_bimodal()
3398 tval -= _STEP; in __hal_update_bimodal()
3404 if (tval <= hldev->config.bimodal_timer_lo_us && iwl_avg > 2) in __hal_update_bimodal()
[all …]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/os/
H A Dtimeofday.c50 krb5_int32 tval; in krb5_timeofday() local
60 if (kret = krb5_crypto_us_timeofday(&tval, in krb5_timeofday()
65 if (tval == (krb5_int32) -1) in krb5_timeofday()
72 tval += os_ctx->time_offset; in krb5_timeofday()
73 *timeret = tval; in krb5_timeofday()
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dos-ip.c254 struct timeval tval; local
313 tval.tv_sec = msec / MILLISEC;
314 tval.tv_usec = (MICROSEC / MILLISEC) *
323 tval.tv_sec = 0;
324 tval.tv_usec = 0;
338 (msec != LDAP_X_IO_TIMEOUT_NO_TIMEOUT) ? &tval : NULL)) == 0) {
370 &tval : NULL)) == 0) {
391 if ((tval.tv_sec -=
399 tval.tv_sec = tv_time / NANOSEC;
400 tval.tv_usec = (tv_time % NANOSEC) /
/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_gids.c282 time_t tval; in sip_get_cseq() local
284 tval = time(NULL); in sip_get_cseq()
286 return ((uint32_t)tval); in sip_get_cseq()
292 time_t tval; in sip_get_rseq() local
294 tval = time(NULL); in sip_get_rseq()
296 return ((uint32_t)tval); in sip_get_rseq()
/illumos-gate/usr/src/cmd/sendmail/util/
H A Dmail.local.c525 time_t tval; local
710 (void) time(&tval);
712 from, ctime(&tval));
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/psvc/psvcobj/
H A Dpsvcobj.c2035 int8_t tval; in i_psvc_set_reg_11_1() local
2059 tval = i2cregarg.reg_value; in i_psvc_set_reg_11_1()
2060 tval = tval & ~bytemask; in i_psvc_set_reg_11_1()
2062 tval = 0; in i_psvc_set_reg_11_1()
2064 value = tval | value; in i_psvc_set_reg_11_1()
2085 int8_t tval; in i_psvc_set_reg_11_7() local
2109 tval = i2cregarg.reg_value; in i_psvc_set_reg_11_7()
2110 tval = tval & ~bytemask; in i_psvc_set_reg_11_7()
2112 tval = 0; in i_psvc_set_reg_11_7()
2114 value = tval | value; in i_psvc_set_reg_11_7()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Drepval.c535 int64_t tval; /* temp val holder */ in store_retrieve_rep_vals() local
569 while ((fscanf_ret = fscanf(tfp, "%lld", &tval)) == 1) { in store_retrieve_rep_vals()
571 if ((tval > MAXPID) || (tval <= 0)) { in store_retrieve_rep_vals()
575 if (add_rep_val(vals, tval) == -1) { in store_retrieve_rep_vals()
723 uint64_t tval; /* temp val holder */ in iterate_repository_contracts() local
775 while ((fscanf_ret = fscanf(fp, "%llu", &tval)) == 1) { in iterate_repository_contracts()
777 if (tval == 0) { in iterate_repository_contracts()
782 if ((add_rep_val(uup, tval) == -1) || in iterate_repository_contracts()
783 (add_rep_val(inst->start_ctids, tval) == -1)) { in iterate_repository_contracts()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Ddefs.h113 #define TIME_TO_MSECS(tval) ((tval).tv_sec * 1000 + (tval).tv_usec / 1000) argument
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Druserpass.c69 int tval; member
304 return (t->tval); in token()
/illumos-gate/usr/src/uts/common/syscall/
H A Drctlsys.c401 rctl_val_t *tval; in rctlsys_set() local
597 tval = rval1; in rctlsys_set()
599 rval2 = tval; in rctlsys_set()
714 tval = rval1; in rctlsys_set()
716 rval2 = tval; in rctlsys_set()
/illumos-gate/usr/src/uts/common/os/
H A Drctl.c1607 rctl_val_t *tval = rctl_val_list_find(&rctl->rc_values, oval); in rctl_local_get_cb() local
1609 if (tval == NULL) in rctl_local_get_cb()
1611 else if (tval->rcv_next == NULL) in rctl_local_get_cb()
1614 bcopy(tval->rcv_next, nval, sizeof (rctl_val_t)); in rctl_local_get_cb()
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dst.c8633 int tval = 0; in st_make_cmd() local
8697 tval = un->un_dp->io_timeout; in st_make_cmd()
8733 tval = un->un_dp->io_timeout; in st_make_cmd()
8747 tval = un->un_dp->io_timeout; in st_make_cmd()
8755 tval = un->un_dp->io_timeout; in st_make_cmd()
8790 tval = un->un_dp->rewind_timeout; in st_make_cmd()
8809 tval = un->un_dp->space_timeout; in st_make_cmd()
8822 tval = un->un_dp->space_timeout; in st_make_cmd()
8833 tval = un->un_dp->load_timeout; in st_make_cmd()
8987 ASSERT(tval); in st_make_cmd()
[all …]
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Dfme.c1148 hrtime_t tval; in serd_eval() local
1247 tval = (hrtime_t)nT->u.ull; in serd_eval()
1258 tval = strtoull(ptr, NULL, 0) * (ullp ? *ullp : 1ll); in serd_eval()
1261 fmd_serd_create(hdl, serdname, nval, tval); in serd_eval()
/illumos-gate/usr/src/uts/sun4u/opl/io/
H A Doplkmdrv.c1069 clock_t tval; in okm_timeout_val() local
1074 tval = OKM_SM_TOUT; in okm_timeout_val()
1076 tval = OKM_LG_TOUT; in okm_timeout_val()
1078 return (drv_usectohz(tval)); in okm_timeout_val()
H A Ddm2s.c1228 clock_t tval; in dm2s_timeout_val() local
1233 tval = DM2S_SM_TOUT; in dm2s_timeout_val()
1235 tval = DM2S_LG_TOUT; in dm2s_timeout_val()
1237 return (drv_usectohz(tval)); in dm2s_timeout_val()
/illumos-gate/usr/src/uts/sun4u/javelin/io/
H A Denvctrltwo.c1703 int tval; in envctrl_check_tempr_levels() local
1708 tval = ((int)data[i] * JAV_FAN_SPEED_SF_NUM) / in envctrl_check_tempr_levels()
1710 if (tval > 255) in envctrl_check_tempr_levels()
1713 unitp->fan_kstats.fanspeed = tval; in envctrl_check_tempr_levels()
1769 tval = ((int)buf[1] * JAV_FAN_SPEED_SF_NUM) / in envctrl_check_tempr_levels()
1771 if (tval > 255) in envctrl_check_tempr_levels()
1774 unitp->fan_kstats.fanspeed = tval; in envctrl_check_tempr_levels()
1815 int tval; in envctrl_update_fanspeed() local
1825 tval = ((int)buf[ENVCTRL_PORT1] * JAV_FAN_SPEED_SF_NUM) / in envctrl_update_fanspeed()
1827 if (tval > 255) in envctrl_update_fanspeed()
[all …]
/illumos-gate/usr/src/uts/sun/io/dada/targets/
H A Ddad.c2234 int flags, tval; in make_dcd_cmd() local
2357 tval = dcd_io_time; in make_dcd_cmd()
2392 tval = dcd_io_time; in make_dcd_cmd()
2394 tval = scmd->udcd_timeout; in make_dcd_cmd()
2401 pkt->pkt_time = tval; in make_dcd_cmd()

12