Home
last modified time | relevance | path

Searched refs:ddi_get_lbolt (Results 1 – 25 of 243) sorted by relevance

12345678910

/titanic_44/usr/src/uts/sun4u/starcat/io/
H A Dmboxsc.c587 deadline = ddi_get_lbolt() + in mboxsc_putmsg()
723 delay(MIN(PUTMSG_POLL, deadline - ddi_get_lbolt())); in mboxsc_putmsg()
727 (deadline - ddi_get_lbolt() >= 0)); in mboxsc_putmsg()
852 deadline = ddi_get_lbolt() + in mboxsc_getmsg()
955 } else if ((error == EAGAIN) && (deadline - ddi_get_lbolt() >= 0)) { in mboxsc_getmsg()
957 delay(MIN(EAGAIN_POLL, deadline - ddi_get_lbolt())); in mboxsc_getmsg()
1730 clock_t warning_time = ddi_get_lbolt() + LOOP_WARN_INTERVAL; in mboxsc_lock_flags()
1782 ddi_get_lbolt())); in mboxsc_lock_flags()
1786 deadline - ddi_get_lbolt())); in mboxsc_lock_flags()
1803 if (warning_time - ddi_get_lbolt() <= 0) { in mboxsc_lock_flags()
[all …]
/titanic_44/usr/src/uts/common/fs/dev/
H A Dsdev_comm.c121 expire = ddi_get_lbolt() + in sdev_wait4lookup()
126 dv->sdev_name, expire - ddi_get_lbolt(), dv->sdev_state)); in sdev_wait4lookup()
151 (ddi_get_lbolt() >= expire)) { in sdev_wait4lookup()
159 expire - ddi_get_lbolt())); in sdev_wait4lookup()
237 expire = ddi_get_lbolt() + drv_usectohz(dev_devfsadm_startup * 1000000); in sdev_open_upcall_door()
248 expire - ddi_get_lbolt())); in sdev_open_upcall_door()
/titanic_44/usr/src/lib/libfakekernel/common/
H A Dcond.c35 extern clock_t ddi_get_lbolt(void);
108 delta = abstime - ddi_get_lbolt(); in cv_timedwait()
117 delta = abstime - ddi_get_lbolt(); in cv_timedwait_sig()
H A Dclock.c42 ddi_get_lbolt(void) in ddi_get_lbolt() function
H A Dmutex.c31 extern clock_t ddi_get_lbolt(void);
/titanic_44/usr/src/uts/common/os/
H A Dsoftint.c193 softcall_tick = ddi_get_lbolt(); in softcall_init()
346 softcall_tick = ddi_get_lbolt(); in softcall()
350 now = ddi_get_lbolt(); in softcall()
473 softcall_tick = ddi_get_lbolt(); in softint()
H A Dcondvar.c230 clock_t now = ddi_get_lbolt(); in cv_timedwait()
479 hrtim = TICK_TO_NSEC(tim - ddi_get_lbolt()); in cv_timedwait_sig()
680 tim = ddi_get_lbolt() + MSEC_TO_TICK(wakeup_time); in cv_wait_stop()
683 tim - ddi_get_lbolt()); in cv_wait_stop()
H A Dsched.c339 swapout_time = (ddi_get_lbolt() - swapin_proc_time) / hz; in sched()
605 tp->t_stime = ddi_get_lbolt(); in swapin()
689 tp->t_stime = ddi_get_lbolt(); in swapout()
869 tp->t_stime = ddi_get_lbolt(); /* swapout time */ in process_swap_queue()
H A Dmem_config.c1737 start_total = ddi_get_lbolt(); in delete_memory_thread()
1944 start_pgrp = ddi_get_lbolt(); in delete_memory_thread()
1968 ddi_get_lbolt() - in delete_memory_thread()
1981 (uint64_t)ddi_get_lbolt() - in delete_memory_thread()
2009 start_pgrp = ddi_get_lbolt(); in delete_memory_thread()
2029 (uint64_t)ddi_get_lbolt() - in delete_memory_thread()
2042 ntick_pgrp = (uint64_t)ddi_get_lbolt() - in delete_memory_thread()
2067 ntick_pgrp = (uint64_t)ddi_get_lbolt() - in delete_memory_thread()
2085 ntick_pgrp = (uint64_t)ddi_get_lbolt() - in delete_memory_thread()
2102 ntick_pgrp = (uint64_t)ddi_get_lbolt() - in delete_memory_thread()
[all …]
/titanic_44/usr/src/uts/common/syscall/
H A Dtimes.c65 ret_lbolt = ddi_get_lbolt(); in times()
95 ret_lbolt = (clock32_t)ddi_get_lbolt(); in times32()
/titanic_44/usr/src/uts/sun4u/io/
H A Dtodblade.c156 (ddi_get_lbolt() - last_pat_lbt) >= SEC_TO_TICK(1)) { in todbl_get()
168 last_pat_lbt = ddi_get_lbolt(); in todbl_get()
299 (ddi_get_lbolt() - last_pat_lbt) >= SEC_TO_TICK(1)) { in todbl_set()
308 last_pat_lbt = ddi_get_lbolt(); in todbl_set()
H A Drmc_comm_drvintf.c348 stop_clockt = ddi_get_lbolt() + drv_usectohz(wait_time * 1000); in rmc_comm_send_req_resp()
390 resend_clockt = ddi_get_lbolt() + delta; in rmc_comm_send_req_resp()
588 stop_clockt = ddi_get_lbolt() + drv_usectohz(wait_time * 1000); in rmc_comm_request_response_bp()
788 stop_clockt = ddi_get_lbolt() + drv_usectohz(wait_time * 1000); in rmc_comm_send_srecord_bp()
/titanic_44/usr/src/uts/common/io/comstar/port/fct/
H A Ddiscovery.c104 iport->iport_cmdcheck_clock = ddi_get_lbolt() + in fct_port_worker()
156 if (iport->iport_cmdcheck_clock <= ddi_get_lbolt()) { in fct_port_worker()
158 iport->iport_cmdcheck_clock = ddi_get_lbolt() + in fct_port_worker()
192 ddi_get_lbolt()); in fct_port_worker()
598 iport->iport_li_cmd_timeout = ddi_get_lbolt() + in fct_process_link_init()
630 if ((ddi_get_lbolt() >= iport->iport_li_cmd_timeout) && in fct_process_link_init()
810 icmd->icmd_start_time = ddi_get_lbolt(); in fct_handle_els()
936 irp->irp_deregister_timer = ddi_get_lbolt() + in fct_handle_els()
1258 if (ddi_get_lbolt() >= irp_deregister_timer) { in fct_walk_discovery_queue()
1363 ddi_get_lbolt() + in fct_walk_discovery_queue()
[all …]
/titanic_44/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp_error.c255 extern clock_t ddi_get_lbolt(void); in sbdp_inject_error()
271 value = (-(int)(ddi_get_lbolt() % 2)); in sbdp_inject_error()
/titanic_44/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dthreads.c109 conn->c_last_connect_jiffies = ddi_get_lbolt(); in rdsv3_connect_complete()
279 ddi_get_lbolt() - RDSV3_REAPER_WAIT_JIFFIES)) { in rdsv3_reaper_worker()
/titanic_44/usr/src/uts/common/fs/zfs/
H A Dvdev_cache.c185 ve->ve_lastused = ddi_get_lbolt(); in vdev_cache_allocate()
202 if (ve->ve_lastused != ddi_get_lbolt()) { in vdev_cache_hit()
204 ve->ve_lastused = ddi_get_lbolt(); in vdev_cache_hit()
/titanic_44/usr/src/uts/intel/io/dktp/hba/ghd/
H A Dghd_timer.c180 lbolt = ddi_get_lbolt(); in ghd_timeout_loop()
261 lbolt = ddi_get_lbolt(); in ghd_timeout()
676 lbolt = ddi_get_lbolt(); in ghd_timeout_get()
871 lbolt = ddi_get_lbolt(); in ghd_timer_start()
/titanic_44/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_hw.c284 clock_t earlier = ddi_get_lbolt(); in oce_pci_soft_reset()
296 if ((ddi_get_lbolt() - earlier) > tmo) { in oce_pci_soft_reset()
327 clock_t earlier = ddi_get_lbolt(); in oce_POST()
349 if ((ddi_get_lbolt() - earlier) > tmo) { in oce_POST()
/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()
/titanic_44/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_ds.c237 (ddi_get_lbolt() - pptr->last_good_recovery > in pmcs_ds_operational()
239 pptr->last_good_recovery = ddi_get_lbolt(); in pmcs_ds_operational()
241 } else if (ddi_get_lbolt() < pptr->last_good_recovery + in pmcs_ds_operational()
325 if (ddi_get_lbolt() - pptr->prev_recovery < in pmcs_dev_state_recovery()
337 pptr->prev_recovery = ddi_get_lbolt(); in pmcs_dev_state_recovery()
955 < ddi_get_lbolt())) { in pmcs_handle_ds_recovery_error()
/titanic_44/usr/src/uts/common/inet/
H A Dsqueue.c322 sqp->sq_awaken = ddi_get_lbolt(); in squeue_worker_wakeup()
336 clock_t now = ddi_get_lbolt(); in squeue_worker_wakeup()
704 sqp->sq_awaken = ddi_get_lbolt(); in squeue_fire()
732 sqp->sq_awaken = ddi_get_lbolt(); in squeue_drain()
869 sqp->sq_awaken = ddi_get_lbolt(); in squeue_drain()
1140 sqp->sq_awaken = ddi_get_lbolt(); in squeue_polling_thread()
1511 sqp->sq_awaken = ddi_get_lbolt(); in squeue_synch_exit()
/titanic_44/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_cmd.c322 icmdp->cmd_lbolt_pending = ddi_get_lbolt(); in iscsi_cmd_state_free()
529 ddi_get_lbolt() + SEC_TO_TICK( in iscsi_cmd_state_pending()
535 icmdp->cmd_lbolt_timeout = ddi_get_lbolt() + in iscsi_cmd_state_pending()
597 icmdp->cmd_lbolt_aborting = ddi_get_lbolt(); in iscsi_cmd_state_pending()
613 icmdp->cmd_lbolt_aborting = ddi_get_lbolt(); in iscsi_cmd_state_pending()
620 icmdp->cmd_lbolt_aborting = ddi_get_lbolt(); in iscsi_cmd_state_pending()
/titanic_44/usr/src/uts/common/io/comstar/port/fcoet/
H A Dfcoet_fc.c351 CMD2XCH(cmd)->xch_start_time = ddi_get_lbolt(); in fcoet_abort_cmd()
370 CMD2XCH(cmd)->xch_start_time = ddi_get_lbolt(); in fcoet_abort_cmd()
427 xch->xch_start_time = ddi_get_lbolt(); in fcoet_send_sol_flogi()
524 xch->xch_start_time = ddi_get_lbolt(); in fcoet_send_sol_abts()
654 xch->xch_start_time = ddi_get_lbolt(); in fcoet_send_sol_els()
703 xch->xch_start_time = ddi_get_lbolt(); in fcoet_send_sol_ct()
/titanic_44/usr/src/uts/sun4u/os/
H A Dplat_ecc_dimm.c215 start_lbolt = ddi_get_lbolt(); in plat_populate_sid_cache()
225 current_lbolt = ddi_get_lbolt(); in plat_populate_sid_cache()
/titanic_44/usr/src/uts/common/io/comstar/stmf/
H A Dstmf.c311 stmf_session_counter = (uint64_t)ddi_get_lbolt(); in _init()
4154 itask->itask_start_time = ddi_get_lbolt(); in stmf_task_alloc()
4238 clock_t endtime = ddi_get_lbolt() + drv_usectohz(10000); in stmf_check_freetask()
4258 if (ddi_get_lbolt() >= endtime) in stmf_check_freetask()
4266 clock_t l = ddi_get_lbolt(); in stmf_do_ilu_timeouts()
4299 clock_t endtime = ddi_get_lbolt() + drv_usectohz(10000); in stmf_check_ilu_timing()
4325 if (ddi_get_lbolt() >= endtime) in stmf_check_ilu_timing()
4924 itask->itask_start_time = ddi_get_lbolt(); in stmf_queue_task_for_abort()
5076 itask->itask_poll_timeout = ddi_get_lbolt() + 1; in stmf_task_poll_lu()
5081 itask->itask_poll_timeout = ddi_get_lbolt() + t; in stmf_task_poll_lu()
[all …]

12345678910