/illumos-gate/usr/src/uts/common/io/vscan/ |
H A D | vscan_door.c | 101 clock_t timeout, time_left; in vscan_door_close() local 106 time_left = SEC_TO_TICK(vs_door_close_timeout); in vscan_door_close() 107 while ((vscan_door_call_count > 0) && (time_left > 0)) { in vscan_door_close() 108 timeout = time_left; in vscan_door_close() 109 time_left = cv_reltimedwait(&vscan_door_cv, &vscan_door_mutex, in vscan_door_close() 113 if (time_left == -1) in vscan_door_close()
|
H A D | vscan_svc.c | 463 clock_t timeout, time_left; in vscan_svc_scan_file() local 502 time_left = SEC_TO_TICK(vs_scan_wait); in vscan_svc_scan_file() 503 while ((time_left > 0) && (req->vsr_state != VS_SVC_REQ_COMPLETE)) { in vscan_svc_scan_file() 504 timeout = time_left; in vscan_svc_scan_file() 505 time_left = cv_reltimedwait_sig(&(req->vsr_cv), in vscan_svc_scan_file() 509 if (time_left == -1) { in vscan_svc_scan_file()
|
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_evd_util.c | 1323 uint64_t time_left; in dapls_evd_copy_events() local 1359 time_left = 0; in dapls_evd_copy_events() 1374 time_left = DAPL_ONE_YEAR_IN_USEC; in dapls_evd_copy_events() 1384 time_left = (final_time - curr_time)/1000; in dapls_evd_copy_events() 1450 time_left = (final_time - curr_time)/1000; in dapls_evd_copy_events() 1514 dat_status = dapls_ib_event_poll(evd_ptr, time_left, in dapls_evd_copy_events() 1525 dat_status = dapls_ib_event_poll(evd_ptr, time_left, in dapls_evd_copy_events()
|
/illumos-gate/usr/src/uts/common/io/i40e/core/ |
H A D | i40e_nvm.c | 93 u64 time_left = 0; in i40e_acquire_nvm() local 101 0, &time_left, NULL); in i40e_acquire_nvm() 106 hw->nvm.hw_semaphore_timeout = I40E_MS_TO_GTIME(time_left) + gtime; in i40e_acquire_nvm() 111 access, time_left, ret_code, hw->aq.asq_last_status); in i40e_acquire_nvm() 113 if (ret_code && time_left) { in i40e_acquire_nvm() 116 while ((gtime < timeout) && time_left) { in i40e_acquire_nvm() 121 access, 0, &time_left, in i40e_acquire_nvm() 125 I40E_MS_TO_GTIME(time_left) + gtime; in i40e_acquire_nvm() 133 time_left, ret_code, hw->aq.asq_last_status); in i40e_acquire_nvm()
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_client.c | 1376 clock_t time_left = 1; in nfs4_async_common_start() local 1436 if (mi->mi_max_threads == 0 || time_left <= 0) { in nfs4_async_common_start() 1448 time_left = cv_reltimedwait(async_work_cv, in nfs4_async_common_start() 1456 time_left = 1; in nfs4_async_common_start() 3237 clock_t time_left = 0; in nfs4_renew_lease_thread() local 3273 time_left = cv_reltimedwait(&sp->cv_thread_exit, in nfs4_renew_lease_thread() 3281 "time left %ld", time_left)); in nfs4_renew_lease_thread() 3309 time_left = cv_reltimedwait(&sp->cv_thread_exit, &sp->s_lock, in nfs4_renew_lease_thread() 3318 "tmp_last_renewal_time %ld", time_left, in nfs4_renew_lease_thread()
|
H A D | nfs_client.c | 2030 clock_t time_left = 1; in nfs_async_common_start() local 2089 if (mi->mi_max_threads == 0 || time_left <= 0) { in nfs_async_common_start() 2100 time_left = cv_reltimedwait(async_work_cv, in nfs_async_common_start() 2108 time_left = 1; in nfs_async_common_start()
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | igmp.c | 127 int time_left; in igmp_start_timers() local 173 time_left = ipst->ips_igmp_timer_scheduled_last + in igmp_start_timers() 175 if (time_left < MSEC_TO_TICK(next)) { in igmp_start_timers() 219 int time_left; in mld_start_timers() local 264 time_left = ipst->ips_mld_timer_scheduled_last + in mld_start_timers() 266 if (time_left < MSEC_TO_TICK(next)) { in mld_start_timers()
|
/illumos-gate/usr/src/cmd/format/ |
H A D | ctlr_scsi.c | 3397 time_t start, check, time_left; in test_until_ready() local 3450 time_left = (time_t)(((float)(check in test_until_ready() 3453 sec = time_left % 60; in test_until_ready() 3454 min = (time_left / 60) % 60; in test_until_ready() 3455 hour = time_left / 3600; in test_until_ready()
|
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | socksyscalls.c | 2282 clock_t time_left = 1; in snf_async_thread() local 2294 if (time_left <= 0) { in snf_async_thread() 2302 time_left = cv_reltimedwait(&snfq->snfq_cv, in snf_async_thread()
|