Home
last modified time | relevance | path

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

12345678910>>...17

/freebsd-12.1/stand/forth/
H A DMakefile5 MAN+= beastie.4th.8 \
6 brand.4th.8 \
8 color.4th.8 \
9 delay.4th.8 \
10 loader.4th.8 \
11 menu.4th.8 \
12 menusets.4th.8 \
13 version.4th.8
16 FILES+= brand.4th
19 FILES+= color.4th
[all …]
/freebsd-12.1/contrib/openmp/runtime/src/
H A Dz_Windows_NT_util.cpp350 th->th.th_active = FALSE; in __kmp_suspend_template()
358 __kmp_win32_cond_wait(&th->th.th_suspend_cv, &th->th.th_suspend_mx, 0, in __kmp_suspend_template()
361 __kmp_win32_cond_wait(&th->th.th_suspend_cv, &th->th.th_suspend_mx, 0, in __kmp_suspend_template()
376 th->th.th_active = TRUE; in __kmp_suspend_template()
377 if (TCR_4(th->th.th_in_pool)) { in __kmp_suspend_template()
417 flag = (C *)th->th.th_sleep_loc; in __kmp_resume_template()
1066 (LPVOID)th, th->th.th_info.ds.ds_thread)); in __kmp_create_worker()
1134 th->th.th_info.ds.ds_gtid = 0; in __kmp_create_monitor()
1264 th->th.th_info.ds.ds_gtid, th->th.th_info.ds.ds_thread)); in __kmp_reap_common()
1266 th->th.th_info.ds.ds_thread = 0; in __kmp_reap_common()
[all …]
H A Dkmp_runtime.cpp756 team = th->th.th_team; in __kmp_enter_single()
759 th->th.th_ident = id_ref; in __kmp_enter_single()
766 ++th->th.th_local.this_construct; in __kmp_enter_single()
3902 th->th.th_hot_teams = NULL; in __kmp_free_hot_teams()
3934 if (th->th.th_hot_teams) { in __kmp_reset_root()
3936 th->th.th_hot_teams = NULL; in __kmp_reset_root()
4620 th->th.th_new_place = place; in __kmp_partition_places()
4647 th->th.th_new_place = place; in __kmp_partition_places()
4765 f, th->th.th_new_place, th->th.th_first_place, in __kmp_partition_places()
4830 th->th.th_first_place, th->th.th_last_place, spacing)); in __kmp_partition_places()
[all …]
H A Dkmp_alloc.cpp243 th->th.th_local.bget_data = data; in set_thr_data()
244 th->th.th_local.bget_list = 0; in set_thr_data()
247 __kmp_init_lock(&th->th.th_local.bget_lock); in set_thr_data()
281 __kmp_acquire_lock(&th->th.th_local.bget_lock, __kmp_gtid_from_thread(th)); in __kmp_bget_dequeue()
286 p = (void *)th->th.th_local.bget_list; in __kmp_bget_dequeue()
287 th->th.th_local.bget_list = 0; in __kmp_bget_dequeue()
290 __kmp_release_lock(&th->th.th_local.bget_lock, __kmp_gtid_from_thread(th)); in __kmp_bget_dequeue()
355 th->th.th_local.bget_list = (void *)buf; in __kmp_bget_enqueue()
1038 if (th->th.th_local.bget_data != NULL) { in __kmp_finalize_bget()
1039 __kmp_free(th->th.th_local.bget_data); in __kmp_finalize_bget()
[all …]
H A Dz_Linux_util.cpp779 th->th.th_info.ds.ds_gtid = gtid; in __kmp_create_worker()
878 th->th.th_info.ds.ds_thread = handle; in __kmp_create_worker()
911 th->th.th_info.ds.ds_gtid = 0; in __kmp_create_monitor()
1009 th->th.th_info.ds.ds_thread = handle; in __kmp_create_monitor()
1057 KMP_DEBUG_ASSERT(th->th.th_info.ds.ds_tid == th->th.th_info.ds.ds_gtid); in __kmp_reap_monitor()
1412 --th->th.th_suspend_init_count; in __kmp_suspend_uninitialize_thread()
1468 th->th.th_active = FALSE; in __kmp_suspend_template()
1469 if (th->th.th_active_in_pool) { in __kmp_suspend_template()
1525 th->th.th_active = TRUE; in __kmp_suspend_template()
1526 if (TCR_4(th->th.th_in_pool)) { in __kmp_suspend_template()
[all …]
H A Dkmp_barrier.cpp65 this_thr->th.th_bar_arrive_time = this_thr->th.th_bar_min_time = in __kmp_linear_barrier_gather()
115 this_thr->th.th_bar_min_time, other_threads[i]->th.th_bar_min_time); in __kmp_linear_barrier_gather()
269 this_thr->th.th_bar_arrive_time = this_thr->th.th_bar_min_time = in __kmp_tree_barrier_gather()
302 this_thr->th.th_bar_min_time = KMP_MIN(this_thr->th.th_bar_min_time, in __kmp_tree_barrier_gather()
414 nproc = this_thr->th.th_team_nproc; in __kmp_tree_barrier_release()
487 this_thr->th.th_bar_arrive_time = this_thr->th.th_bar_min_time = in __kmp_hyper_barrier_gather()
547 this_thr->th.th_bar_min_time = KMP_MIN(this_thr->th.th_bar_min_time, in __kmp_hyper_barrier_gather()
1284 this_thr->th.th_team_bt_set = in __kmp_barrier()
1576 team = this_thr->th.th_team; in __kmp_join_barrier()
1657 this_thr->th.th_team_bt_set = in __kmp_join_barrier()
[all …]
H A Dkmp_dispatch.cpp117 team = th->th.th_team; in __kmp_dispatch_init_algorithm()
761 team = th->th.th_team; in __kmp_dispatch_init()
763 th->th.th_ident = loc; in __kmp_dispatch_init()
782 &th->th.th_dispatch in __kmp_dispatch_init()
820 &th->th.th_team->t.t_dispatch[th->th.th_info.ds.ds_tid]); in __kmp_dispatch_init()
826 &th->th.th_dispatch in __kmp_dispatch_init()
980 &th->th.th_team->t.t_dispatch[th->th.th_info.ds.ds_tid]); in __kmp_dispatch_finish()
1043 &th->th.th_team->t.t_dispatch[th->th.th_info.ds.ds_tid]); in __kmp_dispatch_finish_chunk()
1124 &th->th.th_team->t.t_dispatch[th->th.th_info.ds.ds_tid]); in __kmp_dispatch_next_algorithm()
1997 &th->th.th_team->t.t_dispatch[th->th.th_info.ds.ds_tid]); in __kmp_dispatch_next()
[all …]
H A Dkmp_csupport.cpp3307 if (th->th.th_teams_microtask) { in __kmp_swap_teams_for_teams_reduction()
3308 *team_p = team = th->th.th_team; in __kmp_swap_teams_for_teams_reduction()
3315 th->th.th_team_nproc = th->th.th_team->t.t_nproc; in __kmp_swap_teams_for_teams_reduction()
3316 th->th.th_task_team = th->th.th_team->t.t_task_team[0]; in __kmp_swap_teams_for_teams_reduction()
3318 th->th.th_task_state = 0; in __kmp_swap_teams_for_teams_reduction()
3329 th->th.th_info.ds.ds_tid = 0; in __kmp_restore_swapped_teams()
3330 th->th.th_team = team; in __kmp_restore_swapped_teams()
3333 th->th.th_task_state = task_state; in __kmp_restore_swapped_teams()
3867 kmp_team_t *team = th->th.th_team; in __kmpc_doacross_init()
3998 pr_buf = th->th.th_dispatch; in __kmpc_doacross_wait()
[all …]
H A Dkmp_wait_release.h126 int ds_tid = this_thr->th.th_info.ds.ds_tid; in __ompt_implicit_task_end()
182 th_gtid = this_thr->th.th_info.ds.ds_gtid; in __kmp_wait_template()
281 hibernate = this_thr->th.th_team_bt_intervals; in __kmp_wait_template()
283 hibernate = this_thr->th.th_team_bt_intervals; in __kmp_wait_template()
312 task_team = this_thr->th.th_task_team; in __kmp_wait_template()
335 this_thr->th.th_task_team = NULL; in __kmp_wait_template()
362 in_pool = !!TCR_4(this_thr->th.th_in_pool); in __kmp_wait_template()
366 this_thr->th.th_active_in_pool = TRUE; in __kmp_wait_template()
377 this_thr->th.th_active_in_pool = FALSE; in __kmp_wait_template()
384 if (this_thr->th.th_stats->isIdle() && in __kmp_wait_template()
[all …]
/freebsd-12.1/lib/libthread_db/
H A Dthread_db.c148 const td_thragent_t *ta = th->th_ta; in td_thr_clear_event()
155 const td_thragent_t *ta = th->th_ta; in td_thr_dbresume()
162 const td_thragent_t *ta = th->th_ta; in td_thr_dbsuspend()
169 const td_thragent_t *ta = th->th_ta; in td_thr_event_enable()
176 const td_thragent_t *ta = th->th_ta; in td_thr_event_getmsg()
183 const td_thragent_t *ta = th->th_ta; in td_thr_old_get_info()
191 const td_thragent_t *ta = th->th_ta; in td_thr_get_info()
199 const td_thragent_t *ta = th->th_ta; in td_thr_getxmmregs()
208 const td_thragent_t *ta = th->th_ta; in td_thr_getfpregs()
215 const td_thragent_t *ta = th->th_ta; in td_thr_getgregs()
[all …]
H A Dlibthr_db.c231 th->th_ta = ta; in pt_ta_map_id2thr()
232 th->th_tid = id; in pt_ta_map_id2thr()
233 th->th_thread = pt; in pt_ta_map_id2thr()
248 td_thrhandle_t th; in pt_ta_thr_iter() local
263 th.th_ta = ta; in pt_ta_thr_iter()
265 th.th_thread = pt; in pt_ta_thr_iter()
418 ret = pt_validate(th); in pt_dbsuspend()
453 ret = pt_ta_map_id2thr(th->th_ta, th->th_tid, &temp); in pt_thr_validate()
469 ret = pt_validate(th); in pt_thr_get_info_common()
682 pt = th->th_thread; in pt_thr_event_getmsg()
[all …]
H A Dlibpthread_db.c290 th->th_ta = ta; in pt_ta_map_id2thr()
291 th->th_tid = id; in pt_ta_map_id2thr()
292 th->th_thread = pt; in pt_ta_map_id2thr()
317 th->th_ta = ta; in pt_ta_map_lwp2thr()
322 th->th_thread = pt; in pt_ta_map_lwp2thr()
340 td_thrhandle_t th; in pt_ta_thr_iter() local
358 th.th_ta = ta; in pt_ta_thr_iter()
360 th.th_thread = pt; in pt_ta_thr_iter()
570 ret = pt_ta_map_id2thr(th->th_ta, th->th_tid, in pt_thr_validate()
1067 if (th->th_tid < 0 || th->th_tid >= (long)th->th_ta->map_len || in pt_validate()
[all …]
/freebsd-12.1/sys/kern/
H A Dkern_tc.c212 th = timehands; in fbclock_binuptime()
215 bintime_addx(bt, th->th_scale * tc_delta(th)); in fbclock_binuptime()
245 th = timehands; in fbclock_bintime()
248 bintime_addx(bt, th->th_scale * tc_delta(th)); in fbclock_bintime()
278 th = timehands; in fbclock_getbinuptime()
292 th = timehands; in fbclock_getnanouptime()
306 th = timehands; in fbclock_getmicrouptime()
365 bintime_addx(bt, th->th_scale * tc_delta(th)); in binuptime()
398 bintime_addx(bt, th->th_scale * tc_delta(th)); in bintime()
1375 th->th_offset_count &= th->th_counter->tc_counter_mask; in tc_windup()
[all …]
/freebsd-12.1/sys/netinet/
H A Dtcp_input.c285 hhook_data.th = th; in hhook_run_tcp_est_in()
453 if (th != NULL) in cc_cong_signal()
819 &ip6->ip6_src, th->th_sport, &ip6->ip6_dst, th->th_dport, in tcp_input()
835 th->th_sport, &ip6->ip6_dst, th->th_dport, in tcp_input()
869 th->th_sport, ip->ip_dst, th->th_dport, in tcp_input()
1298 if (th->th_dport == th->th_sport && in tcp_input()
1321 if (th->th_dport == th->th_sport && in tcp_input()
2079 th->th_seq++; in tcp_do_segment()
2977 if (SEQ_GT(th->th_seq+th->th_urp, tp->rcv_up)) { in tcp_do_segment()
2978 tp->rcv_up = th->th_seq + th->th_urp; in tcp_do_segment()
[all …]
H A Dtcp_reass.c371 first->tqe_start = th->th_seq; in tcp_reass_prepend()
553 if (th == NULL) in tcp_reass()
557 th, tp)); in tcp_reass()
644 th->th_seq += i; in tcp_reass()
744 th->th_seq += i; in tcp_reass()
855 th->th_seq += i; in tcp_reass()
904 tcp_reass_replace(tp, q, m, th->th_seq, *tlenp, mlast, lenofoh, th->th_flags); in tcp_reass()
1030 te->tqe_start = th->th_seq; in tcp_reass()
1069 if (th != NULL) { in tcp_reass()
1078 if (th != NULL) { in tcp_reass()
[all …]
H A Dtcp_lro.c203 l = th->th_off; in tcp_lro_csum_th()
204 p = (uint16_t *)th; in tcp_lro_csum_th()
315 struct tcphdr *th; in tcp_lro_flush() local
390 th->th_sum = ~th->th_sum; in tcp_lro_flush()
543 struct tcphdr **th) in tcp_lro_rx_ipv6() argument
562 struct tcphdr **th) in tcp_lro_rx_ipv4() argument
611 struct tcphdr *th; in tcp_lro_rx2() local
703 l = (th->th_off << 2); in tcp_lro_rx2()
705 l -= sizeof(*th); in tcp_lro_rx2()
719 csum = th->th_sum; in tcp_lro_rx2()
[all …]
/freebsd-12.1/usr.sbin/ppp/
H A Dslcompress.c236 #define THOFFSET(th) (th->th_off) in sl_compress_tcp() argument
237 hlen += th->th_off; in sl_compress_tcp()
269 hlen += th->th_off; in sl_compress_tcp()
281 memcmp(th + 1, oth + 1, (THOFFSET(th) - 5) << 2))) { in sl_compress_tcp()
517 th->th_ack = htonl(ntohl(th->th_ack) + i); in sl_uncompress_tcp()
518 th->th_seq = htonl(ntohl(th->th_seq) + i); in sl_uncompress_tcp()
523 th->th_seq = htonl(ntohl(th->th_seq) + ntohs(cs->cs_ip.ip_len) in sl_uncompress_tcp()
530 DECODEU(th->th_urp) in sl_uncompress_tcp()
534 DECODES(th->th_win) in sl_uncompress_tcp()
536 DECODEL(th->th_ack) in sl_uncompress_tcp()
[all …]
/freebsd-12.1/contrib/gdb/gdb/
H A Dwince.c968 th->step_pc = sh_get_next_pc (&th->context); in wince_software_single_step()
1033 for (th = &thread_head; (th = th->next) != NULL;) in thread_rec()
1039 th->suspend_count = suspend_thread (th->h) + 1; in thread_rec()
1044 get_thread_context (th->h, &th->context); in thread_rec()
1046 return th; in thread_rec()
1061 th = (thread_info *) xmalloc (sizeof (*th)); in child_add_thread()
1062 memset (th, 0, sizeof (*th)); in child_add_thread()
1064 th->h = h; in child_add_thread()
1100 th->next != NULL && th->next->id != id; in child_delete_thread()
1101 th = th->next) in child_delete_thread()
[all …]
H A Dwin32-nat.c240 for (th = &thread_head; (th = th->next) != NULL;) in thread_rec()
246 th->suspend_count = SuspendThread (th->h) + 1; in thread_rec()
251 return th; in thread_rec()
266 th = (thread_info *) xmalloc (sizeof (*th)); in child_add_thread()
267 memset (th, 0, sizeof (*th)); in child_add_thread()
278 CHECK (GetThreadContext (th->h, &th->context)); in child_add_thread()
321 th->next != NULL && th->next->id != id; in child_delete_thread()
322 th = th->next) in child_delete_thread()
348 GetThreadContext (th->h, &th->context); in do_child_fetch_inferior_registers()
1188 for (th = &thread_head; (th = th->next) != NULL;) in child_continue()
[all …]
/freebsd-12.1/sys/net/
H A Dslcompress.c161 struct tcphdr *th; in sl_compress_tcp() local
225 hlen += th->th_off; in sl_compress_tcp()
257 hlen += th->th_off; in sl_compress_tcp()
269 BCMP(th + 1, oth + 1, (th->th_off - 5) << 2))) in sl_compress_tcp()
461 struct tcphdr *th; in sl_uncompress_tcp_core() local
534 th->th_ack = htonl(ntohl(th->th_ack) + i); in sl_uncompress_tcp_core()
535 th->th_seq = htonl(ntohl(th->th_seq) + i); in sl_uncompress_tcp_core()
540 th->th_seq = htonl(ntohl(th->th_seq) + ntohs(cs->cs_ip.ip_len) in sl_uncompress_tcp_core()
547 DECODEU(th->th_urp) in sl_uncompress_tcp_core()
551 DECODES(th->th_win) in sl_uncompress_tcp_core()
[all …]
/freebsd-12.1/tools/regression/sockets/sendfile/
H A Dsendfile.c109 *offset = ntohl(th->th_offset); in test_th()
110 *length = ntohl(th->th_length); in test_th()
153 struct test_header th; in receive_test() local
159 len = read(accept_socket, &th, sizeof(th)); in receive_test()
259 bzero(th, sizeof(*th)); in init_th()
260 th->th_magic = htonl(TEST_MAGIC); in init_th()
262 th->th_offset = htonl(offset); in init_th()
263 th->th_length = htonl(length); in init_th()
271 struct test_header th; in send_test() local
292 len = write(connect_socket, &th, sizeof(th)); in send_test()
[all …]
/freebsd-12.1/share/examples/bootforth/
H A Dloader.rc9 cr .( - loader.4th...)
11 include /boot/loader.4th
15 cr .( - screen.4th...)
16 s" /boot/screen.4th" O_RDONLY fopen dup fload fclose
19 cr .( - frames.4th...)
20 s" /boot/frames.4th" O_RDONLY fopen dup fload fclose
23 cr .( - menuconf.4th...)
24 s" /boot/menuconf.4th" O_RDONLY fopen dup fload fclose
26 \ Initialize loader.4th stuff
28 cr cr .( Initializing loader.4th...)
/freebsd-12.1/lib/libc/sys/
H A D__vdso_gettimeofday.c40 tc_delta(const struct vdso_timehands *th, u_int *delta) in tc_delta() argument
45 error = __vdso_gettc(th, &tc); in tc_delta()
47 *delta = (tc - th->th_offset_count) & th->th_counter_mask; in tc_delta()
63 struct vdso_timehands *th; in binuptime() local
73 th = &tk->tk_th[curr]; in binuptime()
74 gen = atomic_load_acq_32(&th->th_gen); in binuptime()
75 *bt = th->th_offset; in binuptime()
76 error = tc_delta(th, &delta); in binuptime()
81 bintime_addx(bt, th->th_scale * delta); in binuptime()
83 bintime_add(bt, &th->th_boottime); in binuptime()
[all …]
/freebsd-12.1/contrib/tcpdump/
H A Dprint-tcp.c278 th->nxt; th = th->nxt) in tcp_print()
294 th->ack = seq, th->seq = ack - 1; in tcp_print()
296 th->seq = seq, th->ack = ack - 1; in tcp_print()
299 seq -= th->ack, ack -= th->seq; in tcp_print()
301 seq -= th->seq, ack -= th->ack; in tcp_print()
304 thseq = th->seq; in tcp_print()
329 th->nxt; th = th->nxt) in tcp_print()
345 th->ack = seq, th->seq = ack - 1; in tcp_print()
347 th->seq = seq, th->ack = ack - 1; in tcp_print()
350 seq -= th->ack, ack -= th->seq; in tcp_print()
[all …]
/freebsd-12.1/sys/net80211/
H A Dieee80211_radiotap.c66 struct ieee80211_radiotap_header *th, in ieee80211_radiotap_attachv() argument
75 th->it_present = htole32(tx_radiotap); in ieee80211_radiotap_attachv()
76 ic->ic_th = th; in ieee80211_radiotap_attachv()
88 ic->ic_txchan = ((uint8_t *) th) + off; in ieee80211_radiotap_attachv()
117 struct ieee80211_radiotap_header *th = ic->ic_th; in ieee80211_radiotap_vattach() local
119 if (th != NULL && ic->ic_rh != NULL) { in ieee80211_radiotap_vattach()
212 struct ieee80211_radiotap_header *th = ic->ic_th; in ieee80211_radiotap_tx() local
215 KASSERT(th != NULL, ("no tx radiotap header")); in ieee80211_radiotap_tx()
216 len = le16toh(th->it_len); in ieee80211_radiotap_tx()
219 bpf_mtap2(vap0->iv_rawbpf, th, len, m); in ieee80211_radiotap_tx()
[all …]

12345678910>>...17