Home
last modified time | relevance | path

Searched refs:timer (Results 1 – 25 of 123) sorted by relevance

12345

/illumos-gate/usr/src/uts/intel/io/vmm/io/
H A Dvhpet.c328 struct vhpet_timer *timer = &vhpet->timer[n]; in vhpet_start_timer() local
330 if (timer->comprate != 0) in vhpet_start_timer()
342 timer->compval - counter); in vhpet_start_timer()
344 callout_reset_hrtime(&timer->callout, timer->callout_expire, in vhpet_start_timer()
423 vhpet->timer[n].comprate = 0; in vhpet_timer_update_config()
658 data = vhpet->timer[i].msireg; in vhpet_mmio_read()
707 arg = &vhpet->timer[i].arg; in vhpet_init()
758 const struct vhpet_timer *timer = &vhpet->timer[i]; in vhpet_data_read() local
768 timer->callout_expire); in vhpet_data_read()
878 struct vhpet_timer *timer = &vhpet->timer[i]; in vhpet_data_write() local
[all …]
/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_miscdefs.h101 #define SIP_SET_TIMEOUT(timer, time) { \ argument
110 #define SIP_INIT_TIMER(timer, time) { \ argument
111 SIP_SET_TIMEOUT(timer, time); \
112 (timer).sip_timerid = 0; \
117 (func), &((timer).sip_timeout_val)); \
120 #define SIP_CANCEL_TIMER(timer) { \ argument
121 if ((timer).sip_timerid != 0) { \
123 (timer).sip_timerid = 0; \
128 #define SIP_GET_TIMEOUT(timer) \ argument
130 (timer).sip_timeout_val.tv_usec / MILLISEC)
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dev_timers.c53 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 Dev_streams.c121 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 Dclock_timer.c160 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 Dsigev_thread.c550 del_sigev_timer(timer_t timer) in del_sigev_timer() argument
555 if ((uint_t)timer < timer_max && (tcdp = timer_tcd[timer]) != NULL) { in del_sigev_timer()
560 dprintf("del_sigev_timer(%d) OK.\n", timer); in del_sigev_timer()
563 timer_tcd[timer] = NULL; in del_sigev_timer()
570 sigev_timer_getoverrun(timer_t timer) in sigev_timer_getoverrun() argument
574 if ((uint_t)timer < timer_max && (tcdp = timer_tcd[timer]) != NULL) in sigev_timer_getoverrun()
H A Dsigev_thread.h69 } timer; member
80 #define tcd_overruns tcd_object.timer.overruns
/illumos-gate/usr/src/uts/common/netinet/
H A Digmp_var.h69 #define MCAST_RANDOM_DELAY(timer, maxticks) \ argument
71 (void) random_get_pseudo_bytes((uint8_t *)&(timer), sizeof (uint_t)); \
72 (timer) = ((uint_t)(timer) % (maxticks)) + 1
/illumos-gate/usr/src/uts/common/io/chxge/
H A Dglue.c483 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 Dhpet_acpi.c418 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 Dtimer_limit.c32 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 Dflowacctddi.c189 uint32_t timer = FLOWACCT_DEF_TIMER; in flowacct_create_action() local
231 (void) nvlist_lookup_uint32(nvlp, FLOWACCT_TIMER, &timer); in flowacct_create_action()
234 flowacct_data->timer = (uint64_t)timer * FLOWACCT_MSEC_TO_USEC; in flowacct_create_action()
290 uint32_t timeout, timer, bstats, max_limit; in flowacct_modify_action() local
356 if ((rc = nvlist_lookup_uint32(nvlp, FLOWACCT_TIMER, &timer)) == 0) { in flowacct_modify_action()
357 flowacct_data->timer = (uint64_t)timer * FLOWACCT_MSEC_TO_USEC; in flowacct_modify_action()
498 param = flowacct_data->timer / FLOWACCT_MSEC_TO_USEC; in flowacct_info()
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhpi_vir.c145 uint8_t timer) in hpi_intr_ldg_mgmt_set() argument
155 if (!LD_INTTIMER_VALID(timer)) { in hpi_intr_ldg_mgmt_set()
158 " timer <0x%x>", timer)); in hpi_intr_ldg_mgmt_set()
169 mgm.bits.timer = timer; in hpi_intr_ldg_mgmt_set()
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_state.h161 #define CMD_TIMERTYPE_ISCPU(timer) ((timer) != CMD_TIMERTYPE_MEM && \ argument
162 (timer) != CMD_TIMERTYPE_DP)
/illumos-gate/usr/src/cmd/bhyve/test/tests/mevent/
H A Dread_pause.c107 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 Dread_disable.c105 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 Dilb_conn.c215 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 DTestDrop.java50 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/common/io/fibre-channel/fca/qlc/
H A Dql_nx.c1119 clock_t timer; in ql_8021_wait_flash_done() local
1122 for (timer = 30 * drv_usectohz(1000000); timer; timer--) { in ql_8021_wait_flash_done()
1847 clock_t timer; in ql_8021_need_reset_handler() local
1859 for (timer = 30; timer && drv_state != drv_active; timer--) { in ql_8021_need_reset_handler()
1873 clock_t timer; in ql_8021_idc_handler() local
1878 timer = 30; in ql_8021_idc_handler()
1879 while (timer) { in ql_8021_idc_handler()
1911 timer = 0; in ql_8021_idc_handler()
1916 timer = 0; in ql_8021_idc_handler()
1961 if (timer) { in ql_8021_idc_handler()
[all …]
H A Dql_init.c290 for (timer = 0; timer < 30000; timer++) { in ql_pci_sbus_config()
312 for (timer = 0; timer < 30000; timer++) { in ql_pci_sbus_config()
2741 for (timer = 3000; timer; timer--) { in ql_init_rings()
2839 timer = (timer + 2) * sec_delay; in ql_fw_ready()
3712 for (timer = 0; timer < 30000; timer++) { in ql_reset_24xx_chip()
3723 for (timer = 0; timer < 30000; timer++) { in ql_reset_24xx_chip()
3741 for (timer = 0; timer < 30000; timer++) { in ql_reset_24xx_chip()
3749 for (timer = 0; timer < 30000; timer++) { in ql_reset_24xx_chip()
3767 for (timer = 0; timer < 30000; timer++) { in ql_reset_24xx_chip()
4199 int timer; in ql_vport_enable() local
[all …]
/illumos-gate/usr/src/uts/i86pc/sys/
H A Dhpet_acpi.h186 #define HPET_INTR_STATUS_MASK(timer) ((uint64_t)1 << (timer)) argument
240 int timer; member
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/
H A DSystemMonitor.java40 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 Digmp.c489 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/1394/adapters/
H A Dhci1394_tlist.c73 hci1394_tlist_init(hci1394_drvinfo_t *drvinfo, hci1394_tlist_timer_t *timer, in hci1394_tlist_init() argument
93 if (timer == NULL) { in hci1394_tlist_init()
96 ASSERT(timer->tlt_callback != NULL); in hci1394_tlist_init()
98 list->tl_timer_info = *timer; in hci1394_tlist_init()
/illumos-gate/usr/src/uts/common/io/net80211/
H A Dnet80211_output.c105 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()

12345