Home
last modified time | relevance | path

Searched refs:secs (Results 1 – 25 of 73) sorted by path

123

/illumos-gate/usr/src/boot/i386/common/
H A Dcons.c124 keyhit(unsigned int secs) in keyhit() argument
130 secs *= SECOND; in keyhit()
143 if (secs > 0) { in keyhit()
147 if (t1 < t0 || t1 >= t0 + secs) in keyhit()
H A Dcons.h32 int keyhit(unsigned int secs);
/illumos-gate/usr/src/boot/libsa/
H A Ddosfs.c76 uchar_t secs[2]; /* total sectors */ member
531 if (!(sc = cv2(bs->bpb.secs)) && !(sc = cv4(bs->bpb.lsecs))) in parsebs()
/illumos-gate/usr/src/cmd/acct/
H A Dacctdef.h112 #define MINS(secs) ((double) secs)/60 argument
/illumos-gate/usr/src/cmd/auditreduce/
H A Dproc.c384 time_t secs; local
421 secs = (time_t)s;
434 secs = (time_t)s;
445 secs = 0;
447 secs = (time_t)s;
449 secs = (time_t)s;
466 secs = 0;
468 secs = (time_t)s;
470 secs = (time_t)s;
1005 int32_t secs, msecs; local
[all …]
H A Dtime.c90 time_t secs, gsecs, lsecs, save_gsecs; in local_to_gm() local
98 r1secs = secs = tm_to_secs(tme); in local_to_gm()
99 (void) memcpy((void *)&gtime, (void *)gmtime(&secs), sizeof (gtime)); in local_to_gm()
100 (void) memcpy((void *)&ltime, (void *)localtime(&secs), sizeof (ltime)); in local_to_gm()
108 secs = lsecs - gsecs; in local_to_gm()
109 gsecs -= secs; in local_to_gm()
/illumos-gate/usr/src/cmd/bnu/
H A Dct.c731 secs; local
740 secs = _Log_elpsd % 60;
747 (void) fprintf(fp, ":%.2d %s\n", secs, num);
/illumos-gate/usr/src/cmd/cmd-inet/etc/
H A Dipqosconf.2.sample130 # Timeout flows if packets not seen for at least 60 secs.
132 # Scan the flow table every 15 secs for removing timed out flows.
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dpacket.c914 dpkt->pkt->secs = htons(dsmp->dsm_disc_secs); in send_pkt_internal()
918 dpkt->pkt->secs = htons(monosec() - in send_pkt_internal()
926 dpkt->pkt->secs = htons(dsmp->dsm_disc_secs); in send_pkt_internal()
930 dpkt->pkt->secs = htons(monosec() - in send_pkt_internal()
935 dpkt->pkt->secs = htons(0); in send_pkt_internal()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/
H A Deloop.c89 eloop_register_timeout(unsigned int secs, unsigned int usecs, in eloop_register_timeout() argument
99 timeout->time.tv_sec += secs; in eloop_register_timeout()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dtrace.c108 ts(time_t secs) in ts() argument
112 secs += epoch.tv_sec; in ts()
113 (void) strftime(s, sizeof (s), "%T", localtime(&secs)); in ts()
121 time_t secs; in ts_full() local
124 secs = tv->tv_sec + epoch.tv_sec; in ts_full()
125 (void) strftime(s, sizeof (s), "%Y/%m/%d %T", localtime(&secs)); in ts_full()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_dhcp.c172 (void) sprintf(get_line((char *)(uintptr_t)dp->secs - in interpret_dhcp()
174 "Time since boot = %d seconds", ntohs(dp->secs)); in interpret_dhcp()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dsyncloop.c416 float secs, speed; in many_packets() local
538 secs = (float)(end_time.tv_usec - start_time.tv_usec) / 1000000.0; in many_packets()
539 secs += (float)(end_time.tv_sec - start_time.tv_sec); in many_packets()
540 if (secs) { in many_packets()
541 speed = 8 * incount * (4 + reclen) / secs; in many_packets()
/illumos-gate/usr/src/cmd/dd/
H A Ddd.c1860 double secs = delta * 1e-9; in stats() local
1943 nicenum_scale((uint64_t)obytes / secs, 1, bps, sizeof (bps), in stats()
1948 "(%siB/sec)%s"), head, obytes, hobytes, secs, bps, tail); in stats()
/illumos-gate/usr/src/cmd/dtrace/demo/tcp/
H A Dtcptop.d50 secs = $2 ? $2 : 5;
84 /secs != 0/
86 secs--;
93 /secs == 0/
119 secs = 5;
/illumos-gate/usr/src/cmd/dtrace/demo/udp/
H A Dudptop.d51 secs = $2 ? $2 : 5;
82 /secs != 0/
84 secs--;
91 /secs == 0/
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/misc/
H A Dtst.enablerace.ksh63 /secs++/
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/ustack/
H A Dtst.spin.ksh59 secs++;
63 /secs > 5/
69 /secs > 10/
/illumos-gate/usr/src/cmd/fm/fminject/common/
H A Dinj_cmds.c136 inj_cmd_sleep(uint_t secs) in inj_cmd_sleep() argument
141 cmd->cmd_num = secs; in inj_cmd_sleep()
/illumos-gate/usr/src/cmd/logadm/
H A Dkw.c75 static char secs[MAXDIGITS]; in kw_init() local
122 (void) snprintf(secs, MAXDIGITS, "%d", (int)Now); in kw_init()
123 Keywords = lut_add(Keywords, "secs", secs); in kw_init()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_modapi.c141 uint64_t days, hours, mins, secs, frac; in mdb_nicetime() local
146 secs = delta % 60; in mdb_nicetime()
164 sign, daybuf, hours, mins, secs, fracbuf); in mdb_nicetime()
/illumos-gate/usr/src/cmd/mdb/common/modules/pmcs/
H A Dpmcs.c88 time_t secs; in pmcs_fwtime_to_systime() local
106 secs = ((time_t)fwtime / NSECS_PER_SEC); in pmcs_fwtime_to_systime()
119 stime->tv_sec -= secs; in pmcs_fwtime_to_systime()
125 stime->tv_sec += secs; in pmcs_fwtime_to_systime()
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_log.c149 time_t secs; in log_write_cur_time() local
151 secs = time(NULL); in log_write_cur_time()
152 (void) localtime_r(&secs, &tm); in log_write_cur_time()
/illumos-gate/usr/src/cmd/picl/picld/
H A Dpicld.c271 err = xptree_refresh_notify(in->req_wait.secs); in picld_wait()
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/lib/snmp/
H A Dsnmplib.c1507 snmp_refresh_get_cycle_hint(int secs) in snmp_refresh_get_cycle_hint() argument
1521 secs = (secs + HRTIME_SCALE - 1) / HRTIME_SCALE; in snmp_refresh_get_cycle_hint()
1523 jobs = (n_refreshq_jobs * secs) / MAX_INCACHE_TIME; in snmp_refresh_get_cycle_hint()

123