/freebsd-9.3-release/contrib/gcclibs/libgomp/ |
H A D | barrier.c | 36 struct gomp_thread *thr = gomp_thread (); local 37 struct gomp_team *team = thr->ts.team;
|
H A D | single.c | 54 struct gomp_thread *thr = gomp_thread (); local 60 gomp_mutex_unlock (&thr->ts.work_share->lock); 66 gomp_barrier_wait (&thr->ts.team->barrier); 68 ret = thr->ts.work_share->copyprivate; 81 struct gomp_thread *thr = gomp_thread (); local 82 struct gomp_team *team = thr->ts.team; 86 thr->ts.work_share->copyprivate = data;
|
H A D | ordered.c | 40 struct gomp_thread *thr = gomp_thread (); local 41 struct gomp_team *team = thr->ts.team; 42 struct gomp_work_share *ws = thr->ts.work_share; 52 ws->ordered_team_ids[index] = thr->ts.team_id; 58 gomp_sem_post (team->ordered_release[thr->ts.team_id]); 71 struct gomp_thread *thr = gomp_thread (); local 72 struct gomp_team *team = thr->ts.team; 73 struct gomp_work_share *ws = thr->ts.work_share; 106 struct gomp_thread *thr = gomp_thread (); local 107 struct gomp_team *team = thr 154 struct gomp_thread *thr = gomp_thread (); local 172 struct gomp_thread *thr = gomp_thread (); local 196 struct gomp_thread *thr = gomp_thread (); local [all...] |
H A D | team.c | 73 struct gomp_thread *thr; local 78 thr = &gomp_tls_data; 81 thr = &local_thr; 82 pthread_setspecific (gomp_tls_key, thr); 84 gomp_sem_init (&thr->release, 0); 89 thr->ts = data->ts; 91 thr->ts.team->ordered_release[thr->ts.team_id] = &thr->release; 95 gomp_barrier_wait (&thr 182 struct gomp_thread *thr, *nthr; local 310 struct gomp_thread *thr = gomp_thread (); local 326 struct gomp_thread *thr; local [all...] |
H A D | work.c | 67 In all cases, thr->ts.work_share is updated to point to the new 74 struct gomp_thread *thr = gomp_thread (); local 75 struct gomp_team *team = thr->ts.team; 83 thr->ts.work_share = ws; 84 thr->ts.static_trip = 0; 92 ws_gen = ++thr->ts.work_share_generation; 100 thr->ts.work_share = ws; 101 thr->ts.static_trip = 0; 131 thr->ts.work_share = ws; 132 thr 148 struct gomp_thread *thr = gomp_thread (); local 186 struct gomp_thread *thr = gomp_thread (); local [all...] |
H A D | sections.c | 58 struct gomp_thread *thr = gomp_thread (); local 62 gomp_sections_init (thr->ts.work_share, count); 69 gomp_mutex_unlock (&thr->ts.work_share->lock); 86 struct gomp_thread *thr = gomp_thread (); local 89 gomp_mutex_lock (&thr->ts.work_share->lock); 94 gomp_mutex_unlock (&thr->ts.work_share->lock);
|
H A D | iter.c | 43 struct gomp_thread *thr = gomp_thread (); local 44 struct gomp_team *team = thr->ts.team; 45 struct gomp_work_share *ws = thr->ts.work_share; 48 if (thr->ts.static_trip == -1) 56 thr->ts.static_trip = -1; 69 if (thr->ts.static_trip > 0) 75 i = thr->ts.team_id; 89 thr->ts.static_trip = 1; 99 thr->ts.static_trip = (e0 == n ? -1 : 1); 112 i = thr 149 struct gomp_thread *thr = gomp_thread (); local 185 struct gomp_thread *thr = gomp_thread (); local 235 struct gomp_thread *thr = gomp_thread (); local 269 struct gomp_thread *thr = gomp_thread (); local [all...] |
H A D | loop.c | 69 struct gomp_thread *thr = gomp_thread (); local 72 gomp_loop_init (thr->ts.work_share, start, end, incr, 74 gomp_mutex_unlock (&thr->ts.work_share->lock); 83 struct gomp_thread *thr = gomp_thread (); local 87 gomp_loop_init (thr->ts.work_share, start, end, incr, 91 gomp_mutex_unlock (&thr->ts.work_share->lock); 95 gomp_mutex_unlock (&thr->ts.work_share->lock); 105 struct gomp_thread *thr = gomp_thread (); local 109 gomp_loop_init (thr->ts.work_share, start, end, incr, 113 gomp_mutex_unlock (&thr 150 struct gomp_thread *thr = gomp_thread (); local 167 struct gomp_thread *thr = gomp_thread (); local 186 struct gomp_thread *thr = gomp_thread (); local 248 struct gomp_thread *thr = gomp_thread (); local 265 struct gomp_thread *thr = gomp_thread (); local 277 struct gomp_thread *thr = gomp_thread (); local 302 struct gomp_thread *thr = gomp_thread (); local 318 struct gomp_thread *thr = gomp_thread (); local 336 struct gomp_thread *thr = gomp_thread (); local 354 struct gomp_thread *thr = gomp_thread (); local [all...] |
/freebsd-9.3-release/sys/ddb/ |
H A D | db_thread.c | 55 struct thread *thr; local 69 thr = kdb_thr_lookup(tid); 70 if (thr != NULL) { 71 err = kdb_thr_select(thr); 74 (long)thr->td_tid); 93 struct thread *thr; local 95 thr = kdb_thr_first(); 96 while (!db_pager_quit && thr != NULL) { 97 db_printf(" %6ld (%p) (stack %p) ", (long)thr->td_tid, thr, [all...] |
/freebsd-9.3-release/tools/regression/pthread/mutex_isowned_np/ |
H A D | mutex_isowned_np.c | 51 pthread_t thr; local 66 pthread_create(&thr, NULL, thread, &mtx); 67 pthread_join(thr, NULL);
|
/freebsd-9.3-release/tools/regression/pthread/unwind/ |
H A D | sem_wait_cancel.cpp | 14 thr(void *arg) function 29 pthread_create(&td, NULL, thr, NULL);
|
H A D | cond_wait_cancel.cpp | 15 thr(void *arg) function 33 pthread_create(&td, NULL, thr, NULL);
|
H A D | cond_wait_cancel2.cpp | 35 thr(void *arg) function 50 pthread_create(&td, NULL, thr, NULL);
|
/freebsd-9.3-release/sys/kern/ |
H A D | subr_kdb.c | 512 kdb_thr_ctx(struct thread *thr) argument 518 if (thr == curthread) 523 if (pc->pc_curthread == thr && 528 return (thr->td_pcb); 535 struct thread *thr; local 540 thr = FIRST_THREAD_IN_PROC(p); 541 if (thr != NULL) 542 return (thr); 566 struct thread *thr; local 568 thr 575 kdb_thr_next(struct thread *thr) argument 592 kdb_thr_select(struct thread *thr) argument [all...] |
/freebsd-9.3-release/gnu/usr.bin/gdb/kgdb/ |
H A D | trgt.c | 275 struct kthr *thr; local 286 thr = kgdb_thr_lookup_pid((int)addr); 287 if (thr == NULL) 290 thr = kgdb_thr_lookup_paddr(addr); 291 if (thr == NULL) 294 kgdb_switch_to_thread(thr->tid); 301 struct kthr *thr; local 309 thr = kgdb_thr_lookup_taddr(addr); 310 if (thr == NULL) 312 addr = thr [all...] |
/freebsd-9.3-release/contrib/gcclibs/libmudflap/ |
H A D | mf-hooks3.c | 74 DECLARE(int, pthread_create, pthread_t *thr, const pthread_attr_t *attr, 265 __mf_0fn_pthread_create (pthread_t *thr, const pthread_attr_t *attr, argument 274 WRAPPER(int, pthread_create, pthread_t *thr, const pthread_attr_t *attr, argument 287 return CALL_REAL (pthread_create, thr, attr, __mf_pthread_spawner, si);
|
/freebsd-9.3-release/gnu/usr.bin/gdb/gdbserver/ |
H A D | fbsd-low.h | 67 #define get_thread_process(thr) (get_process (inferior_target_data (thr)))
|
/freebsd-9.3-release/lib/libkse/thread/ |
H A D | thr_private.h | 224 #define KSEG_THRQ_ADD(kseg, thr) \ 226 TAILQ_INSERT_TAIL(&(kseg)->kg_threadq, thr, kle);\ 230 #define KSEG_THRQ_REMOVE(kseg, thr) \ 232 TAILQ_REMOVE(&(kseg)->kg_threadq, thr, kle); \ 908 #define THR_LOCK(thr) THR_LOCK_ACQUIRE(thr, &(thr)->lock) 909 #define THR_UNLOCK(thr) THR_LOCK_RELEASE(thr, &(thr) [all...] |
/freebsd-9.3-release/lib/libthread_db/ |
H A D | libpthread_db.h | 47 psaddr_t thr; member in union:pt_map::__anon5353
|
/freebsd-9.3-release/sys/mips/nlm/ |
H A D | xlp_machdep.c | 554 int core, thr; local 557 thr = hwtid % 4; 558 if (thr == 0) { 583 thr_unblock[thr] = 1; 593 int thr; local 596 thr = nlm_threadid(); 597 if (thr == 0) { 606 while (thr_unblock[thr] == 0) 608 thr_unblock[thr] = 0;
|
/freebsd-9.3-release/sys/arm/arm/ |
H A D | db_trace.c | 195 db_trace_thread(struct thread *thr, int count) argument 199 ctx = kdb_thr_ctx(thr);
|
/freebsd-9.3-release/contrib/ntp/sntp/libevent/ |
H A D | evthread_pthread.c | 89 pthread_t thr; member in union:__anon180 99 r.thr = pthread_self();
|
/freebsd-9.3-release/lib/libthr/ |
H A D | Makefile | 16 LIB=thr
|
/freebsd-9.3-release/sys/gdb/ |
H A D | gdb_main.c | 176 struct thread *thr; local 183 thr = kdb_thr_lookup(tid); 184 if (thr == NULL) { 188 kdb_thr_select(thr);
|
/freebsd-9.3-release/contrib/gdb/gdb/ |
H A D | ada-tasks.c | 477 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...] |