• Home
  • Raw
  • Download

Lines Matching refs:tid

135 DrdThreadId DRD_(VgThreadIdToDrdThreadId)(const ThreadId tid);
136 DrdThreadId DRD_(NewVgThreadIdToDrdThreadId)(const ThreadId tid);
137 DrdThreadId DRD_(PtThreadIdToDrdThreadId)(const PThreadId tid);
138 ThreadId DRD_(DrdThreadIdToVgThreadId)(const DrdThreadId tid);
143 void DRD_(thread_delete)(const DrdThreadId tid, Bool detached);
144 void DRD_(thread_finished)(const DrdThreadId tid);
145 void DRD_(drd_thread_atfork_child)(const DrdThreadId tid);
146 void DRD_(thread_pre_cancel)(const DrdThreadId tid);
147 void DRD_(thread_set_stack_startup)(const DrdThreadId tid,
149 Addr DRD_(thread_get_stack_min)(const DrdThreadId tid);
150 Addr DRD_(thread_get_stack_min_min)(const DrdThreadId tid);
151 Addr DRD_(thread_get_stack_max)(const DrdThreadId tid);
152 SizeT DRD_(thread_get_stack_size)(const DrdThreadId tid);
153 Bool DRD_(thread_get_on_alt_stack)(const DrdThreadId tid);
154 void DRD_(thread_set_on_alt_stack)(const DrdThreadId tid,
157 void DRD_(thread_set_pthreadid)(const DrdThreadId tid, const PThreadId ptid);
158 Bool DRD_(thread_get_joinable)(const DrdThreadId tid);
159 void DRD_(thread_set_joinable)(const DrdThreadId tid, const Bool joinable);
160 void DRD_(thread_entering_pthread_create)(const DrdThreadId tid);
161 void DRD_(thread_left_pthread_create)(const DrdThreadId tid);
162 const HChar* DRD_(thread_get_name)(const DrdThreadId tid);
163 void DRD_(thread_set_name)(const DrdThreadId tid, const HChar* const name);
167 int DRD_(thread_enter_synchr)(const DrdThreadId tid);
168 int DRD_(thread_leave_synchr)(const DrdThreadId tid);
169 int DRD_(thread_get_synchr_nesting_count)(const DrdThreadId tid);
170 void DRD_(thread_new_segment)(const DrdThreadId tid);
171 VectorClock* DRD_(thread_get_vc)(const DrdThreadId tid);
172 void DRD_(thread_get_latest_segment)(Segment** sg, const DrdThreadId tid);
175 void DRD_(thread_new_segment_and_combine_vc)(DrdThreadId tid,
177 void DRD_(thread_update_conflict_set)(const DrdThreadId tid,
181 void DRD_(thread_set_record_loads)(const DrdThreadId tid, const Bool enabled);
182 void DRD_(thread_set_record_stores)(const DrdThreadId tid, const Bool enabled);
184 void DRD_(thread_report_races)(const DrdThreadId tid);
185 void DRD_(thread_report_races_segment)(const DrdThreadId tid,
188 void DRD_(thread_report_conflicting_segments)(const DrdThreadId tid,
216 Bool DRD_(IsValidDrdThreadId)(const DrdThreadId tid) in DRD_()
218 return (0 <= (int)tid && tid < DRD_N_THREADS && tid != DRD_INVALID_THREADID in DRD_()
219 && (DRD_(g_threadinfo)[tid].valid)); in DRD_()
287 void DRD_(thread_set_stack_min)(const DrdThreadId tid, const Addr stack_min) in DRD_()
290 tl_assert(0 <= (int)tid in DRD_()
291 && tid < DRD_N_THREADS in DRD_()
292 && tid != DRD_INVALID_THREADID); in DRD_()
294 DRD_(g_threadinfo)[tid].stack_min = stack_min; in DRD_()
298 tl_assert(DRD_(g_threadinfo)[tid].stack_min in DRD_()
299 <= DRD_(g_threadinfo)[tid].stack_max in DRD_()
300 || DRD_(g_threadinfo)[tid].stack_max == 0); in DRD_()
302 if (UNLIKELY(stack_min < DRD_(g_threadinfo)[tid].stack_min_min)) in DRD_()
304 DRD_(g_threadinfo)[tid].stack_min_min = stack_min; in DRD_()
342 Segment* DRD_(thread_get_segment)(const DrdThreadId tid) in DRD_()
345 tl_assert(0 <= (int)tid && tid < DRD_N_THREADS in DRD_()
346 && tid != DRD_INVALID_THREADID); in DRD_()
347 tl_assert(DRD_(g_threadinfo)[tid].sg_last); in DRD_()
349 return DRD_(g_threadinfo)[tid].sg_last; in DRD_()