Home
last modified time | relevance | path

Searched refs:tp1 (Results 1 – 18 of 18) sorted by relevance

/freebsd/sys/netinet/
H A Dsctp_indata.c2937 struct sctp_tmit_chunk *tp1; in sctp_process_segment_range() local
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()
2963 tp1->whoTo->pseudo_cumack = tp1->rec.data.tsn; 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 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 …]
H A Dsctp_output.c7045 struct sctp_tmit_chunk *tp1; in sctp_clean_up_datalist() local
7068 tp1 = TAILQ_LAST(&asoc->sent_queue, sctpchunk_listhead); in sctp_clean_up_datalist()
7069 if ((tp1) && SCTP_TSN_GT(tp1->rec.data.tsn, data_list[i]->rec.data.tsn)) { in sctp_clean_up_datalist()
7074 tpp = TAILQ_PREV(tp1, sctpchunk_listhead, sctp_next); in sctp_clean_up_datalist()
7076 TAILQ_INSERT_BEFORE(tp1, data_list[i], sctp_next); in sctp_clean_up_datalist()
7079 tp1 = tpp; in sctp_clean_up_datalist()
7080 if (SCTP_TSN_GT(tp1->rec.data.tsn, data_list[i]->rec.data.tsn)) { in sctp_clean_up_datalist()
7083 TAILQ_INSERT_AFTER(&asoc->sent_queue, tp1, data_list[i], sctp_next); in sctp_clean_up_datalist()
10333 struct sctp_tmit_chunk *chk, *at, *tp1, *last; in send_forward_tsn() local
10448 tp1 = TAILQ_NEXT(at, sctp_next); in send_forward_tsn()
[all …]
H A Dsctp_cc_functions.c1319 struct sctp_tmit_chunk *tp1) in sctp_cwnd_update_rtcc_tsn_acknowledged() argument
1321 net->cc_mod.rtcc.bw_bytes += tp1->send_size; in sctp_cwnd_update_rtcc_tsn_acknowledged()
/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 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);
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()
/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/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/
H A Daes_x86core.c603 u32 tp1, tp2, tp4, tp8, tp9, tpb, tpd, tpe, m; in AES_set_decrypt_key() local
605 tp1 = rk[j]; in AES_set_decrypt_key()
606 m = tp1 & 0x80808080; in AES_set_decrypt_key()
607 tp2 = ((tp1 & 0x7f7f7f7f) << 1) ^ in AES_set_decrypt_key()
615 tp9 = tp8 ^ tp1; in AES_set_decrypt_key()
915 u32 tp1, tp2, tp4, tp8, tp9, tpb, tpd, tpe, m; in AES_decrypt() local
918 tp1 = t[i]; in AES_decrypt()
919 m = tp1 & 0x80808080; in AES_decrypt()
920 tp2 = ((tp1 & 0x7f7f7f7f) << 1) ^ in AES_decrypt()
928 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/crypto/openssl/crypto/aes/asm/
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-x86_64.pl1569 my ($tp1,$tp2,$tp4,$tp8,$acc)=("%eax","%ebx","%edi","%edx","%r8d");
1571 mov $i($ptr),$tp1
1572 mov $tp1,$acc
1576 lea 0($tp1,$tp1),$tp2
1590 xor $tp1,$tp2 # tp2^tp1
1599 xor $tp1,$tp4 # tp4^tp1
1604 xor $tp8,$tp1 # tp1^tp8
1605 rol \$8,$tp1 # ROTATE(tp1^tp8,8)
1611 xor $tp8,$tp1
1613 xor $tp2,$tp1
[all …]
H A Daes-586.pl2881 { my ($i,$key,$tp1,$tp2,$tp4,$tp8) = @_;
2885 &and ($tmp,$tp1);
2886 &lea ($tp2,&DWP(0,$tp1,$tp1));
2902 &xor ($tp2,$tp1); # tp2^tp1
2910 &xor ($tp4,$tp1); # tp4^tp1
2914 &rotl ($tp1,8); # = ROTATE(tp1,8)
2919 &xor ($tp1,$tp2);
2921 &xor ($tp1,$tp4);
2924 &xor ($tp1,$tp8); # ^= tp8^(tp4^tp1)^(tp2^tp1)
2926 &xor ($tp1,$tp2); # ^= ROTATE(tp8^tp2^tp1,24)
[all …]