/illumos-gate/usr/src/uts/intel/io/vmm/io/ |
H A D | vhpet.c | 330 struct vhpet_timer *timer = &vhpet->timer[n]; in vhpet_start_timer() local 334 if (timer->comprate != 0) in vhpet_start_timer() 346 timer->compval - counter); in vhpet_start_timer() 348 callout_reset_hrtime(&timer->callout, timer->callout_expire, in vhpet_start_timer() 711 arg = &vhpet->timer[i].arg; in vhpet_init() 751 struct vhpet_timer *timer = &vhpet->timer[i]; in vhpet_pause() local 763 struct vhpet_timer *timer = &vhpet->timer[i]; in vhpet_resume() local 790 const struct vhpet_timer *timer = &vhpet->timer[i]; in vhpet_data_read() local 800 timer->callout_expire); in vhpet_data_read() 910 struct vhpet_timer *timer = &vhpet->timer[i]; in vhpet_data_write() local [all …]
|
/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_miscdefs.h | 99 #define SIP_SET_TIMEOUT(timer, time) { \ argument 108 #define SIP_INIT_TIMER(timer, time) { \ argument 109 SIP_SET_TIMEOUT(timer, time); \ 110 (timer).sip_timerid = 0; \ 115 (func), &((timer).sip_timeout_val)); \ 118 #define SIP_CANCEL_TIMER(timer) { \ argument 119 if ((timer).sip_timerid != 0) { \ 121 (timer).sip_timerid = 0; \ 126 #define SIP_GET_TIMEOUT(timer) \ argument 128 (timer).sip_timeout_val.tv_usec / MILLISEC) [all …]
|
/illumos-gate/usr/src/lib/libresolv2/common/isc/ |
H A D | ev_timers.c | 53 evTimer * timer; member 264 if (heap_element(ctx->timers, timer->index) != timer) in evConfigTimer() 290 if (heap_element(ctx->timers, timer->index) != timer) in evResetTimer() 310 old_due = timer->due; in evResetTimer() 312 timer->func = func; in evResetTimer() 313 timer->uap = uap; in evResetTimer() 314 timer->due = due; in evResetTimer() 315 timer->inter = inter; in evResetTimer() 436 evTimer *timer; in set_index() local 438 timer = what; in set_index() [all …]
|
H A D | ev_streams.c | 121 evTimeRW(evContext opaqueCtx, evStreamID id, evTimerID timer) /*ARGSUSED*/ { in evTimeRW() argument 126 str->timer = timer; in evTimeRW() 265 evTouchIdleTimer(opaqueCtx, str->timer); in writable() 288 evTouchIdleTimer(opaqueCtx, str->timer); in readable()
|
/illumos-gate/usr/src/lib/libc/port/rt/ |
H A D | clock_timer.c | 160 int timer; in postfork1_child_sigev_timer() local 162 for (timer = 0; timer < timer_max; timer++) { in postfork1_child_sigev_timer() 163 if ((tcdp = timer_tcd[timer]) != NULL) { in postfork1_child_sigev_timer() 164 timer_tcd[timer] = NULL; in postfork1_child_sigev_timer()
|
H A D | sigev_thread.c | 548 del_sigev_timer(timer_t timer) in del_sigev_timer() argument 553 if ((uint_t)timer < timer_max && (tcdp = timer_tcd[timer]) != NULL) { in del_sigev_timer() 558 dprintf("del_sigev_timer(%d) OK.\n", timer); in del_sigev_timer() 561 timer_tcd[timer] = NULL; in del_sigev_timer() 568 sigev_timer_getoverrun(timer_t timer) in sigev_timer_getoverrun() argument 572 if ((uint_t)timer < timer_max && (tcdp = timer_tcd[timer]) != NULL) in sigev_timer_getoverrun()
|
H A D | sigev_thread.h | 67 } timer; member 78 #define tcd_overruns tcd_object.timer.overruns
|
/illumos-gate/usr/src/uts/common/netinet/ |
H A D | igmp_var.h | 67 #define MCAST_RANDOM_DELAY(timer, maxticks) \ argument 69 (void) random_get_pseudo_bytes((uint8_t *)&(timer), sizeof (uint_t)); \ 70 (timer) = ((uint_t)(timer) % (maxticks)) + 1
|
/illumos-gate/usr/src/uts/common/io/chxge/ |
H A D | glue.c | 483 cyclic->timer = 0; in ch_init_cyclic() 496 if (cyclic->timer != 0) { in ch_cyclic() 498 cyclic->timer = timeout((void(*)(void *))ch_cyclic, in ch_cyclic() 510 if (cyclic->timer == 0) { in ch_start_cyclic() 511 cyclic->timer = timeout((void(*)(void *))ch_cyclic, in ch_start_cyclic() 522 timeout_id_t timer; in ch_stop_cyclic() local 526 timer = cyclic->timer; in ch_stop_cyclic() 527 cyclic->timer = 0; in ch_stop_cyclic() 528 value = untimeout(timer); in ch_stop_cyclic() 531 } while ((timer != 0) && (value == 0)); in ch_stop_cyclic()
|
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | hpet_acpi.c | 418 hpet_timer_set_up(&hpet_info, hpet_info.cstate_timer.timer, in hpet_init_proxy() 760 int timer; in hpet_get_IOAPIC_intr_capable_timer() local 763 for (timer = HPET_FIRST_NON_LEGACY_TIMER; in hpet_get_IOAPIC_intr_capable_timer() 764 timer < hip->gen_cap.num_tim_cap; ++timer) { in hpet_get_IOAPIC_intr_capable_timer() 765 if (!hpet_timer_available(hip->allocated_timers, timer)) in hpet_get_IOAPIC_intr_capable_timer() 770 PRM_DEBUG(timer); in hpet_get_IOAPIC_intr_capable_timer() 774 hpet_timer_alloc(&hip->allocated_timers, timer); in hpet_get_IOAPIC_intr_capable_timer() 775 hip->cstate_timer.timer = timer; in hpet_get_IOAPIC_intr_capable_timer() 777 return (timer); in hpet_get_IOAPIC_intr_capable_timer() 859 hpet_write_timer_N_comp(hip, timer, program); in hpet_timer_program() [all …]
|
/illumos-gate/usr/src/test/os-tests/tests/timer/ |
H A D | timer_limit.c | 32 mktimer(timer_t *timer) in mktimer() argument 37 sev.sigev_value.sival_ptr = timer; in mktimer() 39 return (timer_create(CLOCK_MONOTONIC, &sev, timer)); in mktimer()
|
/illumos-gate/usr/src/uts/common/ipp/flowacct/ |
H A D | flowacctddi.c | 187 uint32_t timer = FLOWACCT_DEF_TIMER; in flowacct_create_action() local 229 (void) nvlist_lookup_uint32(nvlp, FLOWACCT_TIMER, &timer); in flowacct_create_action() 232 flowacct_data->timer = (uint64_t)timer * FLOWACCT_MSEC_TO_USEC; in flowacct_create_action() 288 uint32_t timeout, timer, bstats, max_limit; in flowacct_modify_action() local 354 if ((rc = nvlist_lookup_uint32(nvlp, FLOWACCT_TIMER, &timer)) == 0) { in flowacct_modify_action() 355 flowacct_data->timer = (uint64_t)timer * FLOWACCT_MSEC_TO_USEC; in flowacct_modify_action() 496 param = flowacct_data->timer / FLOWACCT_MSEC_TO_USEC; in flowacct_info()
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hpi_vir.c | 143 uint8_t timer) in hpi_intr_ldg_mgmt_set() argument 153 if (!LD_INTTIMER_VALID(timer)) { in hpi_intr_ldg_mgmt_set() 156 " timer <0x%x>", timer)); in hpi_intr_ldg_mgmt_set() 167 mgm.bits.timer = timer; in hpi_intr_ldg_mgmt_set()
|
/illumos-gate/usr/src/cmd/bhyve/test/tests/mevent/ |
H A D | read_pause.c | 107 struct mevent *evp, *timer; in main() local 136 timer = mevent_add(10, EVF_TIMER, tick, in main() 138 ASSERT_PTR_NEQ(("mevent_add timer"), timer, NULL); in main()
|
H A D | read_disable.c | 105 struct mevent *timer; in main() local 145 timer = mevent_add(50, EVF_TIMER, tick, msg); in main() 146 ASSERT_PTR_NEQ(("mevent_add timer"), timer, NULL); in main()
|
/illumos-gate/usr/src/uts/common/inet/ilb/ |
H A D | ilb_conn.c | 215 ilbs = timer->ilbs; in ilb_conn_cleanup() 220 for (i = timer->start; i < timer->end; i++) { in ilb_conn_cleanup() 286 mutex_enter(&timer->tid_lock); in ilb_conn_timer() 287 if (timer->tid == 0) { in ilb_conn_timer() 288 mutex_exit(&timer->tid_lock); in ilb_conn_timer() 292 mutex_exit(&timer->tid_lock); in ilb_conn_timer() 1325 ilbs = timer->ilbs; in ilb_sticky_cleanup() 1330 for (i = timer->start; i < timer->end; i++) { in ilb_sticky_cleanup() 1356 mutex_enter(&timer->tid_lock); in ilb_sticky_timer() 1357 if (timer->tid == 0) { in ilb_sticky_timer() [all …]
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/java_api/src/ |
H A D | TestDrop.java | 50 final Timer timer = new Timer(); in startTimer() local 51 timer.schedule(new TimerTask() { in startTimer() 54 timer.cancel(); in startTimer()
|
/illumos-gate/usr/src/uts/i86pc/sys/ |
H A D | hpet_acpi.h | 186 #define HPET_INTR_STATUS_MASK(timer) ((uint64_t)1 << (timer)) argument 240 int timer; member
|
/illumos-gate/usr/src/uts/common/io/1394/adapters/ |
H A D | hci1394_tlist.c | 71 hci1394_tlist_init(hci1394_drvinfo_t *drvinfo, hci1394_tlist_timer_t *timer, in hci1394_tlist_init() argument 90 if (timer == NULL) { in hci1394_tlist_init() 93 ASSERT(timer->tlt_callback != NULL); in hci1394_tlist_init() 95 list->tl_timer_info = *timer; in hci1394_tlist_init()
|
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/ |
H A D | SystemMonitor.java | 40 import com.sun.solaris.service.timer.*; 88 private RecurringEventTimer timer; field in SystemMonitor 150 timer = new SimpleRecurringEventTimer(interval); in initialize() 237 timer.waitUntilNextFiring(); in getNext()
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | igmp.c | 489 int timer; in igmp_query_in() local 604 if (ilm->ilm_timer > timer) { in igmp_query_in() 654 timer = DSEC_TO_MSEC(mrd); in igmpv3_query_in() 771 uint_t timer; in igmp_joingroup() local 820 timer = ilm->ilm_rtx.rtx_timer; in igmp_joingroup() 842 (int)ntohl(timer)); in igmp_joingroup() 853 uint_t timer; in mld_joingroup() local 901 timer = ilm->ilm_rtx.rtx_timer; in mld_joingroup() 923 (int)ntohl(timer)); in mld_joingroup() 2204 int timer; in mld_query_in() local [all …]
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_init.c | 257 uint32_t timer; in ql_pci_sbus_config() local 293 for (timer = 0; timer < 30000; timer++) { in ql_pci_sbus_config() 315 for (timer = 0; timer < 30000; timer++) { in ql_pci_sbus_config() 2819 for (timer = 3000; timer; timer--) { in ql_init_rings() 3934 for (timer = 0; timer < 30000; timer++) { in ql_reset_24xx_chip() 3953 for (timer = 0; timer < 30000; timer++) { in ql_reset_24xx_chip() 3970 for (timer = 30000; timer; timer--) { in ql_reset_24xx_chip() 3988 for (timer = 0; timer < 30000; timer++) { in ql_reset_24xx_chip() 4019 for (timer = 0; timer < 30000; timer++) { in ql_reset_24xx_chip() 4474 int timer; in ql_vport_enable() local [all …]
|
/illumos-gate/usr/src/uts/common/io/net80211/ |
H A D | net80211_output.c | 105 int type, int timer) in ieee80211_mgmt_output() argument 118 if (timer > 0) { in ieee80211_mgmt_output() 122 im->im_mgt_timer = timer; in ieee80211_mgmt_output() 487 int timer; in ieee80211_send_mgmt() local 492 timer = 0; in ieee80211_send_mgmt() 648 timer = IEEE80211_TRANS_WAIT; in ieee80211_send_mgmt() 731 timer = IEEE80211_TRANS_WAIT; in ieee80211_send_mgmt() 785 ret = ieee80211_mgmt_output(ic, in, mp, type, timer); in ieee80211_send_mgmt()
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | Makefile.solaris | 23 libdrivers_a-timer.o 134 tftp.h tg3.c tg3.h timer.c timer.h tlan.c tlan.h tulip.c \
|
/illumos-gate/usr/src/cmd/pools/poold/ |
H A D | Makefile | 44 com/sun/solaris/service/timer \ 75 com.sun.solaris.service.timer \
|