Home
last modified time | relevance | path

Searched refs:ThreadId (Results 1 – 25 of 125) sorted by relevance

12345

/external/valgrind/main/coregrind/
Dpub_core_tooliface.h139 Bool (*tool_handle_client_request)(ThreadId, UWord*, UWord*);
142 void (*tool_pre_syscall) (ThreadId, UInt, UWord*, UInt);
143 void (*tool_post_syscall)(ThreadId, UInt, UWord*, UInt, SysRes);
150 void* (*tool_malloc) (ThreadId, SizeT);
151 void* (*tool___builtin_new) (ThreadId, SizeT);
152 void* (*tool___builtin_vec_new) (ThreadId, SizeT);
153 void* (*tool_memalign) (ThreadId, SizeT, SizeT);
154 void* (*tool_calloc) (ThreadId, SizeT, SizeT);
155 void (*tool_free) (ThreadId, void*);
156 void (*tool___builtin_delete) (ThreadId, void*);
[all …]
Dpub_core_replacemalloc.h43 void* (*tl_malloc) (ThreadId tid, SizeT n);
44 void* (*tl___builtin_new) (ThreadId tid, SizeT n);
45 void* (*tl___builtin_vec_new) (ThreadId tid, SizeT n);
46 void* (*tl_memalign) (ThreadId tid, SizeT align, SizeT n);
47 void* (*tl_calloc) (ThreadId tid, SizeT nmemb, SizeT n);
48 void (*tl_free) (ThreadId tid, void* p);
49 void (*tl___builtin_delete) (ThreadId tid, void* p);
50 void (*tl___builtin_vec_delete)(ThreadId tid, void* p);
51 void* (*tl_realloc) (ThreadId tid, void* p, SizeT size);
52 SizeT (*tl_malloc_usable_size) (ThreadId tid, void* payload);
[all …]
Dpub_core_signals.h51 extern void VG_(poll_signals) ( ThreadId );
54 extern SysRes VG_(do_sys_sigaltstack) ( ThreadId tid, vki_stack_t* ss,
59 extern SysRes VG_(do_sys_sigprocmask) ( ThreadId tid, Int how,
64 ( ThreadId tid, /* OUT */ vki_sigset_t* saved_mask );
71 extern void VG_(synth_fault) (ThreadId tid);
72 extern void VG_(synth_fault_mapping)(ThreadId tid, Addr addr);
73 extern void VG_(synth_fault_perms) (ThreadId tid, Addr addr);
74 extern void VG_(synth_sigill) (ThreadId tid, Addr addr);
75 extern void VG_(synth_sigtrap) (ThreadId tid);
76 extern void VG_(synth_sigbus) (ThreadId tid);
Dpub_core_scheduler.h41 extern ThreadId VG_(alloc_ThreadState)(void);
44 extern void VG_(exit_thread)(ThreadId tid);
49 extern void VG_(get_thread_out_of_syscall)(ThreadId tid);
52 extern void VG_(nuke_all_threads_except) ( ThreadId me,
60 extern void VG_(acquire_BigLock) ( ThreadId tid, HChar* who );
75 extern void VG_(release_BigLock) ( ThreadId tid,
86 extern VgSchedReturnCode VG_(scheduler) ( ThreadId tid );
90 extern ThreadId VG_(scheduler_init_phase1) ( void );
94 extern void VG_(scheduler_init_phase2) ( ThreadId main_tid,
Dm_tooliface.c265 Bool (*handle)(ThreadId, UWord*, UWord*) in VG_()
273 void(*pre) (ThreadId, UInt, UWord*, UInt), in VG_()
274 void(*post)(ThreadId, UInt, UWord*, UInt, SysRes res) in VG_()
293 void* (*malloc) ( ThreadId, SizeT ), in VG_()
294 void* (*__builtin_new) ( ThreadId, SizeT ), in VG_()
295 void* (*__builtin_vec_new) ( ThreadId, SizeT ), in VG_()
296 void* (*memalign) ( ThreadId, SizeT, SizeT ), in VG_()
297 void* (*calloc) ( ThreadId, SizeT, SizeT ), in VG_()
298 void (*free) ( ThreadId, void* ), in VG_()
299 void (*__builtin_delete) ( ThreadId, void* ), in VG_()
[all …]
Dm_threadstate.c41 ThreadId VG_(running_tid) = VG_INVALID_THREADID;
62 ThreadState *VG_(get_ThreadState)(ThreadId tid) in VG_()
69 Bool VG_(is_valid_tid) ( ThreadId tid ) in VG_()
79 ThreadId VG_(get_running_tid)(void) in VG_()
84 Bool VG_(is_running_thread)(ThreadId tid) in VG_()
95 inline Bool VG_(is_exiting)(ThreadId tid) in VG_()
105 ThreadId tid; in VG_()
119 ThreadId tid; in VG_()
130 ThreadId VG_(lwpid_to_vgtid)(Int lwp) in VG_()
132 ThreadId tid; in VG_()
Dpub_core_syswrap.h41 extern void VG_(main_thread_wrapper_NORETURN)(ThreadId tid);
43 extern void VG_(client_syscall) ( ThreadId tid, UInt trc );
45 extern void VG_(post_syscall) ( ThreadId tid );
52 ThreadId tid,
59 extern void VG_(reap_threads)(ThreadId self);
75 (ThreadId,VgSchedReturnCode);
Dpub_core_threadstate.h133 ThreadId parent; // parent tid (if any)
145 void (*post_mach_trap_fn)(ThreadId tid,
284 ThreadId tid;
369 extern ThreadId VG_(running_tid);
380 extern ThreadState *VG_(get_ThreadState) ( ThreadId tid );
383 extern Bool VG_(is_valid_tid) ( ThreadId tid );
386 extern Bool VG_(is_running_thread)(ThreadId tid);
389 extern Bool VG_(is_exiting)(ThreadId tid);
399 extern ThreadId VG_(lwpid_to_vgtid)(Int lwpid);
Dpub_core_libcproc.h83 extern void VG_(do_atfork_pre) ( ThreadId tid );
84 extern void VG_(do_atfork_parent) ( ThreadId tid );
85 extern void VG_(do_atfork_child) ( ThreadId tid );
Dpub_core_gdbserver.h44 void VG_(gdbserver_prerun_action) (ThreadId tid);
49 extern Bool VG_(gdbserver_activity) (ThreadId tid);
84 extern Bool VG_(gdbserver_report_signal) (Int signo, ThreadId tid);
/external/valgrind/main/include/
Dpub_tool_tooliface.h69 ThreadId tid; /* tid requesting translation */
410 Bool (*handle_client_request)(ThreadId tid, UWord* arg_block, UWord* ret)
425 void (* pre_syscall)(ThreadId tid, UInt syscallno,
427 void (*post_syscall)(ThreadId tid, UInt syscallno,
448 void* (*pmalloc) ( ThreadId tid, SizeT n ),
449 void* (*p__builtin_new) ( ThreadId tid, SizeT n ),
450 void* (*p__builtin_vec_new) ( ThreadId tid, SizeT n ),
451 void* (*pmemalign) ( ThreadId tid, SizeT align, SizeT n ),
452 void* (*pcalloc) ( ThreadId tid, SizeT nmemb, SizeT size1 ),
453 void (*pfree) ( ThreadId tid, void* p ),
[all …]
Dpub_tool_machine.h93 Addr VG_(get_IP) ( ThreadId tid );
94 Addr VG_(get_SP) ( ThreadId tid );
104 VG_(get_shadow_regs_area) ( ThreadId tid,
108 VG_(set_shadow_regs_area) ( ThreadId tid,
114 void VG_(set_syscall_return_shadows) ( ThreadId tid,
129 extern void VG_(thread_stack_reset_iter) ( /*OUT*/ThreadId* tid );
130 extern Bool VG_(thread_stack_next) ( /*MOD*/ThreadId* tid,
135 extern Addr VG_(thread_get_stack_max) ( ThreadId tid );
138 extern SizeT VG_(thread_get_stack_size) ( ThreadId tid );
142 extern Addr VG_(thread_get_altstack_min) ( ThreadId tid );
[all …]
/external/valgrind/main/exp-sgcheck/
Dh_main.h59 void* h_replace_malloc ( ThreadId tid, SizeT n );
60 void* h_replace___builtin_new ( ThreadId tid, SizeT n );
61 void* h_replace___builtin_vec_new ( ThreadId tid, SizeT n );
62 void* h_replace_memalign ( ThreadId tid, SizeT align, SizeT n );
63 void* h_replace_calloc ( ThreadId tid, SizeT nmemb, SizeT size1 );
64 void h_replace_free ( ThreadId tid, void* p );
65 void h_replace___builtin_delete ( ThreadId tid, void* p );
66 void h_replace___builtin_vec_delete ( ThreadId tid, void* p );
67 void* h_replace_realloc ( ThreadId tid, void* p_old, SizeT new_size );
68 SizeT h_replace_malloc_usable_size ( ThreadId tid, void* p );
Dh_main.c286 static Seg* add_new_segment ( ThreadId tid, Addr p, SizeT size ) in add_new_segment()
303 void* alloc_and_new_mem_heap ( ThreadId tid, in alloc_and_new_mem_heap()
319 static void die_and_free_mem_heap ( ThreadId tid, Seg* seg ) in die_and_free_mem_heap()
335 static void handle_free_heap( ThreadId tid, void* p ) in handle_free_heap()
350 void* h_replace_malloc ( ThreadId tid, SizeT n ) in h_replace_malloc()
356 void* h_replace___builtin_new ( ThreadId tid, SizeT n ) in h_replace___builtin_new()
362 void* h_replace___builtin_vec_new ( ThreadId tid, SizeT n ) in h_replace___builtin_vec_new()
368 void* h_replace_memalign ( ThreadId tid, SizeT align, SizeT n ) in h_replace_memalign()
374 void* h_replace_calloc ( ThreadId tid, SizeT nmemb, SizeT size1 ) in h_replace_calloc()
380 void h_replace_free ( ThreadId tid, void* p ) in h_replace_free()
[all …]
/external/valgrind/main/memcheck/
Dmc_include.h82 void* MC_(new_block) ( ThreadId tid,
86 void MC_(handle_free) ( ThreadId tid,
91 void MC_(mempool_alloc) ( ThreadId tid, Addr pool,
122 void* MC_(malloc) ( ThreadId tid, SizeT n );
123 void* MC_(__builtin_new) ( ThreadId tid, SizeT n );
124 void* MC_(__builtin_vec_new) ( ThreadId tid, SizeT n );
125 void* MC_(memalign) ( ThreadId tid, SizeT align, SizeT n );
126 void* MC_(calloc) ( ThreadId tid, SizeT nmemb, SizeT size1 );
127 void MC_(free) ( ThreadId tid, void* p );
128 void MC_(__builtin_delete) ( ThreadId tid, void* p );
[all …]
Dmc_malloc_wrappers.c233 void* MC_(new_block) ( ThreadId tid, in MC_()
278 void* MC_(malloc) ( ThreadId tid, SizeT n ) in MC_()
288 void* MC_(__builtin_new) ( ThreadId tid, SizeT n ) in MC_()
298 void* MC_(__builtin_vec_new) ( ThreadId tid, SizeT n ) in MC_()
308 void* MC_(memalign) ( ThreadId tid, SizeT alignB, SizeT n ) in MC_()
318 void* MC_(calloc) ( ThreadId tid, SizeT nmemb, SizeT size1 ) in MC_()
329 void die_and_free_mem ( ThreadId tid, MC_Chunk* mc, SizeT rzB ) in die_and_free_mem()
350 void MC_(handle_free) ( ThreadId tid, Addr p, UInt rzB, MC_AllocKind kind ) in MC_()
369 void MC_(free) ( ThreadId tid, void* p ) in MC_()
375 void MC_(__builtin_delete) ( ThreadId tid, void* p ) in MC_()
[all …]
/external/v8/src/
Dv8threads.h46 void set_id(ThreadId id) { id_ = id; } in set_id()
47 ThreadId id() { return id_; } in id()
63 ThreadId id_;
102 return mutex_owner_.Equals(ThreadId::Current()); in IsLockedByCurrentThread()
105 ThreadId CurrentId();
107 void TerminateExecution(ThreadId thread_id);
120 ThreadId mutex_owner_;
121 ThreadId lazily_archived_thread_;
Dv8threads.cc160 if (lazily_archived_thread_.Equals(ThreadId::Current())) { in RestoreThread()
161 lazily_archived_thread_ = ThreadId::Invalid(); in RestoreThread()
166 lazily_archived_thread_state_->set_id(ThreadId::Invalid()); in RestoreThread()
205 state->set_id(ThreadId::Invalid()); in RestoreThread()
214 mutex_owner_ = ThreadId::Current(); in Lock()
220 mutex_owner_ = ThreadId::Invalid(); in Unlock()
239 : id_(ThreadId::Invalid()), in ThreadState()
297 mutex_owner_(ThreadId::Invalid()), in ThreadManager()
298 lazily_archived_thread_(ThreadId::Invalid()), in ThreadManager()
315 ASSERT(lazily_archived_thread_.Equals(ThreadId::Invalid())); in ArchiveThread()
[all …]
Disolate.h147 class ThreadId {
150 ThreadId() : id_(kInvalidId) {} in ThreadId() function
153 static ThreadId Current() { return ThreadId(GetCurrentThreadId()); } in Current()
156 static ThreadId Invalid() { return ThreadId(kInvalidId); } in Invalid()
159 INLINE(bool Equals(const ThreadId& other) const) { in INLINE()
174 static ThreadId FromInteger(int id) { return ThreadId(id); } in FromInteger()
179 explicit ThreadId(int id) : id_(id) {} in ThreadId() function
238 ThreadId thread_id_;
370 PerIsolateThreadData(Isolate* isolate, ThreadId thread_id) in PerIsolateThreadData()
382 ThreadId thread_id() const { return thread_id_; } in thread_id()
[all …]
/external/valgrind/main/drd/
Ddrd_malloc_wrappers.c71 static void* new_block(ThreadId tid, SizeT size, SizeT align, Bool is_zeroed) in new_block()
90 void DRD_(malloclike_block)(const ThreadId tid, const Addr p, const SizeT size) in DRD_()
110 static void handle_free(ThreadId tid, void* p) in handle_free()
123 Bool DRD_(freelike_block)(const ThreadId tid, const Addr p, const Bool dealloc) in DRD_()
147 static void* drd_malloc(ThreadId tid, SizeT n) in drd_malloc()
153 static void* drd_memalign(ThreadId tid, SizeT align, SizeT n) in drd_memalign()
159 static void* drd_calloc(ThreadId tid, SizeT nmemb, SizeT size1) in drd_calloc()
166 static void drd_free(ThreadId tid, void* p) in drd_free()
179 static void* drd_realloc(ThreadId tid, void* p_old, SizeT new_size) in drd_realloc()
254 static void* drd___builtin_new(ThreadId tid, SizeT n) in drd___builtin_new()
[all …]
Ddrd_main.c256 const ThreadId tid, in drd_pre_mem_read()
268 const ThreadId tid, in drd_pre_mem_read_asciiz()
296 const ThreadId tid, in drd_post_mem_write()
343 ThreadId tid) in drd_start_using_mem_w_tid()
480 ThreadId vg_tid; in on_alt_stack()
508 void drd_pre_deliver_signal(const ThreadId vg_tid, const Int sigNo, in drd_pre_deliver_signal()
532 void drd_post_deliver_signal(const ThreadId vg_tid, const Int sigNo) in drd_post_deliver_signal()
555 ThreadId tid) in drd_start_using_mem_stack_signal()
567 void drd_pre_thread_create(const ThreadId creator, const ThreadId created) in drd_pre_thread_create()
587 void drd_post_thread_create(const ThreadId vg_created) in drd_post_thread_create()
[all …]
Ddrd_thread.h72 ThreadId vg_threadid; /**< Valgrind thread ID. */
134 DrdThreadId DRD_(VgThreadIdToDrdThreadId)(const ThreadId tid);
135 DrdThreadId DRD_(NewVgThreadIdToDrdThreadId)(const ThreadId tid);
137 ThreadId DRD_(DrdThreadIdToVgThreadId)(const DrdThreadId tid);
139 const ThreadId vg_created);
140 DrdThreadId DRD_(thread_post_create)(const ThreadId vg_created);
163 void DRD_(thread_set_vg_running_tid)(const ThreadId vg_tid);
164 void DRD_(thread_set_running_tid)(const ThreadId vg_tid,
/external/valgrind/main/coregrind/m_scheduler/
Dscheduler.c125 static void do_client_request ( ThreadId tid );
126 static void scheduler_sanity ( ThreadId tid );
127 static void mostly_clear_thread_record ( ThreadId tid );
163 void print_sched_event ( ThreadId tid, Char* what ) in print_sched_event()
210 ThreadId VG_(alloc_ThreadState) ( void ) in VG_()
234 void VG_(acquire_BigLock)(ThreadId tid, HChar* who) in VG_()
282 void VG_(release_BigLock)(ThreadId tid, ThreadStatus sleepstate, HChar* who) in VG_()
325 void VG_(exit_thread)(ThreadId tid) in VG_()
346 void VG_(get_thread_out_of_syscall)(ThreadId tid) in VG_()
393 ThreadId tid = VG_(running_tid); in VG_()
[all …]
/external/v8/test/cctest/
Dtest-threads.cc144 i::List<i::ThreadId>* refs, in ThreadIdValidationThread()
153 i::ThreadId thread_id = i::ThreadId::Current(); in Run()
166 i::List<i::ThreadId>* refs_;
175 i::List<i::ThreadId> refs(kNThreads); in TEST()
183 refs.Add(i::ThreadId::Invalid()); in TEST()
/external/valgrind/main/coregrind/m_syswrap/
Dpriv_syswrap-generic.h40 Bool ML_(valid_client_addr)(Addr start, SizeT size, ThreadId tid,
53 Bool ML_(fd_allowed)(Int fd, const Char *syscallname, ThreadId tid, Bool isNewFD);
55 extern void ML_(record_fd_open_named) (ThreadId tid, Int fd);
56 extern void ML_(record_fd_open_nameless) (ThreadId tid, Int fd);
57 extern void ML_(record_fd_open_with_given_name)(ThreadId tid, Int fd,
76 ML_(buf_and_len_pre_check) ( ThreadId tid, Addr buf_p, Addr buflen_p,
79 ML_(buf_and_len_post_check) ( ThreadId tid, SysRes res,
84 void ML_(PRE_unknown_ioctl)(ThreadId tid, UWord request, UWord arg);
86 void ML_(POST_unknown_ioctl)(ThreadId tid, UInt res, UWord request, UWord arg);
216 #define TId ThreadId

12345