/freebsd/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_mac.cpp | 148 u32 parent_tid; member 152 void asan_register_worker_thread(int parent_tid, StackTrace *stack) { in asan_register_worker_thread() argument 155 t = AsanThread::Create(parent_tid, stack, /* detached */ true); in asan_register_worker_thread() 173 asan_register_worker_thread(context->parent_tid, &stack); in asan_dispatch_call_block_and_release() 192 asan_ctxt->parent_tid = GetCurrentTidOrInvalid(); in alloc_asan_context() 259 int parent_tid = GetCurrentTidOrInvalid(); \ 262 asan_register_worker_thread(parent_tid, &stack); \ 307 int parent_tid = GetCurrentTidOrInvalid(); in INTERCEPTOR() local 313 asan_register_worker_thread(parent_tid, &stack); in INTERCEPTOR() 321 int parent_tid = GetCurrentTidOrInvalid(); in INTERCEPTOR() local [all …]
|
H A D | asan_fuchsia.cpp | 119 static AsanThread *CreateAsanThread(StackTrace *stack, u32 parent_tid, in CreateAsanThread() argument 125 u32 tid = asanThreadRegistry().CreateThread(0, detached, parent_tid, &args); in CreateAsanThread() 180 u32 parent_tid = GetCurrentTidOrInvalid(); in BeforeThreadCreateHook() local 182 AsanThread *thread = CreateAsanThread(&stack, parent_tid, detached, name); in BeforeThreadCreateHook()
|
H A D | asan_descriptions.cpp | 53 if (context->parent_tid == kInvalidTid) { in DescribeThread() 59 AsanThreadIdAndName(context->parent_tid).c_str()); in DescribeThread() 65 GetThreadContextByTidLocked(context->parent_tid); in DescribeThread()
|
H A D | asan_thread.cpp | 99 u32 parent_tid, StackTrace *stack, in Create() argument 110 asanThreadRegistry().CreateThread(0, detached, parent_tid, &args); in Create()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/lsan/ |
H A D | lsan_mac.cpp | 65 u32 parent_tid; member 69 void lsan_register_worker_thread(int parent_tid) { in lsan_register_worker_thread() argument 71 u32 tid = ThreadCreate(parent_tid, true); in lsan_register_worker_thread() 84 lsan_register_worker_thread(context->parent_tid); in lsan_dispatch_call_block_and_release() 103 lsan_ctxt->parent_tid = GetCurrentThreadId(); in alloc_lsan_context() 150 int parent_tid = GetCurrentThreadId(); \ 152 lsan_register_worker_thread(parent_tid); \
|
H A D | lsan_thread.cpp | 64 u32 ThreadCreate(u32 parent_tid, bool detached, void *arg) { in ThreadCreate() argument 65 return thread_registry->CreateThread(0, detached, parent_tid, arg); in ThreadCreate()
|
H A D | lsan_fuchsia.cpp | 103 u32 parent_tid = GetCurrentThreadId(); in __sanitizer_before_thread_create_hook() 104 u32 tid = ThreadCreate(parent_tid, detached, &args); in __sanitizer_before_thread_create_hook() 102 u32 parent_tid = GetCurrentThreadId(); __sanitizer_before_thread_create_hook() local
|
H A D | lsan_interceptors.cpp | 422 u32 parent_tid = (uptr)arg; in ThreadStartFunc() 423 uptr tid = ThreadCreate(parent_tid, Detached); in ThreadStartFunc() 420 u32 parent_tid = (uptr)arg; ThreadStartFunc() local
|
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/ |
H A D | memprof_descriptions.cpp | 53 if (context->parent_tid == kInvalidTid) { in DescribeThread() 59 MemprofThreadIdAndName(context->parent_tid).c_str()); in DescribeThread() 65 GetThreadContextByTidLocked(context->parent_tid); in DescribeThread()
|
H A D | memprof_thread.cpp | 75 u32 parent_tid, StackTrace *stack, in Create() argument 83 memprofThreadRegistry().CreateThread(0, detached, parent_tid, &args); in Create()
|
H A D | memprof_thread.h | 60 u32 parent_tid, StackTrace *stack,
|
/freebsd/sys/compat/linux/ |
H A D | linux_fork.c | 160 if (args->parent_tid == NULL) in linux_clone_proc() 193 error = copyout(&p2->p_pid, args->parent_tid, in linux_clone_proc() 246 args->parent_tid, args->child_tid); in linux_clone_thread() 251 if (args->parent_tid == NULL) in linux_clone_thread() 328 error = copyout(&newtd->td_tid, args->parent_tid, in linux_clone_thread() 362 .parent_tid = args->parent_tidptr, in linux_clone() 456 ca->parent_tid = PTRIN(uca->parent_tid); in linux_clone3()
|
H A D | linux_fork.h | 73 uint64_t parent_tid; member 89 l_int *parent_tid; member
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_thread_registry.cpp | 23 thread_type(ThreadType::Regular), parent_tid(0), next(0) { in ThreadContextBase() 91 parent_tid = _parent_tid; in SetCreated() 136 u32 ThreadRegistry::CreateThread(uptr user_id, bool detached, u32 parent_tid, in CreateThread() argument 174 parent_tid, arg); in CreateThread()
|
H A D | sanitizer_thread_registry.h | 54 u32 parent_tid; variable 109 u32 CreateThread(uptr user_id, bool detached, u32 parent_tid, void *arg);
|
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_debugging.cpp | 169 int *running, const char **name, int *parent_tid, in __tsan_get_report_thread() 178 *parent_tid = thread->parent_tid; in __tsan_get_report_thread() 167 __tsan_get_report_thread(void * report,uptr idx,int * tid,tid_t * os_id,int * running,const char ** name,int * parent_tid,void ** trace,uptr trace_size) __tsan_get_report_thread() argument
|
H A D | tsan_rtl_report.cpp | 217 rt->parent_tid = tctx->parent_tid; in AddThread() 808 Tid parent_tid = rep_desc->threads[i]->parent_tid; in ReportRace() local 809 if (parent_tid == kMainTid || parent_tid == kInvalidTid) in ReportRace() 812 ctx->thread_registry.GetThreadLocked(parent_tid)); in ReportRace()
|
H A D | tsan_report.h | 91 Tid parent_tid; 90 Tid parent_tid; global() member
|
H A D | tsan_report.cpp | 248 thread_name(thrbuf, rt->parent_tid)); in PrintThread()
|
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_barrier.cpp | 869 kmp_int32 parent_tid = (tid - 1) >> branch_bits; in __kmp_tree_barrier_gather() local 874 gtid, team->t.t_id, tid, __kmp_gtid_from_tid(parent_tid, team), in __kmp_tree_barrier_gather() 875 team->t.t_id, parent_tid, &thr_bar->b_arrived, thr_bar->b_arrived, in __kmp_tree_barrier_gather() 882 kmp_flag_64<> flag(&thr_bar->b_arrived, other_threads[parent_tid]); in __kmp_tree_barrier_gather() 1042 kmp_int32 parent_tid = tid & ~((1 << (level + branch_bits)) - 1); in __kmp_hyper_barrier_gather() local 1048 gtid, team->t.t_id, tid, __kmp_gtid_from_tid(parent_tid, team), in __kmp_hyper_barrier_gather() 1049 team->t.t_id, parent_tid, &thr_bar->b_arrived, in __kmp_hyper_barrier_gather() 1056 p_flag.set_waiter(other_threads[parent_tid]); in __kmp_hyper_barrier_gather() 1307 thr_bar->parent_tid = -1; // default for primary thread in __kmp_init_hierarchical_barrier_thread() 1315 thr_bar->parent_tid = 0; in __kmp_init_hierarchical_barrier_thread() [all …]
|
/freebsd/sys/sys/ |
H A D | thr.h | 55 long *parent_tid; /* parent accesses the new TID here. */ member
|
/freebsd/sys/kern/ |
H A D | kern_thr.c | 160 (param->parent_tid != NULL && in thr_new_initthr() 161 suword_lwpid(param->parent_tid, td->td_tid))) in thr_new_initthr()
|
/freebsd/lib/libthr/thread/ |
H A D | thr_create.c | 162 param.parent_tid = &new_thread->tid; in _pthread_create()
|
/freebsd/sys/compat/freebsd32/ |
H A D | freebsd32.h | 318 uint32_t parent_tid; member
|
/freebsd/sys/dev/pst/ |
H A D | pst-iop.c | 128 printf("parentid=%04x\n", sc->lct[i].parent_tid); in iop_attach()
|