Home
last modified time | relevance | path

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

12345678910>>...18

/freebsd/stand/forth/
H A DMakefile4 MAN+= beastie.4th.8 \
5 brand.4th.8 \
7 color.4th.8 \
8 delay.4th.8 \
9 loader.4th.8 \
10 menu.4th.8 \
11 menusets.4th.8 \
12 version.4th.8
15 FILES+= brand.4th
18 FILES+= color.4th
[all …]
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dz_Windows_NT_util.cpp417 th->th.th_active = FALSE; in __kmp_suspend_template()
429 __kmp_win32_cond_wait(&th->th.th_suspend_cv, &th->th.th_suspend_mx, th, in __kmp_suspend_template()
451 th->th.th_active = TRUE; in __kmp_suspend_template()
452 if (TCR_4(th->th.th_in_pool)) { in __kmp_suspend_template()
506 flag = (C *)th->th.th_sleep_loc; in __kmp_resume_template()
1150 th->th.th_info.ds.ds_gtid = gtid; in __kmp_create_worker()
1166 (LPVOID)th, th->th.th_info.ds.ds_thread)); in __kmp_create_worker()
1234 th->th.th_info.ds.ds_gtid = 0; in __kmp_create_monitor()
1366 th->th.th_info.ds.ds_gtid, th->th.th_info.ds.ds_thread)); in __kmp_reap_common()
1368 th->th.th_info.ds.ds_thread = 0; in __kmp_reap_common()
[all …]
H A Dkmp_runtime.cpp694 team = th->th.th_team; in __kmp_enter_single()
697 th->th.th_ident = id_ref; in __kmp_enter_single()
4111 if (th->th.th_hot_teams) { in __kmp_reset_root()
4797 th->th.th_first_place = first; in __kmp_set_thread_place()
4798 th->th.th_last_place = last; in __kmp_set_thread_place()
4799 th->th.th_new_place = newp; in __kmp_set_thread_place()
4804 th->th.th_topology_ids = __kmp_affinity.ids[th->th.th_new_place]; in __kmp_set_thread_place()
4805 th->th.th_topology_attrs = __kmp_affinity.attrs[th->th.th_new_place]; in __kmp_set_thread_place()
5002 f, th->th.th_new_place, th->th.th_first_place, in __kmp_partition_places()
5059 th->th.th_first_place, th->th.th_last_place, spacing)); in __kmp_partition_places()
[all …]
H A Dz_Linux_util.cpp753 th->th.th_info.ds.ds_gtid = gtid; in __kmp_create_worker()
852 th->th.th_info.ds.ds_thread = handle; in __kmp_create_worker()
885 th->th.th_info.ds.ds_gtid = 0; in __kmp_create_monitor()
1035 KMP_DEBUG_ASSERT(th->th.th_info.ds.ds_tid == th->th.th_info.ds.ds_gtid); in __kmp_reap_monitor()
1419 --th->th.th_suspend_init_count; in __kmp_suspend_uninitialize_thread()
1500 th->th.th_active = FALSE; in __kmp_suspend_template()
1574 th->th.th_active = TRUE; in __kmp_suspend_template()
1575 if (TCR_4(th->th.th_in_pool)) { in __kmp_suspend_template()
1583 TCW_PTR(th->th.th_sleep_loc, NULL); in __kmp_suspend_template()
1668 th->th.th_sleep_loc_type)); in __kmp_resume_template()
[all …]
H A Dkmp_alloc.cpp242 th->th.th_local.bget_data = data; in set_thr_data()
243 th->th.th_local.bget_list = 0; in set_thr_data()
246 __kmp_init_lock(&th->th.th_local.bget_lock); in set_thr_data()
280 __kmp_acquire_lock(&th->th.th_local.bget_lock, __kmp_gtid_from_thread(th)); in __kmp_bget_dequeue()
285 p = (void *)th->th.th_local.bget_list; in __kmp_bget_dequeue()
286 th->th.th_local.bget_list = 0; in __kmp_bget_dequeue()
289 __kmp_release_lock(&th->th.th_local.bget_lock, __kmp_gtid_from_thread(th)); in __kmp_bget_dequeue()
354 th->th.th_local.bget_list = (void *)buf; in __kmp_bget_enqueue()
1037 if (th->th.th_local.bget_data != NULL) { in __kmp_finalize_bget()
1038 __kmp_free(th->th.th_local.bget_data); in __kmp_finalize_bget()
[all …]
H A Dkmp_barrier.cpp237 team = this_thr->th.th_team; in __kmp_dist_barrier_gather()
252 this_thr->th.th_bar_arrive_time = this_thr->th.th_bar_min_time = in __kmp_dist_barrier_gather()
505 team = this_thr->th.th_team; in __kmp_dist_barrier_release()
573 this_thr->th.th_bar_arrive_time = this_thr->th.th_bar_min_time = in __kmp_linear_barrier_gather_template()
628 this_thr->th.th_bar_min_time, other_threads[i]->th.th_bar_min_time); in __kmp_linear_barrier_gather_template()
816 this_thr->th.th_bar_arrive_time = this_thr->th.th_bar_min_time = in __kmp_tree_barrier_gather()
848 this_thr->th.th_bar_min_time = KMP_MIN(this_thr->th.th_bar_min_time, in __kmp_tree_barrier_gather()
1029 this_thr->th.th_bar_arrive_time = this_thr->th.th_bar_min_time = in __kmp_hyper_barrier_gather()
1089 this_thr->th.th_bar_min_time = KMP_MIN(this_thr->th.th_bar_min_time, in __kmp_hyper_barrier_gather()
2184 team = this_thr->th.th_team; in __kmp_join_barrier()
[all …]
H A Dkmp_dispatch.cpp220 team = th->th.th_team; in __kmp_dispatch_init_algorithm()
1003 team = th->th.th_team; in __kmp_dispatch_init()
1005 th->th.th_ident = loc; in __kmp_dispatch_init()
1024 &th->th.th_dispatch in __kmp_dispatch_init()
1059 &th->th.th_team->t.t_dispatch[th->th.th_info.ds.ds_tid]); in __kmp_dispatch_init()
1197 &th->th.th_team->t.t_dispatch[th->th.th_info.ds.ds_tid]); in __kmp_dispatch_finish()
1260 &th->th.th_team->t.t_dispatch[th->th.th_info.ds.ds_tid]); in __kmp_dispatch_finish_chunk()
1340 &th->th.th_team->t.t_dispatch[th->th.th_info.ds.ds_tid]); in __kmp_dispatch_next_algorithm()
2328 &th->th.th_team->t.t_dispatch[th->th.th_info.ds.ds_tid]); in __kmp_dispatch_next()
2480 team = th->th.th_team; in __kmpc_sections_init()
[all …]
H A Dkmp_wait_release.h720 __kmp_lock_suspend_mx(th);
727 th->th.th_active = FALSE;
728 if (th->th.th_active_in_pool) {
729 th->th.th_active_in_pool = FALSE;
751 TCW_PTR(th->th.th_sleep_loc, (void *)flag);
752 th->th.th_sleep_loc_type = flag->get_type();
769 TCW_PTR(th->th.th_sleep_loc, NULL);
770 th->th.th_sleep_loc_type = flag_unset;
773 th->th.th_active = TRUE;
774 if (TCR_4(th->th.th_in_pool)) {
[all …]
/freebsd/lib/libthread_db/
H A Dthread_db.c146 const td_thragent_t *ta = th->th_ta; in td_thr_clear_event()
153 const td_thragent_t *ta = th->th_ta; in td_thr_dbresume()
160 const td_thragent_t *ta = th->th_ta; in td_thr_dbsuspend()
167 const td_thragent_t *ta = th->th_ta; in td_thr_event_enable()
174 const td_thragent_t *ta = th->th_ta; in td_thr_event_getmsg()
181 const td_thragent_t *ta = th->th_ta; in td_thr_old_get_info()
189 const td_thragent_t *ta = th->th_ta; in td_thr_get_info()
197 const td_thragent_t *ta = th->th_ta; in td_thr_getxmmregs()
206 const td_thragent_t *ta = th->th_ta; in td_thr_getfpregs()
213 const td_thragent_t *ta = th->th_ta; in td_thr_getgregs()
[all …]
H A Dlibthr_db.c229 th->th_ta = ta; in pt_ta_map_id2thr()
230 th->th_tid = id; in pt_ta_map_id2thr()
231 th->th_thread = pt; in pt_ta_map_id2thr()
246 td_thrhandle_t th; in pt_ta_thr_iter() local
261 th.th_ta = ta; in pt_ta_thr_iter()
263 th.th_thread = pt; in pt_ta_thr_iter()
416 ret = pt_validate(th); in pt_dbsuspend()
451 ret = pt_ta_map_id2thr(th->th_ta, th->th_tid, &temp); in pt_thr_validate()
467 ret = pt_validate(th); in pt_thr_get_info_common()
680 pt = th->th_thread; in pt_thr_event_getmsg()
[all …]
H A Dlibpthread_db.c288 th->th_ta = ta; in pt_ta_map_id2thr()
289 th->th_tid = id; in pt_ta_map_id2thr()
290 th->th_thread = pt; in pt_ta_map_id2thr()
315 th->th_ta = ta; in pt_ta_map_lwp2thr()
320 th->th_thread = pt; in pt_ta_map_lwp2thr()
338 td_thrhandle_t th; in pt_ta_thr_iter() local
356 th.th_ta = ta; in pt_ta_thr_iter()
358 th.th_thread = pt; in pt_ta_thr_iter()
568 ret = pt_ta_map_id2thr(th->th_ta, th->th_tid, in pt_thr_validate()
1065 if (th->th_tid < 0 || th->th_tid >= (long)th->th_ta->map_len || in pt_validate()
[all …]
/freebsd/sys/netinet/tcp_stacks/
H A Drack_bbr_common.c138 struct tcphdr *th; in ctf_get_enet_type() local
189 th->th_sum ^= 0xffff; in ctf_get_enet_type()
192 if (th->th_sum) { in ctf_get_enet_type()
241 if (th->th_sum) { in ctf_get_enet_type()
351 struct tcphdr *th; in ctf_process_inbound_raw() local
446 th = NULL; in ctf_process_inbound_raw()
586 th->th_seq++; in _ctf_drop_checks()
587 if (th->th_urp > 1) in _ctf_drop_checks()
588 th->th_urp--; in _ctf_drop_checks()
630 th->th_seq += todrop; in _ctf_drop_checks()
[all …]
/freebsd/sys/netinet/
H A Dtcp_input.c264 hhook_run_tcp_est_in(struct tcpcb *tp, struct tcphdr *th, struct tcpopt *to) in hhook_run_tcp_est_in() argument
270 hhook_data.th = th; in hhook_run_tcp_est_in()
283 cc_ack_received(struct tcpcb *tp, struct tcphdr *th, uint16_t nsegs, in cc_ack_received() argument
293 tp->t_ccv.bytes_this_ack = BYTES_THIS_ACK(tp, th); in cc_ack_received()
309 SEQ_GEQ(th->th_ack, tp->gput_ack)) { in cc_ack_received()
313 gput = (((int64_t)SEQ_SUB(th->th_ack, tp->gput_seq)) << 3) / in cc_ack_received()
345 tp->t_ccv.curack = th->th_ack; in cc_ack_received()
409 cc_cong_signal(struct tcpcb *tp, struct tcphdr *th, uint32_t type) in cc_cong_signal() argument
431 SEQ_GEQ(th in cc_cong_signal()
477 cc_post_recovery(struct tcpcb * tp,struct tcphdr * th) cc_post_recovery() argument
546 cc_ecnpkt_handler(struct tcpcb * tp,struct tcphdr * th,uint8_t iptos) cc_ecnpkt_handler() argument
607 struct tcphdr *th = NULL; tcp_input_with_port() local
1477 tcp_autorcvbuf(struct mbuf * m,struct tcphdr * th,struct socket * so,struct tcpcb * tp,int tlen) tcp_autorcvbuf() argument
1523 tcp_do_segment(struct tcpcb * tp,struct mbuf * m,struct tcphdr * th,int drop_hdrlen,int tlen,uint8_t iptos) tcp_do_segment() argument
3434 tcp_dropwithreset(struct mbuf * m,struct tcphdr * th,struct tcpcb * tp,int tlen,int rstreason) tcp_dropwithreset() argument
3607 tcp_pulloutofband(struct socket * so,struct tcphdr * th,struct mbuf * m,int off) tcp_pulloutofband() argument
4004 tcp_do_prr_ack(struct tcpcb * tp,struct tcphdr * th,struct tcpopt * to,sackstatus_t sack_changed,u_int * maxsegp) tcp_do_prr_ack() argument
4098 tcp_newreno_partial_ack(struct tcpcb * tp,struct tcphdr * th) tcp_newreno_partial_ack() argument
[all...]
H A Dtcp_timewait.c167 thflags = tcp_get_flags(th); in tcp_twcheck()
228 SEQ_GT(th->th_seq, tp->rcv_nxt)) { in tcp_twcheck()
245 if (tcp_get_flags(th) & TH_ACK) { in tcp_twcheck()
246 tcp_respond(tp, mtod(m, void *), th, m, in tcp_twcheck()
247 (tcp_seq)0, th->th_ack, TH_RST); in tcp_twcheck()
249 if (tcp_get_flags(th) & TH_SYN) in tcp_twcheck()
251 if (tcp_get_flags(th) & TH_FIN) in tcp_twcheck()
253 tcp_respond(tp, mtod(m, void *), th, m, in tcp_twcheck()
293 th->th_seq != tp->rcv_nxt || th->th_ack != tp->snd_nxt) { in tcp_twcheck()
294 TCP_PROBE5(receive, NULL, NULL, m, NULL, th); in tcp_twcheck()
[all …]
H A Dtcp_reass.c362 first->tqe_start = th->th_seq; in tcp_reass_prepend()
544 if (th == NULL) in tcp_reass()
548 th, tp)); in tcp_reass()
648 th->th_seq += i; in tcp_reass()
748 th->th_seq += i; in tcp_reass()
859 th->th_seq += i; in tcp_reass()
908 tcp_reass_replace(tp, q, m, th->th_seq, *tlenp, mlast, lenofoh, tcp_get_flags(th)); in tcp_reass()
1033 te->tqe_start = th->th_seq; in tcp_reass()
1072 if (th != NULL) { in tcp_reass()
1081 if (th != NULL) { in tcp_reass()
[all …]
/freebsd/usr.sbin/ppp/
H A Dslcompress.c232 #define THOFFSET(th) (th->th_off) in sl_compress_tcp() argument
233 hlen += th->th_off; in sl_compress_tcp()
265 hlen += th->th_off; in sl_compress_tcp()
277 memcmp(th + 1, oth + 1, (THOFFSET(th) - 5) << 2))) { in sl_compress_tcp()
513 th->th_ack = htonl(ntohl(th->th_ack) + i); in sl_uncompress_tcp()
514 th->th_seq = htonl(ntohl(th->th_seq) + i); in sl_uncompress_tcp()
519 th->th_seq = htonl(ntohl(th->th_seq) + ntohs(cs->cs_ip.ip_len) in sl_uncompress_tcp()
526 DECODEU(th->th_urp) in sl_uncompress_tcp()
530 DECODES(th->th_win) in sl_uncompress_tcp()
532 DECODEL(th->th_ack) in sl_uncompress_tcp()
[all …]
/freebsd/lib/libsys/
H A D__vdso_gettimeofday.c44 error = __vdso_gettc(th, &tc); in tc_delta()
46 *delta = (tc - th->th_offset_count) & th->th_counter_mask; in tc_delta()
62 struct vdso_timehands *th; in binuptime() local
73 th = &tk->tk_th[curr]; in binuptime()
75 *bt = th->th_offset; in binuptime()
76 error = tc_delta(th, &delta); in binuptime()
81 scale = th->th_scale; in binuptime()
95 bintime_add(bt, &th->th_boottime); in binuptime()
109 struct vdso_timehands *th; in getnanouptime() local
117 th = &tk->tk_th[curr]; in getnanouptime()
[all …]
/freebsd/sys/net/
H A Dslcompress.c157 struct tcphdr *th; in sl_compress_tcp() local
221 hlen += th->th_off; in sl_compress_tcp()
253 hlen += th->th_off; in sl_compress_tcp()
265 BCMP(th + 1, oth + 1, (th->th_off - 5) << 2))) in sl_compress_tcp()
455 struct tcphdr *th; in sl_uncompress_tcp_core() local
527 th->th_ack = htonl(ntohl(th->th_ack) + i); in sl_uncompress_tcp_core()
528 th->th_seq = htonl(ntohl(th->th_seq) + i); in sl_uncompress_tcp_core()
533 th->th_seq = htonl(ntohl(th->th_seq) + ntohs(cs->cs_ip.ip_len) in sl_uncompress_tcp_core()
540 DECODEU(th->th_urp) in sl_uncompress_tcp_core()
544 DECODES(th->th_win) in sl_uncompress_tcp_core()
[all …]
/freebsd/tools/test/stress2/misc/
H A Dsyzkaller68.sh77 pthread_t th;
177 event_wait(&th->ready);
178 event_reset(&th->ready);
179 execute_call(th->call);
181 event_set(&th->done);
193 if (!th->created) {
194 th->created = 1;
197 event_set(&th->done);
202 event_reset(&th->done);
203 th->call = call;
[all …]
H A Dsyzkaller1.sh60 pthread_t th;
160 event_wait(&th->ready);
161 event_reset(&th->ready);
162 execute_call(th->call);
164 event_set(&th->done);
176 if (!th->created) {
177 th->created = 1;
180 event_set(&th->done);
185 event_reset(&th->done);
186 th->call = call;
[all …]
H A Dsyzkaller39.sh65 pthread_t th;
165 event_wait(&th->ready);
166 event_reset(&th->ready);
167 execute_call(th->call);
169 event_set(&th->done);
183 if (!th->created) {
184 th->created = 1;
187 event_set(&th->done);
192 event_reset(&th->done);
193 th->call = call;
[all …]
/freebsd/crypto/openssl/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>
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>
129 <tr><th style="border:1px solid" align="left">EVP_DigestInit</th>
[all …]
H A Dlife_cycle-mac.pod113 <tr><th style="border:1px solid" align="left">Function Call</th>
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>
129 <tr><th style="border:1px solid" align="left">EVP_MAC_init</th>
136 <tr><th style="border:1px solid" align="left">EVP_MAC_update</th>
[all …]
/freebsd/sys/kern/
H A Dkern_tc.c247 th = timehands; in bintime_off()
274 th = timehands; in getthmember()
909 th = timehands; in ffclock_read_counter()
1403 th->th_offset_count &= th->th_counter->tc_counter_mask; in tc_windup()
1404 bintime_add_tc_delta(&th->th_offset, th->th_scale, in tc_windup()
1492 timehands = th; in tc_windup()
1767 th = timehands; in pps_capture()
2193 th = timehands; in tc_fill_vdso_timehands()
2216 th = timehands; in tc_fill_vdso_timehands32()
2257 (uintmax_t)th->th_adjustment, (uintmax_t)th->th_scale, in DB_SHOW_COMMAND()
[all …]

12345678910>>...18