Home
last modified time | relevance | path

Searched refs:t1 (Results 1 – 25 of 268) sorted by path

1234567891011

/illumos-gate/usr/src/boot/i386/common/
H A Dcons.c126 uint32_t t0, t1, c; in keyhit() local
144 t1 = *(uint32_t *)PTOV(0x46c); in keyhit()
146 t0 = t1; in keyhit()
147 if (t1 < t0 || t1 >= t0 + secs) in keyhit()
/illumos-gate/usr/src/boot/sys/sys/
H A Dtime.h448 void timevaladd(struct timeval *t1, const struct timeval *t2);
449 void timevalsub(struct timeval *t1, const struct timeval *t2);
/illumos-gate/usr/src/cmd/abi/appcert/scripts/
H A Dsymprof.pl1184 $t1 = $1;
1193 $from = wclean($t1, 1);
1255 my ($t1, $t2); # tmp vars for regex output
1258 $t1 = $1;
1260 $filtee = wclean($t1);
1263 $t1 = $1;
1265 $filtee = wclean($t1, 1);
1318 $t1 = $1;
1320 $thing_needed = wclean($t1);
1323 $t1 = $1;
[all …]
/illumos-gate/usr/src/cmd/acct/
H A Dacctcon.c446 tcmp(struct tbuf *t1, struct tbuf *t2) in tcmp() argument
448 return (strncmp(t1->tline, t2->tline, LSZ)); in tcmp()
H A Dacctmerg.c191 t1->ta_cpu[0] = t1->ta_cpu[0] + t2->ta_cpu[0]; in tacctadd()
192 t1->ta_cpu[1] = t1->ta_cpu[1] + t2->ta_cpu[1]; in tacctadd()
193 t1->ta_kcore[0] = t1->ta_kcore[0] + t2->ta_kcore[0]; in tacctadd()
194 t1->ta_kcore[1] = t1->ta_kcore[1] + t2->ta_kcore[1]; in tacctadd()
195 t1->ta_con[0] = t1->ta_con[0] + t2->ta_con[0]; in tacctadd()
196 t1->ta_con[1] = t1->ta_con[1] + t2->ta_con[1]; in tacctadd()
197 t1->ta_du = t1->ta_du + t2->ta_du; in tacctadd()
198 t1->ta_pc += t2->ta_pc; in tacctadd()
199 t1->ta_sc += t2->ta_sc; in tacctadd()
200 t1->ta_dc += t2->ta_dc; in tacctadd()
[all …]
/illumos-gate/usr/src/cmd/acct/lib/
H A Dpnpsplit.c310 tmsecs(struct tm *t1, struct tm *t2) in tmsecs() argument
312 return((t2->tm_sec - t1->tm_sec) + in tmsecs()
313 60*(t2->tm_min - t1->tm_min) + in tmsecs()
314 3600L*(t2->tm_hour - t1->tm_hour)); in tmsecs()
323 tmless(struct tm *t1, struct tm *t2) in tmless() argument
325 if (t1->tm_hour != t2->tm_hour) in tmless()
326 return(t1->tm_hour < t2->tm_hour); in tmless()
327 if (t1->tm_min != t2->tm_min) in tmless()
328 return(t1->tm_min < t2->tm_min); in tmless()
329 return(t1->tm_sec < t2->tm_sec); in tmless()
H A Dtmless.c37 tmless(t1, t2) in tmless() argument
38 register struct tm *t1, *t2; in tmless()
40 if (t1->tm_hour != t2->tm_hour)
41 return(t1->tm_hour < t2->tm_hour);
42 if (t1->tm_min != t2->tm_min)
43 return(t1->tm_min < t2->tm_min);
44 return(t1->tm_sec < t2->tm_sec);
H A Dtmsecs.c35 tmsecs(t1, t2) in tmsecs() argument
36 register struct tm *t1, *t2; in tmsecs()
38 return((t2->tm_sec - t1->tm_sec) +
39 60*(t2->tm_min - t1->tm_min) +
40 3600L*(t2->tm_hour - t1->tm_hour));
/illumos-gate/usr/src/cmd/amt/
H A Damt.c605 segv_action(int which_sig, siginfo_t *t1, void *t2) in segv_action() argument
/illumos-gate/usr/src/cmd/ast/libshell/common/tests/
H A Dillumos_13434_chunked_heredoc.sh132 t1=`mktemp`
134 if [[ ! -f "$t1" || ! -f "$t2" ]]; then
141 cat > "$t1" << EOF
148 if ! cmp -s "$t1" "$t2"; then
154 rm -f "$t1" "$t2"
H A Dillumos_4149_builtin_head.sh36 t1=`mktemp`
39 if [[ ! -f "$t1" || ! -f "$t2" || ! -f "$t3" ]]; then
43 rm -f "$t1" "$t2" "$t3"
49 done | tee $t1 > $t2
55 [[ $(head -1 $t1) == 'test00' ]] || \
58 [[ $(head -2 $t1) == $'test00\ntest01' ]] || \
61 [[ $(head -s 2 -n2 $t1) == $'test02\ntest03' ]] || \
64 [[ $(head -5 $t1) == $'test00\ntest01\ntest02\ntest03\ntest04' ]] || \
70 [[ $(tail -1 $t1) == 'test04' ]] || \
73 [[ $(tail -2 $t1) == $'test03\ntest04' ]] || \
[all …]
H A Dsun_solaris_compound_nameref.sh143 function t1
156 t1 addrsp
194 function t1
207 t1 addrsp
/illumos-gate/usr/src/cmd/audio/audiotest/
H A Daudiotest.c231 struct timeval t1, t2; in testdsp() local
296 (void) gettimeofday(&t1, NULL); in testdsp()
323 t = t2.tv_sec - t1.tv_sec; in testdsp()
327 t -= t1.tv_usec / 1000; in testdsp()
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A DREADME123 lease expiration timer, time-to-first-renewal (t1) timer, and so
H A DREADME.v6893 if_{t1,t2,lease} to hold the relative timer values, we will
H A Dbound.c455 get_pkt_times(PKT_LIST *ack, lease_t *lease, lease_t *t1, lease_t *t2) in get_pkt_times() argument
458 *t1 = DHCP_PERM; in get_pkt_times()
485 (void) memcpy(t1, ack->opts[CD_T1_TIME]->value, sizeof (*t1)); in get_pkt_times()
486 *t1 = ntohl(*t1); in get_pkt_times()
495 if ((*t1 == DHCP_PERM) || (*t1 >= *lease)) in get_pkt_times()
496 *t1 = (lease_t)fuzzify(*lease, DHCP_T1_FACT); in get_pkt_times()
498 if ((*t2 == DHCP_PERM) || (*t2 > *lease) || (*t2 <= *t1)) in get_pkt_times()
502 *lease, *t1, *t2); in get_pkt_times()
516 lease_t lease, t1, t2; in configure_v4_timers() local
552 get_pkt_times(ack, &lease, &t1, &t2); in configure_v4_timers()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dftp.c83 hrtime_t t1, char *local, char *remote);
1727 hrtime_t t1, char *local, char *remote) in ptransfer() argument
1732 td = t1 - t0; in ptransfer()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/netstat/
H A Dnetstat.c1719 mib2_tcp_t *t1; in mib_item_diff() local
1723 t1 = (mib2_tcp_t *)tempp1->valp; in mib_item_diff()
1739 MDIFF(d, t2, t1, tcpHCOutSegs); in mib_item_diff()
1744 MDIFF(d, t2, t1, tcpOutAck); in mib_item_diff()
1746 MDIFF(d, t2, t1, tcpOutUrg); in mib_item_diff()
1750 MDIFF(d, t2, t1, tcpOutRsts); in mib_item_diff()
1752 MDIFF(d, t2, t1, tcpHCInSegs); in mib_item_diff()
1753 MDIFF(d, t2, t1, tcpInAckSegs); in mib_item_diff()
1755 MDIFF(d, t2, t1, tcpInDupAck); in mib_item_diff()
1769 MDIFF(d, t2, t1, tcpInClosed); in mib_item_diff()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/
H A Dilbd_sg.c415 struct in6_addr *t1, *l1; in i_test_and_insert() local
418 t1 = &tsrv->isv_addr; in i_test_and_insert()
421 if ((fnd = ilb_cmp_in6_addr(t1, l1, NULL)) == 1) in i_test_and_insert()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dtables.c962 token_equal(struct in6_addr t1, struct in6_addr t2, int tlen) in token_equal() argument
975 if (t1.s6_addr[j] != t2.s6_addr[j]) in token_equal()
983 if ((t1.s6_addr[j] & mask) != (t2.s6_addr[j] & mask)) in token_equal()
H A Dtables.h269 extern boolean_t token_equal(struct in6_addr t1, struct in6_addr t2,
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dmain.c63 static void timevalsub(struct timeval *t1, struct timeval *t2);
296 timevaladd(struct timeval *t1, struct timeval *t2) in timevaladd() argument
298 t1->tv_sec += t2->tv_sec; in timevaladd()
299 if ((t1->tv_usec += t2->tv_usec) > 1000000) { in timevaladd()
300 t1->tv_sec++; in timevaladd()
301 t1->tv_usec -= 1000000; in timevaladd()
306 timevalsub(struct timeval *t1, struct timeval *t2) in timevalsub() argument
308 t1->tv_sec -= t2->tv_sec; in timevalsub()
309 if ((t1->tv_usec -= t2->tv_usec) < 0) { in timevalsub()
310 t1->tv_sec--; in timevalsub()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/vrrpd/
H A Dvrrpd.c4489 timeval_delta(struct timeval t1, struct timeval t2) in timeval_delta() argument
4492 t.tv_sec = t1.tv_sec - t2.tv_sec; in timeval_delta()
4493 t.tv_usec = t1.tv_usec - t2.tv_usec; in timeval_delta()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dmain.c907 timevaladd(struct timeval *t1, in timevaladd() argument
911 t1->tv_sec += t2->tv_sec; in timevaladd()
912 if ((t1->tv_usec += t2->tv_usec) >= 1000000) { in timevaladd()
913 t1->tv_sec++; in timevaladd()
914 t1->tv_usec -= 1000000; in timevaladd()
921 timevalsub(struct timeval *t1, in timevalsub() argument
925 t1->tv_sec = t2->tv_sec - t3->tv_sec; in timevalsub()
926 if ((t1->tv_usec = t2->tv_usec - t3->tv_usec) < 0) { in timevalsub()
927 t1->tv_sec--; in timevalsub()
928 t1->tv_usec += 1000000; in timevalsub()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute.c1661 struct timeval t1, t2; in traceroute() local
1676 (void) gettimeofday(&t1, NULL); in traceroute()
1680 &t1, pr->packlen); in traceroute()
1683 &t1, pr->packlen); in traceroute()
1700 &t1)) != 0) { in traceroute()
1728 rtt = deltaT(&t1, &t2); in traceroute()

1234567891011