Searched refs:thr (Results 76 - 100 of 112) sorted by relevance

12345

/freebsd-11-stable/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_wait_release.h560 kmp_basic_flag_native(volatile FlagType *p, kmp_info_t *thr) argument
562 waiting_threads[0] = thr;
580 * @param thr in the thread which is now waiting
584 void set_waiter(kmp_info_t *thr) {
585 waiting_threads[0] = thr;
657 kmp_basic_flag(std::atomic<FlagType> *p, kmp_info_t *thr) argument
659 waiting_threads[0] = thr;
677 * @param thr in the thread which is now waiting
681 void set_waiter(kmp_info_t *thr) {
682 waiting_threads[0] = thr;
742 kmp_flag_32(std::atomic<kmp_uint32> *p, kmp_info_t *thr) argument
771 kmp_flag_64(volatile kmp_uint64 *p, kmp_info_t *thr) argument
[all...]
H A Dkmp_runtime.cpp137 1. Current thread loads other_threads[i] to thr and checks it, it is
143 5. Current thread reads junk from *thr.
148 kmp_info_t *thr = (kmp_info_t *)TCR_SYNC_PTR(other_threads[i]); local
149 if (!thr)
152 stack_size = (size_t)TCR_PTR(thr->th.th_info.ds.ds_stacksize);
153 stack_base = (char *)TCR_PTR(thr->th.th_info.ds.ds_stackbase);
452 static void __kmp_print_thread_storage_map(kmp_info_t *thr, int gtid) { argument
453 __kmp_print_storage_map_gtid(gtid, thr, thr + 1, sizeof(kmp_info_t), "th_%d",
456 __kmp_print_storage_map_gtid(gtid, &thr
1019 kmp_info_t *thr = __kmp_allocate_thread(root, team, i); local
1053 kmp_info_t *thr = team->t.t_threads[i]; local
2826 kmp_info_t *thr; local
2884 kmp_info_t *thr; local
3798 __kmp_free_hot_teams(kmp_root_t *root, kmp_info_t *thr, int level, const int max_level) argument
[all...]
H A Dkmp_gsupport.cpp287 kmp_info_t *thr; local
293 thr = __kmp_threads[*gtid];
296 enclosing_state = thr->th.ompt_thread_info.state;
297 thr->th.ompt_thread_info.state = ompt_state_work_parallel;
313 thr->th.ompt_thread_info.state = enclosing_state;
334 kmp_info_t *thr; local
339 thr = __kmp_threads[*gtid];
341 enclosing_state = thr->th.ompt_thread_info.state;
342 thr->th.ompt_thread_info.state = ompt_state_work_parallel;
359 thr
371 kmp_info_t *thr = __kmp_threads[gtid]; local
453 kmp_info_t *thr; local
[all...]
H A Dz_Linux_util.cpp522 static void *__kmp_launch_worker(void *thr) { argument
534 gtid = ((kmp_info_t *)thr)->th.th_info.ds.ds_gtid;
541 __kmp_stats_thread_ptr = ((kmp_info_t *)thr)->th.th_stats;
585 __kmp_set_stack_info(gtid, (kmp_info_t *)thr);
587 __kmp_check_stack_overlap((kmp_info_t *)thr);
589 exit_val = __kmp_launch_thread((kmp_info_t *)thr);
602 static void *__kmp_launch_monitor(void *thr) { argument
626 __kmp_set_stack_info(((kmp_info_t *)thr)->th.th_info.ds.ds_gtid,
627 (kmp_info_t *)thr);
629 __kmp_check_stack_overlap((kmp_info_t *)thr);
[all...]
/freebsd-11-stable/contrib/gdb/gdb/
H A Dada-tasks.c477 pthreadTeb_t thr; local
616 read_memory ((CORE_ADDR) atcb.thread, &thr, sizeof (thr));
621 pt->stack_per = (100 * ((long) thr.__stack_base -
622 regs.regs[SP_REGNUM])) / thr.__stack_size;
630 if (thr.__stack_size < 1024 * 1024)
632 size = thr.__stack_size / 1024;
635 else if (thr.__stack_size < 1024 * 1024 * 1024)
637 size = thr.__stack_size / 1024 / 1024;
642 size = thr
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_interface.h397 void __tsan_go_atomic32_load(ThreadState *thr, uptr cpc, uptr pc, u8 *a);
399 void __tsan_go_atomic64_load(ThreadState *thr, uptr cpc, uptr pc, u8 *a);
401 void __tsan_go_atomic32_store(ThreadState *thr, uptr cpc, uptr pc, u8 *a);
403 void __tsan_go_atomic64_store(ThreadState *thr, uptr cpc, uptr pc, u8 *a);
405 void __tsan_go_atomic32_fetch_add(ThreadState *thr, uptr cpc, uptr pc, u8 *a);
407 void __tsan_go_atomic64_fetch_add(ThreadState *thr, uptr cpc, uptr pc, u8 *a);
409 void __tsan_go_atomic32_exchange(ThreadState *thr, uptr cpc, uptr pc, u8 *a);
411 void __tsan_go_atomic64_exchange(ThreadState *thr, uptr cpc, uptr pc, u8 *a);
413 void __tsan_go_atomic32_compare_exchange(ThreadState *thr, uptr cpc, uptr pc,
416 void __tsan_go_atomic64_compare_exchange(ThreadState *thr, upt
[all...]
H A Dtsan_mutex.cpp174 void CheckNoLocks(ThreadState *thr) { argument
176 thr->internal_deadlock_detector.CheckNoLocks();
/freebsd-11-stable/lib/libthread_db/
H A Dlibpthread_db.c85 } else if (ta->map[i].type == type && ta->map[i].thr == pt) {
111 ta->map[first].thr = pt;
271 while (pt != 0 && ta->map[id].thr != pt) {
462 ret = ps_pread(ta->ph, ta->map[th->th_tid].thr +
467 ret = ps_pread(ta->ph, ta->map[th->th_tid].thr +
487 ptr = ta->map[th->th_tid].thr + ta->thread_off_kse;
496 ptr = ta->map[th->th_tid].thr +
602 ret = ps_pread(ta->ph, ta->map[th->th_tid].thr +
607 ret = ps_pread(ta->ph, ta->map[th->th_tid].thr + ta->thread_off_tcb,
611 ret = ps_pread(ta->ph, ta->map[th->th_tid].thr
[all...]
/freebsd-11-stable/sys/mips/nlm/
H A Dxlp_machdep.c618 int core, thr; local
621 thr = hwtid % 4;
622 if (thr == 0) {
647 thr_unblock[thr] = 1;
657 int thr; local
660 thr = nlm_threadid();
661 if (thr == 0) {
669 while (thr_unblock[thr] == 0)
671 thr_unblock[thr] = 0;
/freebsd-11-stable/sys/contrib/vchiq/interface/compat/
H A Dvchi_bsd.c437 flush_signals(VCHIQ_THREAD_T thr) argument
443 fatal_signal_pending(VCHIQ_THREAD_T thr) argument
511 set_user_nice(VCHIQ_THREAD_T thr, int nice) argument
517 wake_up_process(VCHIQ_THREAD_T thr) argument
/freebsd-11-stable/lib/libthr/
H A DMakefile17 LIB=thr
/freebsd-11-stable/sys/mips/mips/
H A Ddb_trace.c427 db_trace_thread(struct thread *thr, int count) argument
432 if (thr == curthread) {
446 ctx = kdb_thr_ctx(thr);
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/safestack/
H A Dsafestack_platform.h39 #include <sys/thr.h>
/freebsd-11-stable/lib/libthr/thread/
H A Dthr_private.h53 #include <sys/thr.h>
363 * lwpid_t is 32bit but kernel thr API exports tid as long type
420 #define SHOULD_CANCEL(thr) \
421 ((thr)->cancel_pending && (thr)->cancel_enable && \
422 (thr)->no_cancel == 0)
638 #define THR_THREAD_LOCK(curthrd, thr) THR_LOCK_ACQUIRE(curthrd, &(thr)->lock)
639 #define THR_THREAD_UNLOCK(curthrd, thr) THR_LOCK_RELEASE(curthrd, &(thr)
[all...]
/freebsd-11-stable/sys/i386/i386/
H A Ddb_trace.c572 db_trace_thread(struct thread *thr, int count) argument
577 ctx = kdb_thr_ctx(thr);
578 tf = thr == kdb_thread ? kdb_frame : NULL;
579 return (db_backtrace(thr, tf, (struct i386_frame *)ctx->pcb_ebp,
/freebsd-11-stable/sys/amd64/amd64/
H A Ddb_trace.c393 db_trace_thread(struct thread *thr, int count) argument
398 ctx = kdb_thr_ctx(thr);
399 tf = thr == kdb_thread ? kdb_frame : NULL;
400 return (db_backtrace(thr, tf, (struct amd64_frame *)ctx->pcb_rbp,
/freebsd-11-stable/sys/kern/
H A Dimgact_elf.c1636 struct thread *thr; local
1650 thr = td;
1651 while (thr != NULL) {
1653 __elfN(note_prstatus), thr);
1655 __elfN(note_fpregset), thr);
1657 __elfN(note_thrmisc), thr);
1659 __elfN(note_ptlwpinfo), thr);
1661 __elfN(note_threadmd), thr);
1663 thr = (thr
[all...]
/freebsd-11-stable/sys/dev/bwi/
H A Dbwirf.c2125 int32_t thr; local
2135 thr = (rf->rf_nrssi[1] - rf->rf_nrssi[0]) * 32;
2136 thr += 20 * (rf->rf_nrssi[0] + 1);
2137 thr /= 40;
2139 thr = rf->rf_nrssi[1] - 5;
2141 if (thr < 0)
2142 thr = 0;
2143 else if (thr > 0x3e)
2144 thr = 0x3e;
2147 PHY_WRITE(mac, BWI_PHYR_NRSSI_THR_11B, (((uint16_t)thr) <<
2182 uint16_t thr; local
[all...]
/freebsd-11-stable/contrib/unbound/dnstap/
H A Dunbound-dnstap-socket.c1532 int thr; member in struct:order_id
1541 if(o1->thr < o2->thr) return -1;
1542 if(o1->thr > o2->thr) return 1;
/freebsd-11-stable/sys/cam/ctl/
H A Dctl.c1947 struct ctl_thread *thr = &softc->threads[i]; local
1949 mtx_init(&thr->queue_lock, "CTL queue mutex", NULL, MTX_DEF);
1950 thr->ctl_softc = softc;
1951 STAILQ_INIT(&thr->incoming_queue);
1952 STAILQ_INIT(&thr->rtr_queue);
1953 STAILQ_INIT(&thr->done_queue);
1954 STAILQ_INIT(&thr->isc_queue);
1956 error = kproc_kthread_add(ctl_work_thread, thr,
1957 &softc->ctl_proc, &thr->thread, 0, 0, "ctl", "work%d", i);
1995 struct ctl_thread *thr local
13169 struct ctl_thread *thr = (struct ctl_thread *)arg; local
13345 struct ctl_thread *thr; local
13361 struct ctl_thread *thr; local
13374 struct ctl_thread *thr; local
13387 struct ctl_thread *thr; local
[all...]
/freebsd-11-stable/contrib/unbound/daemon/
H A Ddaemon.c494 * @param thr: thread number 0..num-1 of thread to skip.
496 static void close_other_pipes(struct daemon* daemon, int thr) argument
500 if(i!=thr) {
/freebsd-11-stable/sys/dev/cx/
H A Dcxddk.h243 unsigned thr : 4; /* FIFO threshold */ member in struct:__anon9557
/freebsd-11-stable/lib/librt/
H A Dsigev_thread.c36 #include <sys/thr.h>
/freebsd-11-stable/crypto/heimdal/appl/gssmask/
H A Dgssmaestro.c54 pthread_t thr; member in struct:client
681 pthread_create(&c->thr, NULL, log_function, c);
953 pthread_join(&clients[i]->thr, NULL);
/freebsd-11-stable/tests/sys/file/
H A Dflock_helper.c1452 pthread_t thr[THREADS]; local
1494 error = pthread_create(&thr[i], NULL, test16_func, &tc);
1512 error = pthread_join(thr[i], &res);

Completed in 245 milliseconds

12345