Home
last modified time | relevance | path

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

123

/external/linux-kselftest/tools/testing/selftests/pidfd/
Dpidfd_wait.c39 pid_t parent_tid = -1; in test_pidfd_wait_simple() local
41 .parent_tid = ptr_to_u64(&parent_tid), in test_pidfd_wait_simple()
90 test_name, parent_tid, pidfd, strerror(errno)); in test_pidfd_wait_simple()
95 test_name, parent_tid, pidfd, strerror(errno)); in test_pidfd_wait_simple()
101 test_name, info.si_signo, parent_tid, pidfd, in test_pidfd_wait_simple()
107 test_name, info.si_code, parent_tid, pidfd, in test_pidfd_wait_simple()
110 if (info.si_pid != parent_tid) in test_pidfd_wait_simple()
113 test_name, info.si_pid, parent_tid, pidfd, in test_pidfd_wait_simple()
124 pid_t parent_tid = -1; in test_pidfd_wait_states() local
126 .parent_tid = ptr_to_u64(&parent_tid), in test_pidfd_wait_states()
[all …]
/external/llvm-project/compiler-rt/lib/lsan/
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, 0, true); in lsan_register_worker_thread()
85 lsan_register_worker_thread(context->parent_tid); in lsan_dispatch_call_block_and_release()
104 lsan_ctxt->parent_tid = GetCurrentThread(); in alloc_lsan_context()
151 int parent_tid = GetCurrentThread(); \
153 lsan_register_worker_thread(parent_tid); \
Dlsan_thread.cpp50 u32 ThreadCreate(u32 parent_tid, uptr user_id, bool detached, void *arg) { in ThreadCreate() argument
51 return thread_registry->CreateThread(user_id, detached, parent_tid, arg); in ThreadCreate()
Dlsan_fuchsia.cpp95 u32 parent_tid = GetCurrentThread(); in __sanitizer_before_thread_create_hook() local
96 u32 tid = ThreadCreate(parent_tid, user_id, detached, &args); in __sanitizer_before_thread_create_hook()
/external/compiler-rt/lib/asan/
Dasan_mac.cc140 u32 parent_tid; member
144 void asan_register_worker_thread(int parent_tid, StackTrace *stack) { in asan_register_worker_thread() argument
148 parent_tid, stack, /* detached */ true); in asan_register_worker_thread()
165 asan_register_worker_thread(context->parent_tid, &stack); in asan_dispatch_call_block_and_release()
184 asan_ctxt->parent_tid = GetCurrentTidOrInvalid(); in alloc_asan_context()
249 int parent_tid = GetCurrentTidOrInvalid(); \
252 asan_register_worker_thread(parent_tid, &stack); \
/external/llvm-project/compiler-rt/lib/asan/
Dasan_mac.cpp142 u32 parent_tid; member
146 void asan_register_worker_thread(int parent_tid, StackTrace *stack) { in asan_register_worker_thread() argument
150 parent_tid, stack, /* detached */ true); in asan_register_worker_thread()
168 asan_register_worker_thread(context->parent_tid, &stack); in asan_dispatch_call_block_and_release()
187 asan_ctxt->parent_tid = GetCurrentTidOrInvalid(); in alloc_asan_context()
252 int parent_tid = GetCurrentTidOrInvalid(); \
255 asan_register_worker_thread(parent_tid, &stack); \
Dasan_fuchsia.cpp92 static AsanThread *CreateAsanThread(StackTrace *stack, u32 parent_tid, in CreateAsanThread() argument
100 asanThreadRegistry().CreateThread(user_id, detached, parent_tid, &args); in CreateAsanThread()
154 u32 parent_tid = GetCurrentTidOrInvalid(); in BeforeThreadCreateHook() local
157 CreateAsanThread(&stack, parent_tid, user_id, detached, name); in BeforeThreadCreateHook()
Dasan_rtems.cpp107 static AsanThread *CreateAsanThread(StackTrace *stack, u32 parent_tid, in CreateAsanThread() argument
114 asanThreadRegistry().CreateThread(user_id, detached, parent_tid, &args); in CreateAsanThread()
157 u32 parent_tid = GetCurrentTidOrInvalid(); in BeforeThreadCreateHook() local
159 return CreateAsanThread(&stack, parent_tid, user_id, detached, in BeforeThreadCreateHook()
/external/ltp/testcases/kernel/syscalls/tgkill/
Dtgkill03.c20 static pid_t parent_tid; variable
53 parent_tid = sys_gettid(); in setup()
79 { "Invalid tgid", &invalid_pid, &parent_tid, SIGUSR1, EINVAL },
81 { "Invalid signal", &parent_tgid, &parent_tid, -1, EINVAL },
/external/llvm-project/compiler-rt/test/tsan/
Ddebugging.cpp25 const char **name, int *parent_tid, void **trace,
97 int parent_tid; in __tsan_on_report() local
99 __tsan_get_report_thread(report, 0, &tid, &os_id, &running, &name, &parent_tid, trace, 16); in __tsan_on_report()
103 __tsan_get_report_thread(report, 1, &tid, &os_id, &running, &name, &parent_tid, trace, 16); in __tsan_on_report()
/external/compiler-rt/test/tsan/
Ddebugging.cc24 const char **name, int *parent_tid, void **trace,
96 int parent_tid; in __tsan_on_report() local
98 __tsan_get_report_thread(report, 0, &tid, &os_id, &running, &name, &parent_tid, trace, 16); in __tsan_on_report()
102 __tsan_get_report_thread(report, 1, &tid, &os_id, &running, &name, &parent_tid, trace, 16); in __tsan_on_report()
/external/llvm-project/compiler-rt/test/xray/TestCases/Posix/
Dfork_basic_logging.cpp44 static uint64_t parent_tid; variable
70 if(tid == parent_tid) in print_parent_or_child()
82 parent_tid = log_syscall_gettid(); in main()
/external/llvm-project/compiler-rt/lib/memprof/
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()
Dmemprof_thread.cpp75 u32 parent_tid, StackTrace *stack, in Create() argument
84 detached, parent_tid, &args); in Create()
/external/llvm-project/compiler-rt/test/tsan/Darwin/
Dmain_tid.mm12 const char **name, int *parent_tid, void **trace,
23 int parent_tid;
25 __tsan_get_report_thread(report, 0, &tid, &os_id, &running, &name, &parent_tid, trace, 16);
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_thread_registry.cc22 detached(false), parent_tid(0), next(0) { in ThreadContextBase()
76 parent_tid = _parent_tid; in SetCreated()
121 u32 ThreadRegistry::CreateThread(uptr user_id, bool detached, u32 parent_tid, in CreateThread() argument
153 parent_tid, arg); in CreateThread()
Dsanitizer_thread_registry.h49 u32 parent_tid; variable
96 u32 CreateThread(uptr user_id, bool detached, u32 parent_tid, void *arg);
/external/compiler-rt/lib/tsan/rtl/
Dtsan_debugging.cc142 int *running, const char **name, int *parent_tid, in __tsan_get_report_thread() argument
151 *parent_tid = thread->parent_tid; in __tsan_get_report_thread()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_thread_registry.cpp21 thread_type(ThreadType::Regular), parent_tid(0), next(0) { in ThreadContextBase()
89 parent_tid = _parent_tid; in SetCreated()
135 u32 ThreadRegistry::CreateThread(uptr user_id, bool detached, u32 parent_tid, in CreateThread() argument
167 parent_tid, arg); in CreateThread()
Dsanitizer_thread_registry.h53 u32 parent_tid; variable
108 u32 CreateThread(uptr user_id, bool detached, u32 parent_tid, void *arg);
/external/llvm-project/lldb/source/Plugins/Process/POSIX/
DProcessMessage.h91 static ProcessMessage NewThread(lldb::tid_t parent_tid, in NewThread() argument
93 return ProcessMessage(parent_tid, eNewThreadMessage, child_tid); in NewThread()
/external/compiler-rt/lib/lsan/
Dlsan_thread.cc85 u32 ThreadCreate(u32 parent_tid, uptr user_id, bool detached) { in ThreadCreate() argument
86 return thread_registry->CreateThread(user_id, detached, parent_tid, in ThreadCreate()
/external/llvm-project/openmp/runtime/src/
Dkmp_barrier.cpp371 kmp_int32 parent_tid = (tid - 1) >> branch_bits; in __kmp_tree_barrier_gather() local
376 gtid, team->t.t_id, tid, __kmp_gtid_from_tid(parent_tid, team), in __kmp_tree_barrier_gather()
377 team->t.t_id, parent_tid, &thr_bar->b_arrived, thr_bar->b_arrived, in __kmp_tree_barrier_gather()
385 kmp_flag_64<> flag(&thr_bar->b_arrived, other_threads[parent_tid]); in __kmp_tree_barrier_gather()
548 kmp_int32 parent_tid = tid & ~((1 << (level + branch_bits)) - 1); in __kmp_hyper_barrier_gather() local
554 gtid, team->t.t_id, tid, __kmp_gtid_from_tid(parent_tid, team), in __kmp_hyper_barrier_gather()
555 team->t.t_id, parent_tid, &thr_bar->b_arrived, in __kmp_hyper_barrier_gather()
563 p_flag.set_waiter(other_threads[parent_tid]); in __kmp_hyper_barrier_gather()
820 thr_bar->parent_tid = -1; // default for master in __kmp_init_hierarchical_barrier_thread()
828 thr_bar->parent_tid = 0; in __kmp_init_hierarchical_barrier_thread()
[all …]
/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_debugging.cpp167 int *running, const char **name, int *parent_tid, in __tsan_get_report_thread() argument
176 *parent_tid = thread->parent_tid; in __tsan_get_report_thread()
/external/linux-kselftest/tools/testing/selftests/clone3/
Dclone3_selftests.h20 __aligned_u64 parent_tid; member

123