Home
last modified time | relevance | path

Searched refs:current_time (Results 1 – 16 of 16) sorted by relevance

/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/
H A Dtable.c85 long current_time; in find_match() local
88 current_time = tp.tv_sec; in find_match()
99 if ((ptr->time - current_time) > MAX_LIFE) { in find_match()
136 long current_time; in find_request() local
139 current_time = tp.tv_sec; in find_request()
155 if ((ptr->time - current_time) > MAX_LIFE) { in find_request()
176 ptr->time = current_time; in find_request()
190 long current_time; in insert_table() local
193 current_time = tp.tv_sec; in insert_table()
206 ptr->time = current_time; in insert_table()
/titanic_50/usr/src/lib/libdhcpagent/common/
H A Ddhcp_hostconf.c103 time_t orig_time, current_time = time(NULL); in read_hostconf() local
221 current_time); in read_hostconf()
223 current_time); in read_hostconf()
257 orig_time, current_time); in read_hostconf()
259 orig_time, current_time); in read_hostconf()
282 (orig_time + lease) <= current_time) in read_hostconf()
287 current_time); in read_hostconf()
289 current_time); in read_hostconf()
291 current_time); in read_hostconf()
381 relativize_time(DHCP_OPT *option, time_t orig_time, time_t current_time) in relativize_time() argument
[all …]
/titanic_50/usr/src/lib/libsip/common/
H A Dsip_timeout.c245 hrtime_t current_time; in sip_schedule_to_functions() local
255 return ((hrtime_t)LONG_SLEEP_TIME + current_time); in sip_schedule_to_functions()
256 current_time = (hrtime_t)tspec.tv_sec * (hrtime_t)NANOSEC + in sip_schedule_to_functions()
259 current_time = gethrtime(); in sip_schedule_to_functions()
262 return ((hrtime_t)LONG_SLEEP_TIME + current_time); in sip_schedule_to_functions()
268 while (timeout != NULL && timeout->sip_timeout_val <= current_time) { in sip_schedule_to_functions()
296 return ((hrtime_t)LONG_SLEEP_TIME + current_time); in sip_schedule_to_functions()
307 hrtime_t current_time; in sip_timer_thr() local
336 current_time = (hrtime_t)tspec.tv_sec * (hrtime_t)NANOSEC + in sip_timer_thr()
339 current_time = gethrtime(); in sip_timer_thr()
[all …]
/titanic_50/usr/src/cmd/latencytop/common/
H A Dlatencytop.c219 uint64_t current_time; in main() local
507 current_time = lt_millisecond(); in main()
512 delta_time = current_time; in main()
513 current_time = lt_millisecond(); in main()
514 delta_time = current_time - delta_time; in main()
517 current_time - last_logged > log_interval * 1000) { in main()
519 last_logged = current_time; in main()
/titanic_50/usr/src/lib/libinetutil/common/
H A Dtq.c283 hrtime_t current_time = gethrtime(); in iu_earliest_timer() local
293 if (tq->iutq_head->iutn_abs_timeout <= current_time) in iu_earliest_timer()
302 (tq->iutq_head->iutn_abs_timeout - current_time) / 1000000; in iu_earliest_timer()
319 hrtime_t current_time = gethrtime(); in iu_expire_timers() local
349 if (node->iutn_abs_timeout - current_time > 1000000) in iu_expire_timers()
/titanic_50/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_tlist.c343 hrtime_t current_time; in hci1394_tlist_callback() local
360 current_time = gethrtime(); in hci1394_tlist_callback()
367 if (((uint64_t)current_time >= in hci1394_tlist_callback()
398 } else if ((uint64_t)(current_time >= in hci1394_tlist_callback()
400 (((uint64_t)current_time + in hci1394_tlist_callback()
402 (uint64_t)current_time)) { in hci1394_tlist_callback()
H A Dhci1394_ixl_isr.c953 hrtime_t current_time, last_time, delta, delta_thresh; in hci1394_isoch_cycle_inconsistent() local
988 current_time = gethrtime(); in hci1394_isoch_cycle_inconsistent()
990 delta = current_time - last_time; in hci1394_isoch_cycle_inconsistent()
1017 soft_statep->isoch->cycle_incon_thresh.last_intr_time = current_time; in hci1394_isoch_cycle_inconsistent()
1046 hrtime_t current_time, last_time, delta, delta_thresh; in hci1394_isoch_cycle_lost() local
1081 current_time = gethrtime(); in hci1394_isoch_cycle_lost()
1083 delta = current_time - last_time; in hci1394_isoch_cycle_lost()
1110 soft_statep->isoch->cycle_lost_thresh.last_intr_time = current_time; in hci1394_isoch_cycle_lost()
H A Dhci1394_async.c135 uint_t current_time);
3283 uint_t current_time) in hci1394_async_timeout_calc() argument
3310 temp = (current_time & OHCI_CYCLE_CNT_MASK) + (split_timeout & in hci1394_async_timeout_calc()
3329 z = (current_time & OHCI_CYCLE_SEC_MASK) + (split_timeout & in hci1394_async_timeout_calc()
/titanic_50/usr/src/uts/common/rpc/sec/
H A Dsvcauthdes.c148 struct timeval timestamp, current_time; in _svcauth_des() local
287 current_time.tv_sec = now.tv_sec; in _svcauth_des()
288 current_time.tv_usec = now.tv_nsec / 1000; in _svcauth_des()
290 current_time.tv_sec -= window; /* allow for expiration */ in _svcauth_des()
291 if (!BEFORE(&current_time, &timestamp)) { in _svcauth_des()
/titanic_50/usr/src/uts/common/inet/ip/
H A Dip_dce.c858 uint64_t current_time; in ip_snmp_get_mib2_ip_dce() local
860 current_time = TICK_TO_SEC(ddi_get_lbolt64()); in ip_snmp_get_mib2_ip_dce()
885 dest_cache.DestAge = current_time - in ip_snmp_get_mib2_ip_dce()
930 dest_cache.DestAge = current_time - in ip_snmp_get_mib2_ip_dce()
H A Dip_if.c2402 time_t current_time = gethrestime_sec(); in ill_frag_timeout() local
2426 time_t frag_time = current_time - ipf->ipf_timestamp; in ill_frag_timeout()
/titanic_50/usr/src/cmd/gss/gssd/
H A Dgssd_proc.c197 OM_uint32 current_time; in gssd_alloc_slot() local
206 current_time = (OM_uint32) time(NULL); in gssd_alloc_slot()
209 last_syslog = current_time; /* Save 1st alloc time */ in gssd_alloc_slot()
217 if (((current_time - last_syslog) > syslog_interval) || in gssd_alloc_slot()
222 current_time - lru->create_time, tooks, in gssd_alloc_slot()
223 current_time - last_syslog); in gssd_alloc_slot()
225 last_syslog = current_time; in gssd_alloc_slot()
239 lru->create_time = current_time; in gssd_alloc_slot()
/titanic_50/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/
H A Dpiclfrutree.c4635 time_t current_time; in event_completion_handler() local
4653 current_time = (uint64_t)(time(NULL)); in event_completion_handler()
4656 "on %s", ctime(&current_time), ename, value, name); in event_completion_handler()
/titanic_50/usr/src/uts/common/inet/tcp/
H A Dtcp.c3640 int32_t current_time; in tcp_iss_key_init() member
3652 tcp_iss_cookie.current_time = t; in tcp_iss_key_init()
/titanic_50/usr/src/uts/common/io/scsi/targets/
H A Dsd.c25590 clock_t current_time; local
25627 current_time = start_time;
25628 ownership_time = current_time + drv_usectohz(min_ownership_delay);
25631 while (current_time - end_time < 0) {
25643 previous_current_time = current_time;
25644 current_time = ddi_get_lbolt();
25659 "reservation=%s\n", (current_time - previous_current_time),
25662 if (current_time - ownership_time >= 0 &&
25667 if (current_time - end_time >= 0) {
/titanic_50/usr/src/uts/intel/io/scsi/adapters/arcmsr/
H A Darcmsr.c3152 time_t current_time = ddi_get_time(); in arcmsr_ccbs_timeout() local
3187 if (ccb->ccb_time >= current_time) { in arcmsr_ccbs_timeout()