Home
last modified time | relevance | path

Searched refs:SEC_TO_TICK (Results 1 – 25 of 53) sorted by relevance

123

/titanic_44/usr/src/uts/common/sys/
H A Dtime.h270 #define SEC_TO_TICK(sec) ((sec) * hz) macro
294 (tvp)->tv_usec = TICK_TO_USEC(__tmptck - SEC_TO_TICK((tvp)->tv_sec)); \
301 (tvp)->tv_usec = TICK_TO_USEC(__tmptck - SEC_TO_TICK(__tmptm)); \
307 (tsp)->tv_nsec = TICK_TO_NSEC(__tmptck - SEC_TO_TICK((tsp)->tv_sec)); \
314 (tsp)->tv_nsec = TICK_TO_NSEC(__tmptck - SEC_TO_TICK(__tmptm)); \
318 (SEC_TO_TICK((tvp)->tv_sec) + USEC_TO_TICK((tvp)->tv_usec))
321 (SEC_TO_TICK((tsp)->tv_sec) + NSEC_TO_TICK((tsp)->tv_nsec))
/titanic_44/usr/src/uts/common/fs/nfs/
H A Dnfs4_deleg_ops.c87 ddi_get_lbolt() + SEC_TO_TICK(rfs4_lease_time)); in recall_all_delegations()
380 ddi_get_lbolt() + SEC_TO_TICK(rfs4_lease_time)); in deleg_rd_vnevent()
417 ddi_get_lbolt() + SEC_TO_TICK(rfs4_lease_time)); in deleg_wr_vnevent()
H A Dnfs4_recovery.c1125 delay(SEC_TO_TICK(time_to_wait)); in nfs4_wait_for_grace()
1182 delay(SEC_TO_TICK(time_to_wait)); in nfs4_wait_for_delay()
1489 delay(SEC_TO_TICK(nfs4_unmount_delay)); in nfs4_recov_thread()
1809 delay(SEC_TO_TICK(recov_err_delay)); in recov_clientid()
2689 delay(SEC_TO_TICK(nfs4err_delay_time)); in nfs4_resend_lost_rqsts()
2933 delay(SEC_TO_TICK(recov_err_delay)); in resend_lock()
3382 delay(SEC_TO_TICK(time_to_wait)); in recov_throttle()
/titanic_44/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_iod.c780 tmo1 = SEC_TO_TICK(smb_timo_notice); in smb_iod_waitrq()
783 tmo2 = ddi_get_lbolt() + SEC_TO_TICK(rqp->sr_timo); in smb_iod_waitrq()
1054 clock_t tr, delta = SEC_TO_TICK(15); in smb_iod_vc_idle()
1116 SEC_TO_TICK(5), TR_CLOCK_TICK); in smb_iod_vc_rcfail()
H A Dsmb_rq.c265 SEC_TO_TICK(SMB_RCNDELAY), TR_CLOCK_TICK); in smb_rq_simple_timed()
268 delay(SEC_TO_TICK(SMB_RCNDELAY)); in smb_rq_simple_timed()
1399 SEC_TO_TICK(SMB_RCNDELAY), TR_CLOCK_TICK); in smb_t2_request()
1401 delay(SEC_TO_TICK(SMB_RCNDELAY)); in smb_t2_request()
1432 SEC_TO_TICK(SMB_RCNDELAY), TR_CLOCK_TICK); in smb_nt_request()
1435 delay(SEC_TO_TICK(SMB_RCNDELAY)); in smb_nt_request()
H A Dsmb_trantcp.c124 timo = SEC_TO_TICK(SMB_NBTIMO); in nb_getmsg_mlen()
/titanic_44/usr/src/uts/common/io/vscan/
H A Dvscan_door.c106 time_left = SEC_TO_TICK(vs_door_close_timeout); in vscan_door_close()
H A Dvscan_drv.c523 SEC_TO_TICK(vs_reconnect_timeout), TR_CLOCK_TICK); in vscan_drv_delayed_disable()
H A Dvscan_svc.c501 time_left = SEC_TO_TICK(vs_scan_wait); in vscan_svc_scan_file()
591 SEC_TO_TICK(VS_REQL_HANDLER_TIMEOUT), TR_CLOCK_TICK); in vscan_svc_reql_handler()
/titanic_44/usr/src/uts/sun4u/io/
H A Dtodblade.c156 (ddi_get_lbolt() - last_pat_lbt) >= SEC_TO_TICK(1)) { in todbl_get()
299 (ddi_get_lbolt() - last_pat_lbt) >= SEC_TO_TICK(1)) { in todbl_set()
/titanic_44/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsid.c555 delay(SEC_TO_TICK(ISCSI_DISCOVERY_DELAY)); in iscsid_poke_discovery()
798 delay(SEC_TO_TICK(ISCSI_CONFIGROOT_DELAY)); in iscsid_config_one()
811 delay(SEC_TO_TICK( in iscsid_config_one()
840 SEC_TO_TICK(ihp->hba_config_storm_delay))) { in iscsid_config_one()
901 delay(SEC_TO_TICK(ISCSI_CONFIGROOT_DELAY)); in iscsid_config_all()
914 delay(SEC_TO_TICK( in iscsid_config_all()
935 SEC_TO_TICK(ihp->hba_config_storm_delay))) { in iscsid_config_all()
2414 rc = iscsi_thread_wait(thread, SEC_TO_TICK(1)); in iscsid_thread_boot_wd()
H A Discsi_cmd.c334 icmdp->cmd_lbolt_pending + SEC_TO_TICK( in iscsi_cmd_state_free()
344 SEC_TO_TICK(ISCSI_INTERNAL_CMD_TIMEOUT * in iscsi_cmd_state_free()
529 ddi_get_lbolt() + SEC_TO_TICK( in iscsi_cmd_state_pending()
536 SEC_TO_TICK(ISCSI_INTERNAL_CMD_TIMEOUT * in iscsi_cmd_state_pending()
H A Discsi_conn.c242 delay = ddi_get_lbolt() + SEC_TO_TICK(SHUTDOWN_TIMEOUT); in iscsi_conn_offline()
375 icp->conn_login_min = ddi_get_lbolt() + SEC_TO_TICK(min); in iscsi_conn_set_login_min_max()
376 icp->conn_login_max = ddi_get_lbolt() + SEC_TO_TICK(max); in iscsi_conn_set_login_min_max()
H A Discsi_login.c227 SEC_TO_TICK(icp->conn_tunable_params. in iscsi_login_start()
231 SEC_TO_TICK(ISCSI_LOGIN_RETRY_DELAY); in iscsi_login_start()
522 SEC_TO_TICK(icp->conn_tunable_params. in iscsi_login()
H A Discsi_io.c1783 tout = SEC_TO_TICK(1); in iscsi_tx_thread()
3402 rc = iscsi_thread_wait(thread, SEC_TO_TICK(1)); in iscsi_wd_thread()
3549 SEC_TO_TICK(iscsi_nop_delay)) && (ddi_get_lbolt() > in iscsi_nop_checks()
3551 SEC_TO_TICK(iscsi_nop_delay))) { in iscsi_nop_checks()
3575 SEC_TO_TICK(ISCSI_CONN_TIEMOUT_DETECT)) { in iscsi_nop_timeout_checks()
/titanic_44/usr/src/uts/common/inet/ilb/
H A Dilb_conn.c228 expiry = now - SEC_TO_TICK(connp->conn_expiry); in ilb_conn_cleanup()
288 SEC_TO_TICK(ilb_conn_cache_timeout)); in ilb_conn_timer()
360 SEC_TO_TICK(ilb_conn_cache_timeout + i)); in ilb_conn_hash_init()
1328 expiry = now - SEC_TO_TICK(s->expiry); in ilb_sticky_cleanup()
1352 SEC_TO_TICK(ilb_sticky_timeout)); in ilb_sticky_timer()
1407 SEC_TO_TICK(ilb_sticky_timeout + i)); in ilb_sticky_hash_init()
H A Dilb_nat.c148 SEC_TO_TICK(ILB_NAT_SRC_TIMEOUT + in ilb_nat_src_init()
331 SEC_TO_TICK(ILB_NAT_SRC_TIMEOUT + in ilb_nat_src_timer()
H A Dilb.c784 SEC_TO_TICK(tmp_rule->ir_conn_drain_timeout)); in ilb_rule_del_common()
1181 ddi_get_lbolt64() + SEC_TO_TICK( in ilb_server_toggle()
1505 SEC_TO_TICK(rule->ir_conn_drain_timeout)); in ilb_server_del()
/titanic_44/usr/src/uts/common/fs/smbsrv/
H A Dsmb_thread.c284 SEC_TO_TICK(seconds)); in smb_thread_continue_timedwait()
/titanic_44/usr/src/uts/common/klm/
H A Dnlm_impl.c350 idle_period = SEC_TO_TICK(g->cn_idle_tmo); in nlm_gc()
788 delay(SEC_TO_TICK(NLM_NSM_RPCBIND_TIMEOUT)); in nlm_nsm_init()
1300 SEC_TO_TICK(g->retrans_tmo)); in nlm_host_wait_grace()
1757 SEC_TO_TICK(g->cn_idle_tmo); in nlm_host_release()
1936 timeo_ticks = ddi_get_lbolt() + SEC_TO_TICK(timeo_secs); in nlm_slock_wait()
2331 SEC_TO_TICK(g->grace_period); in nlm_svc_starting()
/titanic_44/usr/src/uts/common/disp/
H A Drt.c611 if ((ticks = SEC_TO_TICK((longlong_t)rtprmsp->rt_tqsecs) + in rt_parmsin()
711 if ((ticks = SEC_TO_TICK((longlong_t)secs) + in rt_vaparmsin()
/titanic_44/usr/src/uts/common/io/pciex/hotplug/
H A Dpciehpc.c1119 SEC_TO_TICK(PCIE_HP_DLL_STATE_CHANGE_TIMEOUT)); in pciehpc_slot_poweron()
1972 ddi_get_lbolt() + SEC_TO_TICK(1)) == -1) { in pciehpc_issue_hpc_command()
2031 ddi_get_lbolt() + SEC_TO_TICK(5)) == -1) { in pciehpc_attn_btn_handler()
/titanic_44/usr/src/uts/common/sys/ib/clients/rdsv3/
H A Drdsv3.h71 #define RDSV3_REAPER_WAIT_JIFFIES SEC_TO_TICK(RDSV3_REAPER_WAIT_SECS)
/titanic_44/usr/src/lib/libzpool/common/sys/
H A Dzfs_context.h508 #define SEC_TO_TICK(sec) ((sec) * hz) macro
/titanic_44/usr/src/uts/common/fs/zfs/
H A Dvdev_queue.c733 delay(SEC_TO_TICK(zio_handle_io_delay(zio))); in vdev_queue_io_done()

123