Home
last modified time | relevance | path

Searched refs:th (Results 1 – 25 of 1013) sorted by relevance

12345678910>>...41

/netbsd-src/sys/rump/kern/lib/libsimplehook_tester/
H A Dsimplehook_tester.c215 struct tester_hook *th; in simplehook_tester_hook() local
217 th = xth; in simplehook_tester_hook()
218 ctx = th->th_ctx; in simplehook_tester_hook()
222 __func__, __LINE__, th->th_idx)); in simplehook_tester_hook()
224 th->th_stopped = false; in simplehook_tester_hook()
226 while (th->th_stopping) { in simplehook_tester_hook()
228 __func__, __LINE__, th->th_idx)); in simplehook_tester_hook()
229 th->th_stopped = true; in simplehook_tester_hook()
233 if (th->th_stopped) { in simplehook_tester_hook()
235 __func__, __LINE__, th->th_idx)); in simplehook_tester_hook()
[all …]
/netbsd-src/sys/netinet/
H A Dtcp_input.c290 tcp_setup_ack(struct tcpcb *tp, const struct tcphdr *th) in tcp_setup_ack()
294 (tcp_ack_on_push && th->th_flags & TH_PUSH)) in tcp_setup_ack()
301 icmp_check(struct tcpcb *tp, const struct tcphdr *th, int acked) in icmp_check()
309 SEQ_GT(th->th_ack, tp->t_pmtud_th_seq)) in icmp_check()
324 tcp_fields_to_host(struct tcphdr *th) in tcp_fields_to_host()
327 NTOHL(th->th_seq); in tcp_fields_to_host()
328 NTOHL(th->th_ack); in tcp_fields_to_host()
329 NTOHS(th->th_win); in tcp_fields_to_host()
330 NTOHS(th->th_urp);
337 tcp_fields_to_net(struct tcphdr *th) in tcp_fields_to_net()
288 tcp_setup_ack(struct tcpcb * tp,const struct tcphdr * th) tcp_setup_ack() argument
299 icmp_check(struct tcpcb * tp,const struct tcphdr * th,int acked) icmp_check() argument
322 tcp_fields_to_host(struct tcphdr * th) tcp_fields_to_host() argument
335 tcp_fields_to_net(struct tcphdr * th) tcp_fields_to_net() argument
345 tcp_urp_drop(struct tcphdr * th,int todrop,int * tiflags) tcp_urp_drop() argument
453 tcp_reass(struct tcpcb * tp,const struct tcphdr * th,struct mbuf * m,int tlen) tcp_reass() argument
824 tcp4_log_refused(const struct ip * ip,const struct tcphdr * th) tcp4_log_refused() argument
844 tcp6_log_refused(const struct ip6_hdr * ip6,const struct tcphdr * th) tcp6_log_refused() argument
867 tcp_input_checksum(int af,struct mbuf * m,const struct tcphdr * th,int toff,int off,int tlen) tcp_input_checksum() argument
979 tcp_vtw_input(struct tcphdr * th,vestigial_inpcb_t * vp,struct mbuf * m,int tlen) tcp_vtw_input() argument
1179 struct tcphdr *th; tcp_input() local
3003 tcp_signature(struct mbuf * m,struct tcphdr * th,int thoff,struct secasvar * sav,char * sig) tcp_signature() argument
3077 tcp_dooptions(struct tcpcb * tp,const u_char * cp,int cnt,struct tcphdr * th,struct mbuf * m,int toff,struct tcp_opt_info * oi) tcp_dooptions() argument
3257 tcp_pulloutofband(struct socket * so,struct tcphdr * th,struct mbuf * m,int off) tcp_pulloutofband() argument
[all...]
H A Dtcp_congctl.c465 tcp_reno_do_fast_retransmit(struct tcpcb *tp, const struct tcphdr *th) in tcp_reno_do_fast_retransmit() argument
493 tp->snd_nxt = th->th_ack; in tcp_reno_do_fast_retransmit()
504 tcp_reno_fast_retransmit(struct tcpcb *tp, const struct tcphdr *th) in tcp_reno_fast_retransmit() argument
516 return tcp_reno_do_fast_retransmit(tp, th); in tcp_reno_fast_retransmit()
565 const struct tcphdr *th) in tcp_reno_fast_retransmit_newack() argument
583 if (TCP_SACK_ENABLED(tp) && SEQ_GT(th->th_ack, tp->snd_fack)) in tcp_reno_fast_retransmit_newack()
584 tp->snd_fack = th->th_ack; in tcp_reno_fast_retransmit_newack()
589 tcp_reno_newack(struct tcpcb *tp, const struct tcphdr *th) in tcp_reno_newack() argument
604 int acked = th->th_ack - tp->snd_una; in tcp_reno_newack()
657 tcp_newreno_fast_retransmit(struct tcpcb *tp, const struct tcphdr *th) in tcp_newreno_fast_retransmit() argument
[all …]
H A Dtcp_debug.c115 struct tcphdr *th; in tcp_trace() local
133 th = NULL; in tcp_trace()
142 th = (struct tcphdr *)((char *)&td->td_ti + in tcp_trace()
151 th = (struct tcphdr *)((char *)&td->td_ti6 + in tcp_trace()
170 if (th == 0) in tcp_trace()
172 seq = th->th_seq; in tcp_trace()
173 ack = th->th_ack; in tcp_trace()
186 printf("@%x, urp=%x", ack, th->th_urp); in tcp_trace()
187 flags = th->th_flags; in tcp_trace()
191 #define pf(f) { if (th->th_flags&__CONCAT(TH_,f)) { \ in tcp_trace()
/netbsd-src/sys/kern/
H A Dkern_tc.c426 tc_delta(struct timehands *th) in tc_delta() argument
430 tc = th->th_counter; in tc_delta()
432 th->th_offset_count) & tc->tc_counter_mask; in tc_delta()
444 struct timehands *th; in binuptime() local
484 th = atomic_load_consume(&timehands); in binuptime()
485 gen = th->th_generation; in binuptime()
487 *bt = th->th_offset; in binuptime()
488 bintime_addx(bt, th->th_scale * tc_delta(th)); in binuptime()
490 } while (gen == 0 || gen != th->th_generation); in binuptime()
550 struct timehands *th; in getbinuptime() local
[all …]
/netbsd-src/sys/net/
H A Dslcompress.c180 struct tcphdr *th; in sl_compress_tcp() local
195 th = (struct tcphdr *)&((int32_t *)ip)[hlen]; in sl_compress_tcp()
196 if ((th->th_flags & (TH_SYN|TH_FIN|TH_RST|TH_ACK)) != TH_ACK) in sl_compress_tcp()
208 *(int32_t *)th != ((int32_t *)&cs->cs_ip)[cs->cs_ip.ip_hl]) { in sl_compress_tcp()
228 && *(int32_t *)th == in sl_compress_tcp()
243 hlen += th->th_off; in sl_compress_tcp()
265 * check is unnecessary but costless). The 4th line checks the TCP in sl_compress_tcp()
266 * header length. The 5th line checks IP options, if any. The 6th in sl_compress_tcp()
273 hlen += th in sl_compress_tcp()
477 struct tcphdr *th; sl_uncompress_tcp_core() local
[all...]
/netbsd-src/crypto/external/bsd/openssl/dist/doc/man7/
H A Dlife_cycle-kdf.pod92 <tr><th style="border:1px solid" align="left">Function Call</th>
93 <th style="border:1px solid" colspan="4">Current State</th></tr>
94 <tr><th style="border:1px solid"></th>
95 <th style="border:1px solid" align="center">start</th>
96 <th style="border:1px solid" align="center">newed</th>
97 <th style="border:1px solid" align="center">deriving</th>
98 <th style="border:1px solid" align="center">freed</th></tr>
99 <tr><th style="border:1px solid" align="left">EVP_KDF_CTX_new</th>
104 <tr><th style="border:1px solid" align="left">EVP_KDF_derive</th>
109 <tr><th style="border:1px solid" align="left">EVP_KDF_CTX_free</th>
[all …]
H A Dlife_cycle-digest.pod113 <tr><th style="border:1px solid" align="left">Function Call</th>
114 <th style="border:1px solid" colspan="6">Current State</th></tr>
115 <tr><th style="border:1px solid"></th>
116 <th style="border:1px solid" align="center">start</th>
117 <th style="border:1px solid" align="center">newed</th>
118 <th style="border:1px solid" align="center">initialised</th>
119 <th style="border:1px solid" align="center">updated</th>
120 <th style="border:1px solid" align="center">finaled</th>
121 <th style="border:1px solid" align="center">freed</th></tr>
122 <tr><th style="border:1px solid" align="left">EVP_MD_CTX_new</th>
[all …]
H A Dlife_cycle-mac.pod113 <tr><th style="border:1px solid" align="left">Function Call</th>
114 <th style="border:1px solid" colspan="6">Current State</th></tr>
115 <tr><th style="border:1px solid"></th>
116 <th style="border:1px solid" align="center">start</th>
117 <th style="border:1px solid" align="center">newed</th>
118 <th style="border:1px solid" align="center">initialised</th>
119 <th style="border:1px solid" align="center">updated</th>
120 <th style="border:1px solid" align="center">finaled</th>
121 <th style="border:1px solid" align="center">freed</th></tr>
122 <tr><th style="border:1px solid" align="left">EVP_MAC_CTX_new</th>
[all …]
H A Dlife_cycle-rand.pod105 <tr><th style="border:1px solid" align="left">Function Call</th>
106 <th style="border:1px solid" colspan="5">Current State</th></tr>
107 <tr><th style="border:1px solid"></th>
108 <th style="border:1px solid" align="center">start</th>
109 <th style="border:1px solid" align="center">newed</th>
110 <th style="border:1px solid" align="center">instantiated</th>
111 <th style="border:1px solid" align="center">uninstantiated</th>
112 <th style="border:1px solid" align="center">freed</th></tr>
113 <tr><th style="border:1px solid" align="left">EVP_RAND_CTX_new</th>
119 <tr><th style="border:1px solid" align="left">EVP_RAND_instantiate</th>
[all …]
H A Dlife_cycle-cipher.pod159 <tr><th style="border:1px solid" align="left">Function Call</th>
160 <th style="border:1px solid" colspan="10">Current State</th></tr>
161 <tr><th style="border:1px solid"></th>
162 <th style="border:1px solid" align="center">start</th>
163 <th style="border:1px solid" align="center">newed</th>
164 <th style="border:1px solid" align="center">initialised</th>
165 <th style="border:1px solid" align="center">updated</th>
166 <th style="border:1px solid" align="center">finaled</th>
167 <th style="border:1px solid" align="center">initialised<br>decryption</th>
168 <th style="border:1px solid" align="center">updated<br>decryption</th>
[all …]
H A Dlife_cycle-pkey.pod201 <tr><th style="border:1px solid" align="left">Function Call</th>
202 <th style="border:1px solid" colspan="13">Current State</th></tr>
203 <tr><th style="border:1px solid"></th>
204 <th style="border:1px solid" align="center">start</th>
205 <th style="border:1px solid" align="center">newed</th>
206 <th style="border:1px solid" align="center">digest<br>sign</th>
207 <th style="border:1px solid" align="center">verify</th>
208 <th style="border:1px solid" align="center">verify<br>recover</th>
209 <th style="border:1px solid" align="center">encrypt</th>
210 <th style="border:1px solid" align="center">decrypt</th>
[all …]
/netbsd-src/external/lgpl3/gmp/dist/mpn/cray/ieee/
H A Dinvert_limb.c82 mp_limb_t z, z2l, z2h, tl, th; in mpn_invert_limb() local
90 umul_ppmm (th, tl, z2l, d); in mpn_invert_limb()
91 z = (z << 17) - (th << 1); in mpn_invert_limb()
97 th = z2l * (d >> 32); /* th < 2^64 */ in mpn_invert_limb()
98 z = (z << 17) - (th >> 31); /* z < 2^32 */ in mpn_invert_limb()
101 umul_ppmm (th, tl, z2l, d); in mpn_invert_limb()
102 z = (z << 33) - (th << 1); in mpn_invert_limb()
106 umul_ppmm (th, tl, z2h, d); in mpn_invert_limb()
109 th += tl < xh; in mpn_invert_limb()
110 th = (th << 2) | (tl >> GMP_LIMB_BITS - 2); in mpn_invert_limb()
[all …]
/netbsd-src/libexec/httpd/testsuite/data/
H A Dbigfile13 456789 this is the 13th line, and there 127 lines in total. 67890123456789012
18 901234567890123456789012345 this is the 18th line. 456789012345678901234567
38 90123456789012345678901234567890123456789 this is the 38th line. 78901234567
47 012345678901234567890123456 this is the 47th line. 4567890123456789012345678
50 789012345678901234567890123456789012345678901234567 50th 7890123456789012345
54 3456789012345678901234567890123456789012 54th 1234567890123456789012345678901
60 7890123456789012345 this is the 60th line. 2345678901234567890123456789012345
80 7890123456789012345678901234567 this is the 80th line. 567890123456789012345
93 4567890123456 this is the 93th line. 3456789012345678901234567890123456789012
106 123456789012345678901234567890123456789012345 this is the 106th line. 3456789
[all …]
H A Dbigfile.partial800013 456789 this is the 13th line, and there 127 lines in total. 67890123456789012
18 901234567890123456789012345 this is the 18th line. 456789012345678901234567
38 90123456789012345678901234567890123456789 this is the 38th line. 78901234567
47 012345678901234567890123456 this is the 47th line. 4567890123456789012345678
50 789012345678901234567890123456789012345678901234567 50th 7890123456789012345
54 3456789012345678901234567890123456789012 54th 1234567890123456789012345678901
60 7890123456789012345 this is the 60th line. 2345678901234567890123456789012345
80 7890123456789012345678901234567 this is the 80th line. 567890123456789012345
93 4567890123456 this is the 93th line. 3456789012345678901234567890123456789012
/netbsd-src/external/lgpl3/mpfr/dist/tests/
H A Dthyperbolic.c28 mpfr_t t, ch,sh,th,ach,ash,ath; in check_NAN() local
35 mpfr_init2(th,200); in check_NAN()
64 tester=mpfr_tanh(th,t,MPFR_RNDD); in check_NAN()
65 if (!MPFR_IS_NAN(th) || tester!=0) in check_NAN()
106 mpfr_clear(th); in check_NAN()
117 mpfr_t t, ch,sh,th,ach,ash,ath; in check_zero() local
124 mpfr_init2(th,200); in check_zero()
153 tester = mpfr_tanh (th, t, MPFR_RNDD); in check_zero()
154 if (!MPFR_IS_ZERO(th) || tester) in check_zero()
195 mpfr_clear(th); in check_zero()
[all …]
/netbsd-src/sys/arch/hppa/spmath/
H A Ddivu.S84 ds rem,dvr,rem ; 4th divide step
86 ds rem,dvr,rem ; 5th divide step
88 ds rem,dvr,rem ; 6th divide step
90 ds rem,dvr,rem ; 7th divide step
92 ds rem,dvr,rem ; 8th divide step
94 ds rem,dvr,rem ; 9th divide step
96 ds rem,dvr,rem ; 10th divide step
98 ds rem,dvr,rem ; 11th divide step
100 ds rem,dvr,rem ; 12th divide step
102 ds rem,dvr,rem ; 13th divide step
[all …]
/netbsd-src/sys/dev/pci/cxgb/
H A Dcxgb_lro.c81 lro_match(struct mbuf *m, struct ip *ih, struct tcphdr *th) in lro_match() argument
86 return (th->th_sport == sth->th_sport && in lro_match()
87 th->th_dport == sth->th_dport && in lro_match()
93 lro_lookup(struct lro_state *l, int idx, struct ip *ih, struct tcphdr *th) in lro_lookup() argument
101 if (lro_match(s->head, ih, th)) in lro_lookup()
131 can_lro_tcpsegment(struct tcphdr *th) in can_lro_tcpsegment() argument
133 int olen = (th->th_off << 2) - sizeof (*th); in can_lro_tcpsegment()
134 u8 control_bits = *((u8 *)th + 13); in can_lro_tcpsegment()
140 uint32_t *ptr = (u32 *)(th + 1); in can_lro_tcpsegment()
159 struct tcphdr *th = (struct tcphdr *) (ih + 1); in lro_new_session_init() local
[all …]
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/rtl/
H A Dtsan_posix.cc60 pthread_t th[3]; in TEST() local
64 EXPECT_EQ(__interceptor_pthread_create(&th[0], 0, dtors_thread, &k1), 0); in TEST()
65 EXPECT_EQ(__interceptor_pthread_create(&th[1], 0, dtors_thread, &k2), 0); in TEST()
66 EXPECT_EQ(__interceptor_pthread_join(th[0], 0), 0); in TEST()
67 EXPECT_EQ(__interceptor_pthread_create(&th[2], 0, dtors_thread, &k3), 0); in TEST()
68 EXPECT_EQ(__interceptor_pthread_join(th[1], 0), 0); in TEST()
69 EXPECT_EQ(__interceptor_pthread_join(th[2], 0), 0); in TEST()
83 pthread_t th[kThreads]; in local_thread() local
85 EXPECT_EQ(__interceptor_pthread_create(&th[i], 0, local_thread, in local_thread()
88 EXPECT_EQ(__interceptor_pthread_join(th[i], 0), 0); in local_thread()
[all …]
/netbsd-src/external/bsd/flex/dist/src/
H A Dtables.c86 int yytbl_hdr_init (struct yytbl_hdr *th, const char *version_str, in yytbl_hdr_init() argument
89 memset (th, 0, sizeof (struct yytbl_hdr)); in yytbl_hdr_init()
91 th->th_magic = YYTBL_MAGIC; in yytbl_hdr_init()
92 th->th_hsize = (flex_uint32_t) (14 + strlen (version_str) + 1 + strlen (name) + 1); in yytbl_hdr_init()
93 th->th_hsize += yypad64 (th->th_hsize); in yytbl_hdr_init()
94 th->th_ssize = 0; // Not known at this point. in yytbl_hdr_init()
95 th->th_flags = 0; in yytbl_hdr_init()
96 th->th_version = xstrdup(version_str); in yytbl_hdr_init()
97 th->th_name = xstrdup(name); in yytbl_hdr_init()
146 int yytbl_hdr_fwrite (struct yytbl_writer *wr, const struct yytbl_hdr *th) in yytbl_hdr_fwrite() argument
[all …]
/netbsd-src/tests/usr.bin/cc/
H A Dt_tsan_signal_errno.sh75 pthread_t th;
76 pthread_create(&th, 0, sendsignal, 0);
77 pthread_join(th, 0);
103 pthread_t th;
104 pthread_create(&th, 0, sendsignal, 0);
105 pthread_join(th, 0);
137 pthread_t th;
138 pthread_create(&th, 0, sendsignal, 0);
139 pthread_join(th, 0);
171 pthread_t th;
[all …]
/netbsd-src/tests/usr.bin/c++/
H A Dt_tsan_signal_errno.sh75 pthread_t th;
76 pthread_create(&th, 0, sendsignal, 0);
77 pthread_join(th, 0);
103 pthread_t th;
104 pthread_create(&th, 0, sendsignal, 0);
105 pthread_join(th, 0);
137 pthread_t th;
138 pthread_create(&th, 0, sendsignal, 0);
139 pthread_join(th, 0);
171 pthread_t th;
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/gprof/po/
H A Dvi.po46 msgstr "%s: %s: kết thúc tập tin bất thường\n"
51 msgstr "%s: cảnh báo : đang bỏ qua các số đếm thực hiện kiểu khối cơ bản (hãy dùng “-l” hay “--line…
57 msgstr "%s:%d: (%s:0x%lx) %lu lần thực hiện\n"
94 msgstr "%9ld Dòng có thể thi hành trong tập tin này\n"
118 msgstr "%9.2f Số trung bình lần thì hành trong mỗi dòng\n"
131 "\t\t Đồ thị gọi (có giải thích sau)\n"
140 "\t\t\tĐồ thị gọi\n"
167 " không có thời gian đã truyền bá\n"
189 msgstr "%time (thời gian)"
193 msgstr "bản thân"
[all …]
/netbsd-src/external/gpl3/binutils/dist/gprof/po/
H A Dvi.po46 msgstr "%s: %s: kết thúc tập tin bất thường\n"
51 msgstr "%s: cảnh báo : đang bỏ qua các số đếm thực hiện kiểu khối cơ bản (hãy dùng “-l” hay “--line…
57 msgstr "%s:%d: (%s:0x%lx) %lu lần thực hiện\n"
94 msgstr "%9ld Dòng có thể thi hành trong tập tin này\n"
118 msgstr "%9.2f Số trung bình lần thì hành trong mỗi dòng\n"
131 "\t\t Đồ thị gọi (có giải thích sau)\n"
140 "\t\t\tĐồ thị gọi\n"
167 " không có thời gian đã truyền bá\n"
189 msgstr "%time (thời gian)"
193 msgstr "bản thân"
[all …]
/netbsd-src/usr.sbin/npf/npftest/
H A Dnpfstream.c42 const struct tcphdr *th; in process_tcpip() local
57 th = (const struct tcphdr *)p; in process_tcpip()
59 tcpdlen = ntohs(ip->ip_len) - hlen - (th->th_off << 2); in process_tcpip()
60 if (th->th_flags & TH_SYN) { in process_tcpip()
63 if (th->th_flags & TH_FIN) { in process_tcpip()
66 seq = ntohl(th->th_seq); in process_tcpip()
82 forw ? ">" : "<", (th->th_flags & (TH_SYN | TH_ACK | TH_FIN)), in process_tcpip()
83 packetno, error, (unsigned)seq, (unsigned)ntohl(th->th_ack), in process_tcpip()
84 tcpdlen, ntohs(th->th_win), (uintptr_t)result[0]); in process_tcpip()

12345678910>>...41