/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/ |
H A D | table.c | 82 long current_time; in find_match() local 85 current_time = tp.tv_sec; in find_match() 96 if ((ptr->time - current_time) > MAX_LIFE) { in find_match() 133 long current_time; in find_request() local 136 current_time = tp.tv_sec; in find_request() 152 if ((ptr->time - current_time) > MAX_LIFE) { in find_request() 173 ptr->time = current_time; in find_request() 187 long current_time; in insert_table() local 190 current_time = tp.tv_sec; in insert_table() 203 ptr->time = current_time; in insert_table()
|
/illumos-gate/usr/src/lib/libdhcpagent/common/ |
H A D | dhcp_hostconf.c | 101 time_t orig_time, current_time = time(NULL); in read_hostconf() local 219 current_time); in read_hostconf() 221 current_time); in read_hostconf() 255 orig_time, current_time); in read_hostconf() 257 orig_time, current_time); in read_hostconf() 280 (orig_time + lease) <= current_time) in read_hostconf() 285 current_time); in read_hostconf() 287 current_time); in read_hostconf() 289 current_time); in read_hostconf() 379 relativize_time(DHCP_OPT *option, time_t orig_time, time_t current_time) in relativize_time() argument [all …]
|
/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_timeout.c | 243 hrtime_t current_time; in sip_schedule_to_functions() local 253 return ((hrtime_t)LONG_SLEEP_TIME + current_time); in sip_schedule_to_functions() 254 current_time = (hrtime_t)tspec.tv_sec * (hrtime_t)NANOSEC + in sip_schedule_to_functions() 257 current_time = gethrtime(); in sip_schedule_to_functions() 260 return ((hrtime_t)LONG_SLEEP_TIME + current_time); in sip_schedule_to_functions() 266 while (timeout != NULL && timeout->sip_timeout_val <= current_time) { in sip_schedule_to_functions() 294 return ((hrtime_t)LONG_SLEEP_TIME + current_time); in sip_schedule_to_functions() 305 hrtime_t current_time; in sip_timer_thr() local 334 current_time = (hrtime_t)tspec.tv_sec * (hrtime_t)NANOSEC + in sip_timer_thr() 337 current_time = gethrtime(); in sip_timer_thr() [all …]
|
/illumos-gate/usr/src/cmd/latencytop/ |
H A D | latencytop.c | 220 uint64_t current_time; in main() local 508 current_time = lt_millisecond(); in main() 513 delta_time = current_time; in main() 514 current_time = lt_millisecond(); in main() 515 delta_time = current_time - delta_time; in main() 518 current_time - last_logged > log_interval * 1000) { in main() 520 last_logged = current_time; in main()
|
/illumos-gate/usr/src/uts/common/io/1394/adapters/ |
H A D | hci1394_tlist.c | 311 hrtime_t current_time; in hci1394_tlist_callback() local 326 current_time = gethrtime(); in hci1394_tlist_callback() 333 if (((uint64_t)current_time >= in hci1394_tlist_callback() 364 } else if ((uint64_t)(current_time >= in hci1394_tlist_callback() 366 (((uint64_t)current_time + in hci1394_tlist_callback() 368 (uint64_t)current_time)) { in hci1394_tlist_callback()
|
H A D | hci1394_ixl_isr.c | 813 hrtime_t current_time, last_time, delta, delta_thresh; in hci1394_isoch_cycle_inconsistent() local 846 current_time = gethrtime(); in hci1394_isoch_cycle_inconsistent() 848 delta = current_time - last_time; in hci1394_isoch_cycle_inconsistent() 875 soft_statep->isoch->cycle_incon_thresh.last_intr_time = current_time; in hci1394_isoch_cycle_inconsistent() 898 hrtime_t current_time, last_time, delta, delta_thresh; in hci1394_isoch_cycle_lost() local 931 current_time = gethrtime(); in hci1394_isoch_cycle_lost() 933 delta = current_time - last_time; in hci1394_isoch_cycle_lost() 960 soft_statep->isoch->cycle_lost_thresh.last_intr_time = current_time; in hci1394_isoch_cycle_lost()
|
H A D | hci1394_async.c | 133 uint_t current_time); 2790 uint_t current_time) in hci1394_async_timeout_calc() argument 2813 temp = (current_time & OHCI_CYCLE_CNT_MASK) + (split_timeout & in hci1394_async_timeout_calc() 2832 z = (current_time & OHCI_CYCLE_SEC_MASK) + (split_timeout & in hci1394_async_timeout_calc()
|
/illumos-gate/usr/src/lib/libinetutil/common/ |
H A D | tq.c | 283 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()
|
/illumos-gate/usr/src/uts/common/rpc/sec/ |
H A D | svcauthdes.c | 148 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(¤t_time, ×tamp)) { in _svcauth_des()
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip_dce.c | 888 uint64_t current_time; in ip_snmp_get_mib2_ip_dce() local 890 current_time = TICK_TO_SEC(ddi_get_lbolt64()); in ip_snmp_get_mib2_ip_dce() 915 dest_cache.DestAge = current_time - in ip_snmp_get_mib2_ip_dce() 960 dest_cache.DestAge = current_time - in ip_snmp_get_mib2_ip_dce()
|
H A D | ip_if.c | 2402 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()
|
/illumos-gate/usr/src/cmd/gss/gssd/ |
H A D | gssd_proc.c | 197 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()
|
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp.c | 3679 int32_t current_time; in tcp_iss_key_init() member 3691 tcp_iss_cookie.current_time = t; in tcp_iss_key_init()
|
/illumos-gate/usr/src/uts/common/io/scsi/targets/ |
H A D | sd.c | 25008 clock_t current_time; local 25045 current_time = start_time; 25046 ownership_time = current_time + drv_usectohz(min_ownership_delay); 25049 while (current_time - end_time < 0) { 25061 previous_current_time = current_time; 25062 current_time = ddi_get_lbolt(); 25077 "reservation=%s\n", (current_time - previous_current_time), 25080 if (current_time - ownership_time >= 0 && 25085 if (current_time - end_time >= 0) {
|
/illumos-gate/usr/src/uts/intel/io/scsi/adapters/arcmsr/ |
H A D | arcmsr.c | 3149 time_t current_time = ddi_get_time(); in arcmsr_ccbs_timeout() local 3184 if (ccb->ccb_time >= current_time) { in arcmsr_ccbs_timeout()
|