Home
last modified time | relevance | path

Searched refs:parent_tid (Results 1 – 25 of 32) sorted by relevance

12

/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_mac.cpp148 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 Dasan_fuchsia.cpp119 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 Dasan_descriptions.cpp53 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 Dasan_thread.cpp99 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 Dlsan_mac.cpp65 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 Dlsan_thread.cpp64 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 Dlsan_fuchsia.cpp103 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 Dlsan_interceptors.cpp422 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 Dmemprof_descriptions.cpp53 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 Dmemprof_thread.cpp75 u32 parent_tid, StackTrace *stack, in Create() argument
83 memprofThreadRegistry().CreateThread(0, detached, parent_tid, &args); in Create()
H A Dmemprof_thread.h60 u32 parent_tid, StackTrace *stack,
/freebsd/sys/compat/linux/
H A Dlinux_fork.c160 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 Dlinux_fork.h73 uint64_t parent_tid; member
89 l_int *parent_tid; member
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_thread_registry.cpp23 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 Dsanitizer_thread_registry.h54 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 Dtsan_debugging.cpp169 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 Dtsan_rtl_report.cpp217 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 Dtsan_report.h91 Tid parent_tid;
90 Tid parent_tid; global() member
H A Dtsan_report.cpp248 thread_name(thrbuf, rt->parent_tid)); in PrintThread()
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_barrier.cpp869 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 Dthr.h55 long *parent_tid; /* parent accesses the new TID here. */ member
/freebsd/sys/kern/
H A Dkern_thr.c160 (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 Dthr_create.c162 param.parent_tid = &new_thread->tid; in _pthread_create()
/freebsd/sys/compat/freebsd32/
H A Dfreebsd32.h318 uint32_t parent_tid; member
/freebsd/sys/dev/pst/
H A Dpst-iop.c128 printf("parentid=%04x\n", sc->lct[i].parent_tid); in iop_attach()

12