| /freebsd-13.1/stand/forth/ |
| H A D | Makefile | 5 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-13.1/contrib/llvm-project/openmp/runtime/src/ |
| H A D | z_Windows_NT_util.cpp | 411 th->th.th_active = FALSE; in __kmp_suspend_template() 418 __kmp_win32_cond_wait(&th->th.th_suspend_cv, &th->th.th_suspend_mx, th, in __kmp_suspend_template() 421 __kmp_win32_cond_wait(&th->th.th_suspend_cv, &th->th.th_suspend_mx, th, in __kmp_suspend_template() 436 th->th.th_active = TRUE; in __kmp_suspend_template() 437 if (TCR_4(th->th.th_in_pool)) { in __kmp_suspend_template() 481 flag = (C *)th->th.th_sleep_loc; in __kmp_resume_template() 1135 (LPVOID)th, th->th.th_info.ds.ds_thread)); in __kmp_create_worker() 1203 th->th.th_info.ds.ds_gtid = 0; in __kmp_create_monitor() 1332 th->th.th_info.ds.ds_gtid, th->th.th_info.ds.ds_thread)); in __kmp_reap_common() 1334 th->th.th_info.ds.ds_thread = 0; in __kmp_reap_common() [all …]
|
| H A D | kmp_runtime.cpp | 667 team = th->th.th_team; in __kmp_enter_single() 670 th->th.th_ident = id_ref; in __kmp_enter_single() 677 ++th->th.th_local.this_construct; in __kmp_enter_single() 3890 th->th.th_hot_teams = NULL; in __kmp_free_hot_teams() 3922 if (th->th.th_hot_teams) { in __kmp_reset_root() 3924 th->th.th_hot_teams = NULL; in __kmp_reset_root() 4688 th->th.th_new_place = place; in __kmp_partition_places() 4713 th->th.th_new_place = place; in __kmp_partition_places() 4827 f, th->th.th_new_place, th->th.th_first_place, in __kmp_partition_places() 4890 th->th.th_first_place, th->th.th_last_place, spacing)); in __kmp_partition_places() [all …]
|
| H A D | kmp_alloc.cpp | 242 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 D | z_Linux_util.cpp | 716 th->th.th_info.ds.ds_gtid = gtid; in __kmp_create_worker() 822 th->th.th_info.ds.ds_thread = handle; in __kmp_create_worker() 855 th->th.th_info.ds.ds_gtid = 0; in __kmp_create_monitor() 953 th->th.th_info.ds.ds_thread = handle; in __kmp_create_monitor() 1001 KMP_DEBUG_ASSERT(th->th.th_info.ds.ds_tid == th->th.th_info.ds.ds_gtid); in __kmp_reap_monitor() 1367 --th->th.th_suspend_init_count; in __kmp_suspend_uninitialize_thread() 1443 th->th.th_active = FALSE; in __kmp_suspend_template() 1444 if (th->th.th_active_in_pool) { in __kmp_suspend_template() 1500 th->th.th_active = TRUE; in __kmp_suspend_template() 1501 if (TCR_4(th->th.th_in_pool)) { in __kmp_suspend_template() [all …]
|
| H A D | kmp_barrier.cpp | 61 this_thr->th.th_bar_arrive_time = this_thr->th.th_bar_min_time = in __kmp_linear_barrier_gather_template() 116 this_thr->th.th_bar_min_time, other_threads[i]->th.th_bar_min_time); in __kmp_linear_barrier_gather_template() 304 this_thr->th.th_bar_arrive_time = this_thr->th.th_bar_min_time = in __kmp_tree_barrier_gather() 336 this_thr->th.th_bar_min_time = KMP_MIN(this_thr->th.th_bar_min_time, in __kmp_tree_barrier_gather() 517 this_thr->th.th_bar_arrive_time = this_thr->th.th_bar_min_time = in __kmp_hyper_barrier_gather() 577 this_thr->th.th_bar_min_time = KMP_MIN(this_thr->th.th_bar_min_time, in __kmp_hyper_barrier_gather() 1324 this_thr->th.th_team_bt_set = in __kmp_barrier_template() 1653 team = this_thr->th.th_team; in __kmp_join_barrier() 1732 this_thr->th.th_team_bt_set = in __kmp_join_barrier() 1927 this_thr->th.th_team_bt_set = in __kmp_fork_barrier() [all …]
|
| H A D | kmp_wait_release.h | 528 __kmp_lock_suspend_mx(th); in __kmp_mwait_template() 535 th->th.th_active = FALSE; in __kmp_mwait_template() 536 if (th->th.th_active_in_pool) { in __kmp_mwait_template() 537 th->th.th_active_in_pool = FALSE; in __kmp_mwait_template() 559 TCW_PTR(th->th.th_sleep_loc, (void *)flag); in __kmp_mwait_template() 572 __kmp_lock_suspend_mx(th); in __kmp_mwait_template() 576 TCW_PTR(th->th.th_sleep_loc, NULL); in __kmp_mwait_template() 579 th->th.th_active = TRUE; in __kmp_mwait_template() 580 if (TCR_4(th->th.th_in_pool)) { in __kmp_mwait_template() 582 th->th.th_active_in_pool = TRUE; in __kmp_mwait_template() [all …]
|
| H A D | kmp_csupport.cpp | 3429 if (th->th.th_teams_microtask) { in __kmp_swap_teams_for_teams_reduction() 3430 *team_p = team = th->th.th_team; in __kmp_swap_teams_for_teams_reduction() 3437 th->th.th_team_nproc = th->th.th_team->t.t_nproc; in __kmp_swap_teams_for_teams_reduction() 3438 th->th.th_task_team = th->th.th_team->t.t_task_team[0]; in __kmp_swap_teams_for_teams_reduction() 3440 th->th.th_task_state = 0; in __kmp_swap_teams_for_teams_reduction() 3451 th->th.th_info.ds.ds_tid = 0; in __kmp_restore_swapped_teams() 3452 th->th.th_team = team; in __kmp_restore_swapped_teams() 3996 kmp_team_t *team = th->th.th_team; in __kmpc_doacross_init() 4119 kmp_team_t *team = th->th.th_team; in __kmpc_doacross_wait() 4130 pr_buf = th->th.th_dispatch; in __kmpc_doacross_wait() [all …]
|
| H A D | kmp_dispatch.cpp | 156 team = th->th.th_team; in __kmp_dispatch_init_algorithm() 839 team = th->th.th_team; in __kmp_dispatch_init() 841 th->th.th_ident = loc; in __kmp_dispatch_init() 860 &th->th.th_dispatch in __kmp_dispatch_init() 895 &th->th.th_team->t.t_dispatch[th->th.th_info.ds.ds_tid]); in __kmp_dispatch_init() 901 &th->th.th_dispatch in __kmp_dispatch_init() 1033 &th->th.th_team->t.t_dispatch[th->th.th_info.ds.ds_tid]); in __kmp_dispatch_finish() 1096 &th->th.th_team->t.t_dispatch[th->th.th_info.ds.ds_tid]); in __kmp_dispatch_finish_chunk() 1176 &th->th.th_team->t.t_dispatch[th->th.th_info.ds.ds_tid]); in __kmp_dispatch_next_algorithm() 2150 &th->th.th_team->t.t_dispatch[th->th.th_info.ds.ds_tid]); in __kmp_dispatch_next() [all …]
|
| /freebsd-13.1/lib/libthread_db/ |
| H A D | thread_db.c | 148 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 D | libthr_db.c | 231 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 D | libpthread_db.c | 290 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-13.1/sys/netinet/tcp_stacks/ |
| H A D | rack_bbr_common.c | 176 struct tcphdr *th; in ctf_get_enet_type() local 228 th->th_sum ^= 0xffff; in ctf_get_enet_type() 231 if (th->th_sum) { in ctf_get_enet_type() 281 if (th->th_sum) { in ctf_get_enet_type() 392 struct tcphdr *th; in ctf_process_inbound_raw() local 488 th = NULL; in ctf_process_inbound_raw() 632 th->th_seq++; in _ctf_drop_checks() 633 if (th->th_urp > 1) in _ctf_drop_checks() 634 th->th_urp--; in _ctf_drop_checks() 676 th->th_seq += todrop; in _ctf_drop_checks() [all …]
|
| /freebsd-13.1/sys/netinet/ |
| H A D | tcp_input.c | 315 hhook_data.th = th; in hhook_run_tcp_est_in() 509 if (th != NULL) in cc_cong_signal() 872 &ip6->ip6_src, th->th_sport, &ip6->ip6_dst, th->th_dport, in tcp_input_with_port() 888 th->th_sport, &ip6->ip6_dst, th->th_dport, in tcp_input_with_port() 922 th->th_sport, ip->ip_dst, th->th_dport, in tcp_input_with_port() 1320 if (th->th_dport == th->th_sport && in tcp_input_with_port() 1343 if (th->th_dport == th->th_sport && in tcp_input_with_port() 2143 th->th_seq++; in tcp_do_segment() 3109 if (SEQ_GT(th->th_seq+th->th_urp, tp->rcv_up)) { in tcp_do_segment() 3110 tp->rcv_up = th->th_seq + th->th_urp; in tcp_do_segment() [all …]
|
| H A D | tcp_reass.c | 372 first->tqe_start = th->th_seq; in tcp_reass_prepend() 553 if (th == NULL) in tcp_reass() 557 th, tp)); in tcp_reass() 658 th->th_seq += i; in tcp_reass() 758 th->th_seq += i; in tcp_reass() 869 th->th_seq += i; in tcp_reass() 918 tcp_reass_replace(tp, q, m, th->th_seq, *tlenp, mlast, lenofoh, th->th_flags); in tcp_reass() 1044 te->tqe_start = th->th_seq; in tcp_reass() 1083 if (th != NULL) { in tcp_reass() 1092 if (th != NULL) { in tcp_reass() [all …]
|
| H A D | tcp_timewait.c | 408 thflags = th->th_flags; in tcp_twcheck() 459 if (th->th_flags & TH_ACK) { in tcp_twcheck() 463 if (th->th_flags & TH_SYN) in tcp_twcheck() 465 if (th->th_flags & TH_FIN) in tcp_twcheck() 505 th->th_seq != tw->rcv_nxt || th->th_ack != tw->snd_nxt) { in tcp_twcheck() 583 struct tcphdr *th = NULL; in tcp_twrespond() local 671 th->th_seq = htonl(tw->snd_nxt); in tcp_twrespond() 672 th->th_ack = htonl(tw->rcv_nxt); in tcp_twrespond() 674 th->th_flags = flags; in tcp_twrespond() 690 th->th_sum = htons(0); in tcp_twrespond() [all …]
|
| /freebsd-13.1/usr.sbin/ppp/ |
| H A D | slcompress.c | 236 #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-13.1/lib/libc/sys/ |
| H A D | __vdso_gettimeofday.c | 47 error = __vdso_gettc(th, &tc); in tc_delta() 49 *delta = (tc - th->th_offset_count) & th->th_counter_mask; in tc_delta() 65 struct vdso_timehands *th; in binuptime() local 76 th = &tk->tk_th[curr]; in binuptime() 78 *bt = th->th_offset; in binuptime() 79 error = tc_delta(th, &delta); in binuptime() 84 scale = th->th_scale; in binuptime() 98 bintime_add(bt, &th->th_boottime); in binuptime() 112 struct vdso_timehands *th; in getnanouptime() local 120 th = &tk->tk_th[curr]; in getnanouptime() [all …]
|
| /freebsd-13.1/sys/net/ |
| H A D | slcompress.c | 160 struct tcphdr *th; in sl_compress_tcp() local 224 hlen += th->th_off; in sl_compress_tcp() 256 hlen += th->th_off; in sl_compress_tcp() 268 BCMP(th + 1, oth + 1, (th->th_off - 5) << 2))) in sl_compress_tcp() 458 struct tcphdr *th; in sl_uncompress_tcp_core() local 530 th->th_ack = htonl(ntohl(th->th_ack) + i); in sl_uncompress_tcp_core() 531 th->th_seq = htonl(ntohl(th->th_seq) + i); in sl_uncompress_tcp_core() 536 th->th_seq = htonl(ntohl(th->th_seq) + ntohs(cs->cs_ip.ip_len) in sl_uncompress_tcp_core() 543 DECODEU(th->th_urp) in sl_uncompress_tcp_core() 547 DECODES(th->th_win) in sl_uncompress_tcp_core() [all …]
|
| /freebsd-13.1/sys/kern/ |
| H A D | kern_tc.c | 242 th = timehands; in bintime_off() 269 th = timehands; in getthmember() 904 th = timehands; in ffclock_read_counter() 1395 th->th_offset_count &= th->th_counter->tc_counter_mask; in tc_windup() 1396 bintime_add_tc_delta(&th->th_offset, th->th_scale, in tc_windup() 1484 timehands = th; in tc_windup() 1758 th = timehands; in pps_capture() 2191 th = timehands; in tc_fill_vdso_timehands() 2214 th = timehands; in tc_fill_vdso_timehands32() 2255 (uintmax_t)th->th_adjustment, (uintmax_t)th->th_scale, in DB_SHOW_COMMAND() [all …]
|
| /freebsd-13.1/tools/regression/sockets/sendfile/ |
| H A D | sendfile.c | 109 *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-13.1/share/examples/bootforth/ |
| H A D | loader.rc | 9 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-13.1/lib/libc/x86/sys/ |
| H A D | __vdso_gettc.c | 58 rdtsc_low(const struct vdso_timehands *th) in rdtsc_low() argument 68 rdtscp_low(const struct vdso_timehands *th) in rdtscp_low() argument 81 return (rdtsc_low(th)); in rdtsc_low_mb_lfence() 88 return (rdtsc_low(th)); in rdtsc_low_mb_mfence() 94 return (rdtsc_low(th)); in rdtsc_low_mb_none() 186 (const struct vdso_timehands *th)) 341 *tc = MAX(ns, th->th_x86_pvc_last_systime); in __vdso_pvclock_gettc() 375 switch (th->th_algo) { in __vdso_gettc() 377 *tc = th->th_x86_shift > 0 ? __vdso_gettc_rdtsc_low(th) : in __vdso_gettc() 381 idx = th->th_x86_hpet_idx; in __vdso_gettc() [all …]
|
| /freebsd-13.1/contrib/tcpdump/ |
| H A D | print-tcp.c | 278 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-13.1/sys/net80211/ |
| H A D | ieee80211_radiotap.c | 66 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 …]
|