Home
last modified time | relevance | path

Searched refs:MSEC_TO_TICK (Results 1 – 25 of 35) sorted by relevance

12

/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_time_wait.c48 (((t) / MSEC_TO_TICK(TCP_TIME_WAIT_DELAY)) % TCP_TIME_WAIT_BUCKETS)
192 now % MSEC_TO_TICK(TCP_TIME_WAIT_DELAY); in tcp_time_wait_append()
200 schedule = now + MSEC_TO_TICK(tcps->tcps_time_wait_interval); in tcp_time_wait_append()
218 schedule += MSEC_TO_TICK(TCP_TIME_WAIT_DELAY); in tcp_time_wait_append()
219 schedule -= schedule % MSEC_TO_TICK(TCP_TIME_WAIT_DELAY); in tcp_time_wait_append()
536 sched_new = sched_cur + MSEC_TO_TICK(TCP_TIME_WAIT_DELAY); in tcp_time_wait_collector()
543 sched_new += MSEC_TO_TICK(TCP_TIME_WAIT_DELAY); in tcp_time_wait_collector()
H A Dtcp_misc.c529 tcps, MSEC_TO_TICK(tcps->tcps_reclaim_period)); in tcp_reclaim_timer()
603 tcps, MSEC_TO_TICK(tcps->tcps_reclaim_period)); in tcp_conn_reclaim()
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_misc.c178 sctps, MSEC_TO_TICK(sctps->sctps_reclaim_period)); in sctp_reclaim_timer()
251 sctps, MSEC_TO_TICK(sctps->sctps_reclaim_period)); in sctp_conn_reclaim()
H A Dsctp_opt_data.c247 sctp->sctp_rto_initial = MSEC_TO_TICK(srto->srto_initial); in sctp_set_rtoinfo()
252 sctp->sctp_rto_max = MAX(MSEC_TO_TICK(srto->srto_max), 1); in sctp_set_rtoinfo()
255 sctp->sctp_rto_min = MSEC_TO_TICK(srto->srto_min); in sctp_set_rtoinfo()
326 sctp->sctp_cookie_lifetime = MSEC_TO_TICK( in sctp_set_assocparams()
397 MSEC_TO_TICK(si->sinit_max_init_timeo); in sctp_set_initmsg()
503 fp->sf_hb_interval = MSEC_TO_TICK(spp->spp_hbinterval); in sctp_set_peer_addr_params()
524 fp2->sf_hb_interval = MSEC_TO_TICK( in sctp_set_peer_addr_params()
533 sctp->sctp_hb_interval = MSEC_TO_TICK( in sctp_set_peer_addr_params()
H A Dsctp.c876 MSEC_TO_TICK(sctps->sctps_cookie_life); in sctp_init_values()
885 sctp->sctp_rto_max = MSEC_TO_TICK(sctps->sctps_rto_maxg); in sctp_init_values()
887 sctp->sctp_rto_min = MSEC_TO_TICK(sctps->sctps_rto_ming); in sctp_init_values()
888 sctp->sctp_rto_initial = MSEC_TO_TICK( in sctp_init_values()
898 MSEC_TO_TICK(sctps->sctps_heartbeat_interval); in sctp_init_values()
H A Dsctp_conn.c177 MSEC_TO_TICK(SCTP_SLC_REPORT_INTERVAL)) { in sctp_conn_request()
H A Dsctp_common.c189 fp->sf_srtt = MSEC_TO_TICK(uinfo.iulp_rtt); in sctp_get_dest()
190 fp->sf_rttvar = MSEC_TO_TICK(uinfo.iulp_rtt_sd); in sctp_get_dest()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_echo.c116 delay(MSEC_TO_TICK(100)); in smb_com_echo()
H A Dsmb_srv_oplock.c657 MSEC_TO_TICK(smb_oplock_timeout_ack); in smb_oplock_wait_ack()
825 time = MSEC_TO_TICK(timeout) + ddi_get_lbolt(); in smb_oplock_wait_break()
914 time = MSEC_TO_TICK(timeout) + ddi_get_lbolt(); in smb_oplock_wait_break_fem()
H A Dsmb_notify.c253 delay(MSEC_TO_TICK(smb_notify_enum_dir_delay)); in smb_notify_act1()
400 delay(MSEC_TO_TICK(smb_notify_enum_dir_delay)); in smb_notify_act3()
H A Dsmb_opipe.c747 clock_t ticks = MSEC_TO_TICK(timeout * 100); in smb_opipe_wait()
748 if (ticks > MSEC_TO_TICK(100)) in smb_opipe_wait()
749 ticks = MSEC_TO_TICK(100); in smb_opipe_wait()
H A Dsmb_lock.c1006 lock->l_end_time = ddi_get_lbolt() + MSEC_TO_TICK(timeout); in smb_lock_create()
1075 delay(MSEC_TO_TICK(1)); in smb_lock_destroy()
H A Dsmb_session.c633 delay(MSEC_TO_TICK(smb_reader_delay)); in smb_session_reader()
1248 MSEC_TO_TICK(200)); in smb_session_logoff()
H A Dsmb_common_open.c764 delay(MSEC_TO_TICK(10)); in smb_common_open()
/illumos-gate/usr/src/uts/common/inet/ip/
H A Digmp.c159 MSEC_TO_TICK(ipst->ips_igmp_time_to_next)); in igmp_start_timers()
174 MSEC_TO_TICK(ipst->ips_igmp_time_to_next) - ddi_get_lbolt(); in igmp_start_timers()
175 if (time_left < MSEC_TO_TICK(next)) { in igmp_start_timers()
205 (void *)ipst, MSEC_TO_TICK(ipst->ips_igmp_time_to_next)); in igmp_start_timers()
250 MSEC_TO_TICK(ipst->ips_mld_time_to_next)); in mld_start_timers()
265 MSEC_TO_TICK(ipst->ips_mld_time_to_next) - ddi_get_lbolt(); in mld_start_timers()
266 if (time_left < MSEC_TO_TICK(next)) { in mld_start_timers()
296 (void *)ipst, MSEC_TO_TICK(ipst->ips_mld_time_to_next)); in mld_start_timers()
1751 (void *)ipst, MSEC_TO_TICK(MCAST_SLOWTIMO_INTERVAL)); in igmp_slowtimo()
1814 (void *)ipst, MSEC_TO_TICK(MCAST_SLOWTIMO_INTERVAL)); in mld_slowtimo()
H A Dip_arp.c1159 MSEC_TO_TICK(ipst->ips_ipv4_dad_announce_interval)) { in arp_process_packet()
2092 ipif, MSEC_TO_TICK(ipst->ips_ip_dup_recovery)); in arp_excl()
H A Dip_ndp.c1572 ipif, MSEC_TO_TICK(ipst->ips_ip_dup_recovery)); in ipif_do_recovery()
1729 ipif, MSEC_TO_TICK(ipst->ips_ip_dup_recovery)); in ip_ndp_excl()
4165 MSEC_TO_TICK(ms) == 0 ? 1 : MSEC_TO_TICK(ms)); in nce_start_timer()
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsockcommon.h103 (so), MSEC_TO_TICK((so)->so_rcv_timer_interval)); \
/illumos-gate/usr/src/uts/common/sys/
H A Dtime.h286 #define MSEC_TO_TICK(msec) \ macro
/illumos-gate/usr/src/uts/common/os/
H A Dcondvar.c680 tim = ddi_get_lbolt() + MSEC_TO_TICK(wakeup_time); in cv_wait_stop()
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_soft_ring.c183 ringp->s_ring_wait = MSEC_TO_TICK(wait); in mac_soft_ring_create()
/illumos-gate/usr/src/uts/common/io/kbtrans/
H A Dkbtrans_streams.c1079 kbtrans_repeat_delay = MSEC_TO_TICK(*(int *)mp->b_cont->b_rptr); in kbtrans_ioctl()
1118 kbtrans_repeat_rate = MSEC_TO_TICK(*(int *)mp->b_cont->b_rptr); in kbtrans_ioctl()
/illumos-gate/usr/src/uts/common/rpc/
H A Drpcmod.c1093 MSEC_TO_TICK(intrvl)); in mir_timer_start()
2206 MSEC_TO_TICK(mir->mir_idle_timeout) - now >= 0) { in mir_timer()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_trim.c465 MSEC_TO_TICK(10)); in vdev_trim_range()
/illumos-gate/usr/src/uts/common/inet/
H A Dmi.c1097 tim = MSEC_TO_TICK(tim); in mi_timer()

12