Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_mac.cpp151 u32 parent_tid; member
155 void asan_register_worker_thread(int parent_tid, StackTrace *stack) { in asan_register_worker_thread() argument
158 t = AsanThread::Create(parent_tid, stack, /* detached */ true); in asan_register_worker_thread()
176 asan_register_worker_thread(context->parent_tid, &stack); in asan_dispatch_call_block_and_release()
195 asan_ctxt->parent_tid = GetCurrentTidOrInvalid(); in alloc_asan_context()
262 int parent_tid = GetCurrentTidOrInvalid(); \
265 asan_register_worker_thread(parent_tid, &stack); \
310 int parent_tid = GetCurrentTidOrInvalid(); in INTERCEPTOR() local
316 asan_register_worker_thread(parent_tid, &stack); in INTERCEPTOR()
324 int parent_tid = GetCurrentTidOrInvalid(); in INTERCEPTOR() local
[all …]
H A Dasan_thread.h65 static AsanThread *Create(const T &data, u32 parent_tid, StackTrace *stack, in Create() argument
67 return Create(&data, sizeof(data), parent_tid, stack, detached); in Create()
69 static AsanThread *Create(u32 parent_tid, StackTrace *stack, bool detached) { in Create() argument
70 return Create(nullptr, 0, parent_tid, stack, detached); in Create()
152 u32 parent_tid, StackTrace *stack, bool detached);
H A Dasan_fuchsia.cpp124 static AsanThread *CreateAsanThread(StackTrace *stack, u32 parent_tid, in CreateAsanThread() argument
129 u32 tid = asanThreadRegistry().CreateThread(0, detached, parent_tid, thread); in CreateAsanThread()
184 u32 parent_tid = GetCurrentTidOrInvalid(); in BeforeThreadCreateHook() local
186 AsanThread *thread = CreateAsanThread(&stack, parent_tid, detached, name); in BeforeThreadCreateHook()
H A Dasan_descriptions.cpp52 context->parent_tid == kInvalidTid in DescribeThread()
54 : GetThreadContextByTidLocked(context->parent_tid); in DescribeThread()
64 AsanThreadIdAndName(context->parent_tid).c_str()); in DescribeThread()
H A Dasan_thread.cpp97 u32 parent_tid, StackTrace *stack, in Create() argument
107 asanThreadRegistry().CreateThread(0, detached, parent_tid, 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.cpp65 u32 ThreadCreate(u32 parent_tid, bool detached, void *arg) { in ThreadCreate() argument
66 return thread_registry->CreateThread(0, detached, parent_tid, arg); in ThreadCreate()
H A Dlsan_fuchsia.cpp108 u32 parent_tid = GetCurrentThreadId(); in __sanitizer_before_thread_create_hook() local
109 u32 tid = ThreadCreate(parent_tid, detached, &args); in __sanitizer_before_thread_create_hook()
H A Dlsan_interceptors.cpp451 u32 parent_tid = (uptr)arg; in ThreadStartFunc() local
452 uptr tid = ThreadCreate(parent_tid, Detached); in ThreadStartFunc()
/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.cpp72 u32 parent_tid, StackTrace *stack, in Create() argument
80 0, detached, parent_tid, stack ? StackDepotPut(*stack) : 0, thread); in Create()
H A Dmemprof_thread.h54 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.h54 u32 parent_tid; variable
110 u32 CreateThread(uptr user_id, bool detached, u32 parent_tid, u32 stack_tid,
112 u32 CreateThread(uptr user_id, bool detached, u32 parent_tid, void *arg) { in CreateThread() argument
113 return CreateThread(user_id, detached, parent_tid, 0, arg); in CreateThread()
H A Dsanitizer_thread_registry.cpp29 parent_tid(0), in ThreadContextBase()
100 parent_tid = _parent_tid; in SetCreated()
149 u32 ThreadRegistry::CreateThread(uptr user_id, bool detached, u32 parent_tid, in CreateThread() argument
188 tctx->SetCreated(user_id, total_threads_++, detached, parent_tid, stack_tid, in CreateThread()
H A Dsanitizer_thread_history.cpp49 ThreadContextBase *parent = registry.GetThreadLocked(context->parent_tid); in PrintThreadHistory()
/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
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_barrier.cpp870 kmp_int32 parent_tid = (tid - 1) >> branch_bits; in __kmp_tree_barrier_gather() local
875 gtid, team->t.t_id, tid, __kmp_gtid_from_tid(parent_tid, team), in __kmp_tree_barrier_gather()
876 team->t.t_id, parent_tid, &thr_bar->b_arrived, thr_bar->b_arrived, in __kmp_tree_barrier_gather()
883 kmp_flag_64<> flag(&thr_bar->b_arrived, other_threads[parent_tid]); in __kmp_tree_barrier_gather()
1043 kmp_int32 parent_tid = tid & ~((1 << (level + branch_bits)) - 1); in __kmp_hyper_barrier_gather() local
1049 gtid, team->t.t_id, tid, __kmp_gtid_from_tid(parent_tid, team), in __kmp_hyper_barrier_gather()
1050 team->t.t_id, parent_tid, &thr_bar->b_arrived, in __kmp_hyper_barrier_gather()
1057 p_flag.set_waiter(other_threads[parent_tid]); in __kmp_hyper_barrier_gather()
1308 thr_bar->parent_tid = -1; // default for primary thread in __kmp_init_hierarchical_barrier_thread()
1316 thr_bar->parent_tid = 0; in __kmp_init_hierarchical_barrier_thread()
[all …]
/freebsd/sys/sys/
H A Dthr.h56 long *parent_tid; /* parent accesses the new TID here. */ member
/freebsd/sys/kern/
H A Dkern_thr.c167 (param->parent_tid != NULL && in thr_new_initthr()
168 suword_lwpid(param->parent_tid, td->td_tid))) in thr_new_initthr()
/freebsd/lib/libthr/thread/
H A Dthr_create.c168 param.parent_tid = &new_thread->tid; in _pthread_create()
/freebsd/sys/compat/freebsd32/
H A Dfreebsd32.h310 uint32_t parent_tid; member

12