/illumos-gate/usr/src/test/os-tests/tests/ |
H A D | fifo-tvnsec.c | 52 static struct timespec now; variable 58 VERIFY0(clock_gettime(CLOCK_REALTIME, &now)); in update_time() 78 if (((chk & CHK_ATIME_GT) != 0) && !time_gt(&st->st_atim, &now)) { in check_times() 84 if (((chk & CHK_MTIME_GT) != 0) && !time_gt(&st->st_mtim, &now)) { in check_times() 90 if (((chk & CHK_CTIME_GT) != 0) && !time_gt(&st->st_ctim, &now)) { in check_times() 96 if (((chk & CHK_ATIME_LT) != 0) && !time_gt(&now, &st->st_atim)) { in check_times() 102 if (((chk & CHK_MTIME_LT) != 0) && !time_gt(&now, &st->st_mtim)) { in check_times() 108 if (((chk & CHK_CTIME_LT) != 0) && !time_gt(&now, &st->st_ctim)) { in check_times() 179 update[0] = now; in check_fifos() 180 update[1] = now; in check_fifos()
|
/illumos-gate/usr/src/uts/common/fs/fifofs/ |
H A D | fifovnops.c | 1092 timestruc_t now; in fifo_write() local 1093 gethrestime(&now); in fifo_write() 1096 fn_dest->fn_mtime = fn_dest->fn_ctime = now; in fifo_write() 1098 fnp->fn_mtime = fnp->fn_ctime = now; in fifo_write()
|
H A D | fifosubr.c | 523 timestruc_t now; in makepipe() local 541 gethrestime(&now); in makepipe() 542 fnp1->fn_atime = fnp2->fn_atime = now; in makepipe() 543 fnp1->fn_mtime = fnp2->fn_mtime = now; in makepipe() 544 fnp1->fn_ctime = fnp2->fn_ctime = now; in makepipe()
|
/illumos-gate/usr/src/cmd/smbsrv/smbadm/ |
H A D | smbinfo.c | 188 time_t now; variable 400 print_age(now - ui->ui_logon_time, buf, buflen); in fmt_user() 459 print_time(now - nc->ci_time, TIME_FMT, buf, buflen); in fmt_tree() 520 now = time(NULL); in do_enum()
|
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_input.c | 1552 int64_t now; in tcp_input_listener() local 1556 now = ddi_get_lbolt64(); in tcp_input_listener() 1560 if (now - tlc->tlc_report_time > in tcp_input_listener() 1567 tlc->tlc_report_time = now; in tcp_input_listener()
|
H A D | tcp_output.c | 237 clock_t now = LBOLT_FASTPATH; in tcp_wput_data() local 389 (TICK_TO_MSEC(now - tcp->tcp_last_recv_time) >= tcp->tcp_rto)) { in tcp_wput_data() 1117 clock_t now; in tcp_output() local 1210 now = LBOLT_FASTPATH; in tcp_output() 1212 (TICK_TO_MSEC(now - tcp->tcp_last_recv_time) >= tcp->tcp_rto)) { in tcp_output() 1333 U32_TO_BE32(now, in tcp_output() 3353 int64_t now; in tcp_send_rst_chk() local 3366 now = ddi_get_lbolt64(); in tcp_send_rst_chk() 3367 if (TICK_TO_MSEC(now - tcps->tcps_last_rst_intrvl) > in tcp_send_rst_chk() 3369 tcps->tcps_last_rst_intrvl = now; in tcp_send_rst_chk()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/lmrc/ |
H A D | lmrc.c | 666 clock_t now; in lmrc_poll_mfi() local 678 now = ddi_get_lbolt(); in lmrc_poll_mfi() 679 } while (!lmrc->l_fw_fault && now <= timeout); in lmrc_poll_mfi() 684 if (now > timeout) { in lmrc_poll_mfi() 1124 hrtime_t now; in lmrc_tgt_timeout_cmds() local 1133 now = gethrtime(); in lmrc_tgt_timeout_cmds() 1135 if (now > mpt->mpt_timeout) { in lmrc_tgt_timeout_cmds() 1140 mpt->mpt_timeout = now + LMRC_IO_TIMEOUT * NANOSEC; in lmrc_tgt_timeout_cmds()
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_property/ |
H A D | zfs_written_property_001_pos.ksh | 197 log_must zfs snapshot -r $TESTPOOL/$TESTFS1@now 199 writtenat=$(get_prop written@now $ds) 204 writtenat=$(get_prop written@now $ds)
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip.c | 1336 timestruc_t now; in icmp_inbound_v4() local 1497 gethrestime(&now); in icmp_inbound_v4() 1498 ts = (now.tv_sec % (24 * 60 * 60)) * 1000 + in icmp_inbound_v4() 1499 NSEC2MSEC(now.tv_nsec); in icmp_inbound_v4() 2952 clock_t now = TICK_TO_MSEC(ddi_get_lbolt()); in icmp_err_rate_limit() local 2960 if (ipst->ips_icmp_pkt_err_last > now) { in icmp_err_rate_limit() 2971 refilled = (now - ipst->ips_icmp_pkt_err_last)/err_interval; in icmp_err_rate_limit() 2981 ipst->ips_icmp_pkt_err_last = now; in icmp_err_rate_limit() 9047 timestruc_t now; in ip_forward_options() local 9194 gethrestime(&now); in ip_forward_options() [all …]
|
H A D | ip_output.c | 292 int64_t now = LBOLT_FASTPATH64; in conn_ip_output() local 294 if ((TICK_TO_SEC(now) - dce->dce_last_change_time > in conn_ip_output() 304 dce->dce_last_change_time = TICK_TO_SEC(now); in conn_ip_output() 821 int64_t now; in ip_output_simple_v4() local 940 now = ddi_get_lbolt64(); in ip_output_simple_v4() 941 if (TICK_TO_SEC(now) - dce->dce_last_change_time > in ip_output_simple_v4() 948 dce->dce_last_change_time = TICK_TO_SEC(now); in ip_output_simple_v4()
|
H A D | ip6_output.c | 124 int64_t now; in ip_output_simple_v6() local 244 now = ddi_get_lbolt64(); in ip_output_simple_v6() 245 if (TICK_TO_SEC(now) - dce->dce_last_change_time > in ip_output_simple_v6() 252 dce->dce_last_change_time = TICK_TO_SEC(now); in ip_output_simple_v6()
|
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | socktpi.c | 6570 time_t now; in sotpi_info_init() local 6579 now = gethrestime_sec(); in sotpi_info_init() 6580 sti->sti_atime = now; in sotpi_info_init() 6581 sti->sti_mtime = now; in sotpi_info_init() 6582 sti->sti_ctime = now; in sotpi_info_init()
|
H A D | socksubr.c | 188 time_t now = gethrestime_sec(); in so_update_attrs() local 196 SOTOTPI(so)->sti_atime = now; in so_update_attrs() 198 SOTOTPI(so)->sti_mtime = now; in so_update_attrs()
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | synch.c | 71 hrtime_t now = gethrtime(); in record_hold_time() local 74 msp->mutex_hold_time += now - msp->mutex_begin_hold; in record_hold_time() 76 return (now); in record_hold_time()
|
/illumos-gate/usr/src/lib/libc/ |
H A D | README | 245 Since ON now uses direct bindings extensively all symbols not explicitly
|
/illumos-gate/usr/src/cmd/latencytop/ |
H A D | dwrapper.c | 539 uint64_t now = lt_millisecond(); in lt_dtrace_work() local 541 if (!force && now - last_snap < g_config.lt_cfg_snap_interval) { in lt_dtrace_work() 542 return (last_snap + g_config.lt_cfg_snap_interval - now); in lt_dtrace_work() 557 last_snap = now; in lt_dtrace_work()
|
H A D | latencytop.d | 155 this unsigned long long now; variable 160 this->now = timestamp; 163 ? this->end : this->now; 165 self->lt_sch_delay = this->now - this->end;
|
H A D | display.c | 556 uint64_t now = lt_millisecond(); in print_hint() local 563 if (now < next_hint) { in print_hint() 569 next_hint = now + update_interval; in print_hint() 574 next_hint = now + update_interval * 2; in print_hint()
|
/illumos-gate/usr/src/uts/common/rpc/sec_gss/ |
H A D | svc_rpcsec_gss.c | 1835 time_t now = gethrestime_sec(); in sweep_clients() local 1839 last_reference_needed = now - (from_reclaim ? in sweep_clients() 1854 cl->expiration <= now) || cl->stale || in sweep_clients() 1858 cl->expiration <= now) || cl->stale || in sweep_clients()
|
H A D | rpcsec_gss.c | 186 time_t now; in gssauth_zone_fini() local 201 now = gethrestime_sec(); in gssauth_zone_fini() 203 now) || p->in_use) { in gssauth_zone_fini() 205 now) && p->in_use) { in gssauth_zone_fini()
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_opt_data.c | 463 int64_t now; in sctp_set_peer_addr_params() local 494 now = ddi_get_lbolt64(); in sctp_set_peer_addr_params() 504 fp->sf_hb_expiry = now + SET_HB_INTVL(fp); in sctp_set_peer_addr_params() 526 fp2->sf_hb_expiry = now + SET_HB_INTVL(fp2); in sctp_set_peer_addr_params()
|
H A D | sctp_input.c | 3629 int64_t now; in sctp_input_data() local 3775 now = LBOLT_FASTPATH64; in sctp_input_data() 3824 TICK_TO_MSEC(now - in sctp_input_data() 4034 eager->sctp_active = now; in sctp_input_data() 4116 sctp->sctp_active = now; in sctp_input_data() 4157 sctp->sctp_active = now; in sctp_input_data() 4195 sctp->sctp_active = now; in sctp_input_data()
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_sched.c | 1242 clock_t now = ddi_get_lbolt(); \ 1243 if ((mac_srs)->srs_bw->mac_bw_curr_time != now) { \ 1244 (mac_srs)->srs_bw->mac_bw_curr_time = now; \ 2816 clock_t now; in mac_rx_srs_drain_bw() local 2823 now = ddi_get_lbolt(); in mac_rx_srs_drain_bw() 2824 if (mac_srs->srs_bw->mac_bw_curr_time != now) { in mac_rx_srs_drain_bw() 2825 mac_srs->srs_bw->mac_bw_curr_time = now; in mac_rx_srs_drain_bw() 3885 clock_t now; in mac_tx_bw_mode() local 3913 now = ddi_get_lbolt(); in mac_tx_bw_mode() 3914 if (mac_srs->srs_bw->mac_bw_curr_time != now) { in mac_tx_bw_mode() [all …]
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_server.c | 2735 clock_t now; in smb_server_create_session() local 2791 now = ddi_get_lbolt(); in smb_server_create_session() 2792 if (now > ld->ld_quiet) { in smb_server_create_session() 2793 ld->ld_quiet = now + SEC_TO_TICK(60); in smb_server_create_session()
|
/illumos-gate/usr/src/lib/libc/port/ |
H A D | mapfile-vers | 1473 # may depend on them. All symbol content for SunOS 5.6 is now in SUNW_1.1
|