Home
last modified time | relevance | path

Searched full:tp1 (Results 1 – 25 of 34) sorted by relevance

12

/freebsd/sys/netinet/
H A Dsctp_indata.c2937 struct sctp_tmit_chunk *tp1; in sctp_process_segment_range() local
2941 /* Recover the tp1 we last saw */ in sctp_process_segment_range()
2942 tp1 = *p_tp1; in sctp_process_segment_range()
2943 if (tp1 == NULL) { in sctp_process_segment_range()
2944 tp1 = TAILQ_FIRST(&stcb->asoc.sent_queue); in sctp_process_segment_range()
2948 while (tp1) { in sctp_process_segment_range()
2949 if (tp1->rec.data.doing_fast_retransmit) in sctp_process_segment_range()
2960 if ((tp1->sent < SCTP_DATAGRAM_RESEND) && in sctp_process_segment_range()
2961 (tp1->whoTo->find_pseudo_cumack == 1) && in sctp_process_segment_range()
2962 (tp1->snd_count == 1)) { in sctp_process_segment_range()
[all …]
H A Dsctp_var.h244 #define sctp_flight_size_decrease(tp1) do { \ argument
245 if (tp1->whoTo->flight_size >= tp1->book_size) \
246 tp1->whoTo->flight_size -= tp1->book_size; \
248 tp1->whoTo->flight_size = 0; \
251 #define sctp_flight_size_increase(tp1) do { \ argument
252 (tp1)->whoTo->flight_size += (tp1)->book_size; \
256 #define sctp_total_flight_decrease(stcb, tp1) do { \ argument
260 stcb->asoc.fslog[stcb->asoc.fs_index].tsn = tp1->rec.data.tsn; \
261 stcb->asoc.fslog[stcb->asoc.fs_index].book = tp1->book_size; \
262 stcb->asoc.fslog[stcb->asoc.fs_index].sent = tp1->sent; \
[all …]
H A Dtcp_hpts_test.c935 struct tcpcb *tp1, *tp2; in KTEST_FUNC() local
946 tp1 = test_hpts_create_tcpcb(ctx, pace); in KTEST_FUNC()
948 KTEST_NEQUAL(tp1, NULL); in KTEST_FUNC()
952 tp1->t_hpts_cpu = 0; in KTEST_FUNC()
956 INP_WLOCK(&tp1->t_inpcb); in KTEST_FUNC()
957 tp1->t_flags2 |= TF2_HPTS_CALLS; in KTEST_FUNC()
958 tcp_hpts_insert(pace, tp1, 100, NULL); in KTEST_FUNC()
959 INP_WUNLOCK(&tp1->t_inpcb); in KTEST_FUNC()
968 /* Manually transition tp1 to MOVING state to simulate race condition */ in KTEST_FUNC()
970 tp1->t_in_hpts = IHPTS_MOVING; in KTEST_FUNC()
[all …]
H A Dsctputil.c5038 struct sctp_tmit_chunk *tp1, int chk_cnt) in sctp_free_bufspace() argument
5040 if (tp1->data == NULL) { in sctp_free_bufspace()
5048 tp1->book_size, in sctp_free_bufspace()
5050 tp1->mbcnt); in sctp_free_bufspace()
5053 if (asoc->total_output_queue_size >= tp1->book_size) { in sctp_free_bufspace()
5054 atomic_subtract_int(&asoc->total_output_queue_size, tp1->book_size); in sctp_free_bufspace()
5061 SCTP_SB_DECR(&stcb->sctp_socket->so_snd, tp1->book_size); in sctp_free_bufspace()
5066 sctp_release_pr_sctp_chunk(struct sctp_tcb *stcb, struct sctp_tmit_chunk *tp1, in sctp_release_pr_sctp_chunk() argument
5081 sid = tp1->rec.data.sid; in sctp_release_pr_sctp_chunk()
5082 mid = tp1->rec.data.mid; in sctp_release_pr_sctp_chunk()
[all …]
H A Dsctp_input.c3061 struct sctp_tmit_chunk *tp1; in process_chunk_drop() local
3064 TAILQ_FOREACH(tp1, &stcb->asoc.sent_queue, sctp_next) { in process_chunk_drop()
3065 if (tp1->rec.data.tsn == tsn) { in process_chunk_drop()
3069 if (SCTP_TSN_GT(tp1->rec.data.tsn, tsn)) { in process_chunk_drop()
3071 tp1 = NULL; in process_chunk_drop()
3075 if (tp1 == NULL) { in process_chunk_drop()
3081 TAILQ_FOREACH(tp1, &stcb->asoc.sent_queue, sctp_next) { in process_chunk_drop()
3082 if (tp1->rec.data.tsn == tsn) { in process_chunk_drop()
3088 if (tp1 == NULL) { in process_chunk_drop()
3091 if ((tp1) && (tp1->sent < SCTP_DATAGRAM_ACKED)) { in process_chunk_drop()
[all …]
/freebsd/cddl/lib/libtpool/tests/
H A Dlibtpool_test.c38 tpool_t *tp0, *tp1; in ATF_TC_BODY() local
65 tp1 = tpool_create(nworkers, 2 * nworkers, 1, NULL); in ATF_TC_BODY()
66 ATF_REQUIRE(tp1 != NULL); in ATF_TC_BODY()
67 ATF_REQUIRE_EQ(tpool_dispatch(tp1, tp_delay, NULL), -1); in ATF_TC_BODY()
73 tpool_wait(tp1); in ATF_TC_BODY()
/freebsd/contrib/kyua/model/
H A Dtest_program_test.cpp314 const TestProgram tp1( in check_operators_eq_and_ne__copy() local
318 const TestProgram tp2 = tp1; in check_operators_eq_and_ne__copy()
319 ATF_REQUIRE( tp1 == tp2); in check_operators_eq_and_ne__copy()
320 ATF_REQUIRE(!(tp1 != tp2)); in check_operators_eq_and_ne__copy()
485 const TestProgram tp1( in check_operator_lt() local
498 ATF_REQUIRE(!(tp1 < tp1)); in check_operator_lt()
500 ATF_REQUIRE( tp1 < tp2); in check_operator_lt()
501 ATF_REQUIRE(!(tp2 < tp1)); in check_operator_lt()
503 ATF_REQUIRE(!(tp1 < tp3)); in check_operator_lt()
504 ATF_REQUIRE( tp3 < tp1); in check_operator_lt()
[all …]
/freebsd/usr.bin/calendar/
H A Dday.c49 settimes(time_t now, int before, int after, int friday, struct tm *tp1, struct tm *tp2) in settimes() argument
60 localtime_r(&time1, tp1); in settimes()
61 year1 = 1900 + tp1->tm_year; in settimes()
66 strftime(dayname, sizeof(dayname) - 1, "%A, %d %B %Y", tp1); in settimes()
H A Dcalendar.c71 struct tm tp1, tp2; in main() local
181 settimes(f_time, f_dayBefore, f_dayAfter, Friday, &tp1, &tp2); in main()
182 generatedates(&tp1, &tp2); in main()
H A Ddates.c170 generatedates(struct tm *tp1, struct tm *tp2) in generatedates() argument
176 y1 = tp1->tm_year; in generatedates()
177 m1 = tp1->tm_mon + 1; in generatedates()
178 d1 = tp1->tm_mday; in generatedates()
H A Dcalendar.h160 void settimes(time_t,int before, int after, int friday, struct tm *tp1, struct tm *tp2);
182 void generatedates(struct tm *tp1, struct tm *tp2);
/freebsd/crypto/openssl/crypto/bn/asm/
H A Drsaz-avx2.pl123 my $tp1=$r3;
228 lea 448(%rsp), $tp1 # 64+128+256=448
256 vmovdqu $ACC9, 32*10-448($tp1)
258 vmovdqu $ACC9, 32*11-448($tp1)
260 vmovdqu $ACC9, 32*12-448($tp1)
262 vmovdqu $ACC9, 32*13-448($tp1)
264 vmovdqu $ACC9, 32*14-448($tp1)
266 vmovdqu $ACC9, 32*15-448($tp1)
268 vmovdqu $ACC9, 32*16-448($tp1)
271 vmovdqu $ACC9, 32*17-448($tp1)
[all …]
/freebsd/crypto/openssl/crypto/aes/asm/
H A Daes-x86_64.pl1094 xor $tp10,$tp20 # tp2^=tp1
1096 xor $tp18,$tp28 # tp2^=tp1
1101 xor $tp10,$tp40 # tp4^=tp1
1102 xor $tp18,$tp48 # tp4^=tp1
1110 xor $tp80,$tp10 # tp1^=tp8
1111 xor $tp88,$tp18 # tp1^=tp8
1112 xor $tp80,$tp20 # tp2^tp1^=tp8
1113 xor $tp88,$tp28 # tp2^tp1^=tp8
1116 xor $tp80,$tp40 # tp4^tp1^=tp8
1118 xor $tp88,$tp48 # tp4^tp1^=tp8
[all …]
H A Daes-586.pl1305 &xor ($tp2,$s[$i]); # tp2^tp1
1316 &xor ($tp4,$s[$i]); # tp4^tp1
1317 &rotl ($s[$i],8); # = ROTATE(tp1,8)
1325 &xor ($s[$i],$tp8); # ^= tp8^(tp4^tp1)^(tp2^tp1)
1327 &xor ($s[$i],$tp2); # ^= ROTATE(tp8^tp2^tp1,24)
1329 &xor ($s[$i],$tp4); # ^= ROTATE(tp8^tp4^tp1,16)
2881 { my ($i,$key,$tp1,$tp2,$tp4,$tp8) = @_;
2885 &and ($tmp,$tp1);
2886 &lea ($tp2,&DWP(0,$tp1,$tp1));
2902 &xor ($tp2,$tp1); # tp2^tp1
[all …]
H A Daes-mips.pl1666 my ($tp1,$tp2,$tp4,$tp8,$tp9,$tpb,$tpd,$tpe)=($a4,$a5,$a6,$a7,$s0,$s1,$s2,$s3);
1729 lw $tp1,16($key) # modulo-scheduled
1740 and $m,$tp1,$x80808080
1741 and $tp2,$tp1,$x7f7f7f7f
1764 xor $tp9,$tp8,$tp1
1770 rotr $tp1,$tpd,16
1773 xor $tpe,$tp1
1776 lw $tp1,4($key) # modulo-scheduled
1779 _ror $tp1,$tpd,16
1782 xor $tpe,$tp1
[all …]
H A Daes-s390x.pl1128 .Lmix: l $s0,16($key) # tp1
1156 xr $s1,$s0 # tp2^tp1
1157 xr $s2,$s0 # tp4^tp1
1158 rll $s0,$s0,24 # = ROTATE(tp1,8)
1160 xr $s0,$s1 # ^=tp2^tp1
1161 xr $s1,$s3 # tp2^tp1^tp8
1162 xr $s0,$s2 # ^=tp4^tp1^tp8
1165 xr $s0,$s1 # ^= ROTATE(tp8^tp2^tp1,24)
1167 xr $s0,$s2 # ^= ROTATE(tp8^tp4^tp1,16)
/freebsd/crypto/openssl/crypto/aes/
H A Daes_x86core.c601 u32 tp1, tp2, tp4, tp8, tp9, tpb, tpd, tpe, m; in AES_set_decrypt_key() local
603 tp1 = rk[j]; in AES_set_decrypt_key()
604 m = tp1 & 0x80808080; in AES_set_decrypt_key()
605 tp2 = ((tp1 & 0x7f7f7f7f) << 1) ^ in AES_set_decrypt_key()
613 tp9 = tp8 ^ tp1; in AES_set_decrypt_key()
913 u32 tp1, tp2, tp4, tp8, tp9, tpb, tpd, tpe, m; in AES_decrypt() local
916 tp1 = t[i]; in AES_decrypt()
917 m = tp1 & 0x80808080; in AES_decrypt()
918 tp2 = ((tp1 & 0x7f7f7f7f) << 1) ^ in AES_decrypt()
926 tp9 = tp8 ^ tp1; in AES_decrypt()
[all …]
H A Daes_core.c1984 u32 tp1, tp2, tp4, tp8, tp9, tpb, tpd, tpe, m; in AES_set_decrypt_key() local
1986 tp1 = rk[j]; in AES_set_decrypt_key()
1987 m = tp1 & 0x80808080; in AES_set_decrypt_key()
1988 tp2 = ((tp1 & 0x7f7f7f7f) << 1) ^ in AES_set_decrypt_key()
1996 tp9 = tp8 ^ tp1; in AES_set_decrypt_key()
/freebsd/contrib/tcpdump/
H A Dprint-tcp.c903 struct tcphdr tp1; in tcp_verify_signature() local
917 tp1 = *tp; in tcp_verify_signature()
957 memcpy(&savecsum, tp1.th_sum, sizeof(savecsum)); in tcp_verify_signature()
958 memset(tp1.th_sum, 0, sizeof(tp1.th_sum)); in tcp_verify_signature()
959 MD5_Update(&ctx, (const char *)&tp1, sizeof(struct tcphdr)); in tcp_verify_signature()
960 memcpy(tp1.th_sum, &savecsum, sizeof(tp1.th_sum)); in tcp_verify_signature()
/freebsd/tests/sys/kern/
H A Dunix_stream.c498 struct timespec tp1, tp2, rtp, sleep = { .tv_nsec = 100000000 }; in ATF_TC_BODY() local
506 ATF_REQUIRE_EQ(0, clock_gettime(CLOCK_MONOTONIC_PRECISE, &tp1)); in ATF_TC_BODY()
510 timespecsub(&tp2, &tp1, &rtp); in ATF_TC_BODY()
/freebsd/sys/contrib/device-tree/src/arm64/rockchip/
H A Drk3588-jaguar-ethernet-switch.dtso113 microchip,synclko-disable; /* CLKO_25_125 only routed to TP1 */
/freebsd/sys/contrib/device-tree/Bindings/pinctrl/
H A Drealtek,rtd1319d-pinctrl.yaml54 enum: [ gpio, nf, emmc, tp0, tp1, sc0, sc0_data0, sc0_data1, sc0_data2,
H A Drealtek,rtd1619b-pinctrl.yaml62 ai_loc0, ai_loc1, tp0, tp1, ao, uart2_disable, gspi_disable, sdio_disable,
/freebsd/tools/tools/cxgbtool/
H A Dreg_defs_t3.c1759 { "TP1", 6, 1 },
1782 { "TP1", 6, 1 },
1805 { "TP1", 6, 1 },
1828 { "TP1", 6, 1 },
H A Dreg_defs_t3b.c1830 { "TP1", 6, 1 },
1854 { "TP1", 6, 1 },
1878 { "TP1", 6, 1 },
1902 { "TP1", 6, 1 },

12