Home
last modified time | relevance | path

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

1234567

/external/valgrind/coregrind/
Dpub_core_tooliface.h145 Bool (*tool_handle_client_request)(ThreadId, UWord*, UWord*);
148 void (*tool_pre_syscall) (ThreadId, UInt, UWord*, UInt);
149 void (*tool_post_syscall)(ThreadId, UInt, UWord*, UInt, SysRes);
162 void* (*tool_malloc) (ThreadId, SizeT);
163 void* (*tool___builtin_new) (ThreadId, SizeT);
164 void* (*tool___builtin_vec_new) (ThreadId, SizeT);
165 void* (*tool_memalign) (ThreadId, SizeT, SizeT);
166 void* (*tool_calloc) (ThreadId, SizeT, SizeT);
167 void (*tool_free) (ThreadId, void*);
168 void (*tool___builtin_delete) (ThreadId, void*);
[all …]
Dpub_core_replacemalloc.h44 void* (*tl_malloc) (ThreadId tid, SizeT n);
45 void* (*tl___builtin_new) (ThreadId tid, SizeT n);
46 void* (*tl___builtin_vec_new) (ThreadId tid, SizeT n);
47 void* (*tl_memalign) (ThreadId tid, SizeT align, SizeT n);
48 void* (*tl_calloc) (ThreadId tid, SizeT nmemb, SizeT n);
49 void (*tl_free) (ThreadId tid, void* p);
50 void (*tl___builtin_delete) (ThreadId tid, void* p);
51 void (*tl___builtin_vec_delete)(ThreadId tid, void* p);
52 void* (*tl_realloc) (ThreadId tid, void* p, SizeT size);
53 SizeT (*tl_malloc_usable_size) (ThreadId tid, void* payload);
[all …]
Dpub_core_signals.h55 extern void VG_(poll_signals) ( ThreadId );
58 extern SysRes VG_(do_sys_sigaltstack) ( ThreadId tid, vki_stack_t* ss,
63 extern SysRes VG_(do_sys_sigprocmask) ( ThreadId tid, Int how,
68 ( ThreadId tid, /* OUT */ vki_sigset_t* saved_mask );
75 extern void VG_(synth_fault) (ThreadId tid);
76 extern void VG_(synth_fault_mapping)(ThreadId tid, Addr addr);
77 extern void VG_(synth_fault_perms) (ThreadId tid, Addr addr);
78 extern void VG_(synth_sigill) (ThreadId tid, Addr addr);
79 extern void VG_(synth_sigtrap) (ThreadId tid);
80 extern void VG_(synth_sigbus) (ThreadId tid);
[all …]
Dm_tooliface.c275 static Bool (*tool_handle_client_request_func)(ThreadId, UWord *, UWord *);
277 static Bool wrap_tool_handle_client_request(ThreadId tid, UWord *arg1, in wrap_tool_handle_client_request()
288 Bool (*handle)(ThreadId, UWord*, UWord*) in VG_()
298 void(*pre) (ThreadId, UInt, UWord*, UInt), in VG_()
299 void(*post)(ThreadId, UInt, UWord*, UInt, SysRes res) in VG_()
334 void* (*malloc) ( ThreadId, SizeT ), in VG_()
335 void* (*__builtin_new) ( ThreadId, SizeT ), in VG_()
336 void* (*__builtin_vec_new) ( ThreadId, SizeT ), in VG_()
337 void* (*memalign) ( ThreadId, SizeT, SizeT ), in VG_()
338 void* (*calloc) ( ThreadId, SizeT, SizeT ), in VG_()
[all …]
Dpub_core_scheduler.h44 extern ThreadId VG_(alloc_ThreadState)(void);
47 extern void VG_(exit_thread)(ThreadId tid);
52 extern void VG_(get_thread_out_of_syscall)(ThreadId tid);
57 extern void VG_(nuke_all_threads_except) ( ThreadId me,
65 extern void VG_(acquire_BigLock) ( ThreadId tid, const HChar* who );
80 extern void VG_(release_BigLock) ( ThreadId tid,
87 extern Bool VG_(owns_BigLock_LL) ( ThreadId tid );
94 extern VgSchedReturnCode VG_(scheduler) ( ThreadId tid );
98 extern ThreadId VG_(scheduler_init_phase1) ( void );
103 extern void VG_(scheduler_init_phase2) ( ThreadId main_tid,
Dpub_core_syswrap.h45 extern void VG_(main_thread_wrapper_NORETURN)(ThreadId tid);
47 extern void VG_(client_syscall) ( ThreadId tid, UInt trc );
49 extern void VG_(post_syscall) ( ThreadId tid );
59 ThreadId tid,
68 extern Bool VG_(is_ip_in_blocking_syscall)(ThreadId tid, Addr ip);
72 extern void VG_(reap_threads)(ThreadId self);
88 (ThreadId,VgSchedReturnCode);
91 extern void VG_(save_context)(ThreadId tid, vki_ucontext_t *uc,
93 extern void VG_(restore_context)(ThreadId tid, vki_ucontext_t *uc,
98 extern void VG_(track_client_dataseg)(ThreadId tid);
Dm_threadstate.c45 ThreadId VG_(running_tid) = VG_INVALID_THREADID;
58 ThreadId tid; in VG_()
100 ThreadState *VG_(get_ThreadState)(ThreadId tid) in VG_()
107 Bool VG_(is_valid_tid) ( ThreadId tid ) in VG_()
117 ThreadId VG_(get_running_tid)(void) in VG_()
122 Bool VG_(is_running_thread)(ThreadId tid) in VG_()
133 inline Bool VG_(is_exiting)(ThreadId tid) in VG_()
143 ThreadId tid; in VG_()
157 ThreadId tid; in VG_()
168 ThreadId VG_(lwpid_to_vgtid)(Int lwp) in VG_()
[all …]
Dpub_core_threadstate.h128 ThreadId parent; // parent tid (if any)
146 void (*post_mach_trap_fn)(ThreadId tid,
335 ThreadId tid;
431 extern ThreadId VG_(running_tid);
448 extern ThreadState *VG_(get_ThreadState) ( ThreadId tid );
451 extern Bool VG_(is_valid_tid) ( ThreadId tid );
454 extern Bool VG_(is_running_thread)(ThreadId tid);
457 extern Bool VG_(is_exiting)(ThreadId tid);
467 extern ThreadId VG_(lwpid_to_vgtid)(Int lwpid);
Dpub_core_gdbserver.h46 void VG_(gdbserver_prerun_action) (ThreadId tid);
58 extern Bool VG_(gdbserver_activity) (ThreadId tid);
63 void VG_(gdbserver_exit) (ThreadId tid, VgSchedReturnCode tids_schedretcode);
113 extern Bool VG_(gdbserver_report_signal) (vki_siginfo_t *info, ThreadId tid);
120 ThreadId tid);
127 ThreadId tid);
/external/valgrind/include/
Dpub_tool_tooliface.h69 ThreadId tid; /* tid requesting translation */
425 Bool (*handle_client_request)(ThreadId tid, UWord* arg_block, UWord* ret)
440 void (* pre_syscall)(ThreadId tid, UInt syscallno,
442 void (*post_syscall)(ThreadId tid, UInt syscallno,
477 void* (*pmalloc) ( ThreadId tid, SizeT n ),
478 void* (*p__builtin_new) ( ThreadId tid, SizeT n ),
479 void* (*p__builtin_vec_new) ( ThreadId tid, SizeT n ),
480 void* (*pmemalign) ( ThreadId tid, SizeT align, SizeT n ),
481 void* (*pcalloc) ( ThreadId tid, SizeT nmemb, SizeT size1 ),
482 void (*pfree) ( ThreadId tid, void* p ),
[all …]
Dpub_tool_machine.h114 Addr VG_(get_IP) ( ThreadId tid );
115 Addr VG_(get_SP) ( ThreadId tid );
125 VG_(get_shadow_regs_area) ( ThreadId tid,
129 VG_(set_shadow_regs_area) ( ThreadId tid,
138 extern void VG_(apply_to_GP_regs)(void (*f)(ThreadId tid,
144 extern void VG_(thread_stack_reset_iter) ( /*OUT*/ThreadId* tid );
148 extern Bool VG_(thread_stack_next) ( /*MOD*/ThreadId* tid,
154 extern Addr VG_(thread_get_stack_max) ( ThreadId tid );
157 extern SizeT VG_(thread_get_stack_size) ( ThreadId tid );
161 extern Addr VG_(thread_get_altstack_min) ( ThreadId tid );
[all …]
/external/valgrind/memcheck/
Dmc_include.h83 void MC_(set_allocated_at) (ThreadId, MC_Chunk*);
84 void MC_(set_freed_at) (ThreadId, MC_Chunk*);
104 void* MC_(new_block) ( ThreadId tid,
108 void MC_(handle_free) ( ThreadId tid,
114 void MC_(mempool_alloc) ( ThreadId tid, Addr pool,
153 void* MC_(malloc) ( ThreadId tid, SizeT n );
154 void* MC_(__builtin_new) ( ThreadId tid, SizeT n );
155 void* MC_(__builtin_vec_new) ( ThreadId tid, SizeT n );
156 void* MC_(memalign) ( ThreadId tid, SizeT align, SizeT n );
157 void* MC_(calloc) ( ThreadId tid, SizeT nmemb, SizeT size1 );
[all …]
Dmc_malloc_wrappers.c82 MC_Chunk* create_MC_Chunk ( ThreadId tid, Addr p, SizeT szB,
194 MC_Chunk* create_MC_Chunk ( ThreadId tid, Addr p, SizeT szB, in create_MC_Chunk()
299 void MC_(set_allocated_at) (ThreadId tid, MC_Chunk* mc) in MC_()
314 void MC_(set_freed_at) (ThreadId tid, MC_Chunk* mc) in MC_()
360 void* MC_(new_block) ( ThreadId tid, in MC_()
402 void* MC_(malloc) ( ThreadId tid, SizeT n ) in MC_()
412 void* MC_(__builtin_new) ( ThreadId tid, SizeT n ) in MC_()
422 void* MC_(__builtin_vec_new) ( ThreadId tid, SizeT n ) in MC_()
432 void* MC_(memalign) ( ThreadId tid, SizeT alignB, SizeT n ) in MC_()
442 void* MC_(calloc) ( ThreadId tid, SizeT nmemb, SizeT size1 ) in MC_()
[all …]
/external/valgrind/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/v8/src/
Dv8threads.cc103 if (lazily_archived_thread_.Equals(ThreadId::Current())) { in RestoreThread()
104 lazily_archived_thread_ = ThreadId::Invalid(); in RestoreThread()
109 lazily_archived_thread_state_->set_id(ThreadId::Invalid()); in RestoreThread()
146 state->set_id(ThreadId::Invalid()); in RestoreThread()
155 mutex_owner_ = ThreadId::Current(); in Lock()
161 mutex_owner_ = ThreadId::Invalid(); in Unlock()
178 : id_(ThreadId::Invalid()), in ThreadState()
241 : mutex_owner_(ThreadId::Invalid()), in ThreadManager()
242 lazily_archived_thread_(ThreadId::Invalid()), in ThreadManager()
269 DCHECK(lazily_archived_thread_.Equals(ThreadId::Invalid())); in ArchiveThread()
[all …]
Dv8threads.h25 void set_id(ThreadId id) { id_ = id; } in set_id()
26 ThreadId id() { return id_; } in id()
43 ThreadId id_;
82 return mutex_owner_.Equals(ThreadId::Current()); in IsLockedByCurrentThread()
85 ThreadId CurrentId();
87 void TerminateExecution(ThreadId thread_id);
102 ThreadId mutex_owner_;
103 ThreadId lazily_archived_thread_;
/external/valgrind/drd/
Ddrd_malloc_wrappers.c70 static void* new_block(ThreadId tid, SizeT size, SizeT align, Bool is_zeroed) in new_block()
89 void DRD_(malloclike_block)(const ThreadId tid, const Addr p, const SizeT size) in DRD_()
109 static void handle_free(ThreadId tid, void* p) in handle_free()
122 Bool DRD_(freelike_block)(const ThreadId tid, const Addr p, const Bool dealloc) in DRD_()
146 static void* drd_malloc(ThreadId tid, SizeT n) in drd_malloc()
152 static void* drd_memalign(ThreadId tid, SizeT align, SizeT n) in drd_memalign()
158 static void* drd_calloc(ThreadId tid, SizeT nmemb, SizeT size1) in drd_calloc()
165 static void drd_free(ThreadId tid, void* p) in drd_free()
178 static void* drd_realloc(ThreadId tid, void* p_old, SizeT new_size) in drd_realloc()
253 static void* drd___builtin_new(ThreadId tid, SizeT n) in drd___builtin_new()
[all …]
Ddrd_main.c281 const ThreadId tid, in drd_pre_mem_read()
294 const ThreadId tid, in drd_pre_mem_read_asciiz()
322 const ThreadId tid, in drd_post_mem_write()
369 ThreadId tid) in drd_start_using_mem_w_tid()
546 ThreadId vg_tid; in on_alt_stack()
574 void drd_pre_deliver_signal(const ThreadId vg_tid, const Int sigNo, in drd_pre_deliver_signal()
598 void drd_post_deliver_signal(const ThreadId vg_tid, const Int sigNo) in drd_post_deliver_signal()
621 ThreadId tid) in drd_start_using_mem_stack_signal()
635 void drd_pre_thread_create(const ThreadId creator, const ThreadId created) in drd_pre_thread_create()
656 void drd_post_thread_create(const ThreadId vg_created) in drd_post_thread_create()
[all …]
Ddrd_thread.h71 ThreadId vg_threadid; /**< Valgrind thread ID. */
146 DrdThreadId DRD_(VgThreadIdToDrdThreadId)(const ThreadId tid);
147 DrdThreadId DRD_(NewVgThreadIdToDrdThreadId)(const ThreadId tid);
149 ThreadId DRD_(DrdThreadIdToVgThreadId)(const DrdThreadId tid);
151 const ThreadId vg_created);
152 DrdThreadId DRD_(thread_post_create)(const ThreadId vg_created);
179 void DRD_(thread_set_vg_running_tid)(const ThreadId vg_tid);
180 void DRD_(thread_set_running_tid)(const ThreadId vg_tid,
/external/valgrind/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 );
176 void print_sched_event ( ThreadId tid, const HChar* what ) in print_sched_event()
238 ThreadId VG_(alloc_ThreadState) ( void ) in VG_()
265 void VG_(acquire_BigLock)(ThreadId tid, const HChar* who) in VG_()
314 void VG_(release_BigLock)(ThreadId tid, ThreadStatus sleepstate, in VG_()
365 Bool VG_(owns_BigLock_LL) ( ThreadId tid ) in VG_()
375 void VG_(exit_thread)(ThreadId tid) in VG_()
396 void VG_(get_thread_out_of_syscall)(ThreadId tid) in VG_()
[all …]
/external/valgrind/coregrind/m_syswrap/
Dpriv_syswrap-solaris.h49 extern Addr ML_(allocstack) (ThreadId tid);
50 extern void ML_(setup_start_thread_context)(ThreadId tid, vki_ucontext_t *uc);
54 extern void ML_(save_machine_context)(ThreadId tid, vki_ucontext_t *uc,
56 extern void ML_(restore_machine_context)(ThreadId tid, vki_ucontext_t *uc,
63 extern void ML_(update_gdt_lwpgs)(ThreadId tid);
Dpriv_syswrap-generic.h48 Bool ML_(valid_client_addr)(Addr start, SizeT size, ThreadId tid,
61 Bool ML_(fd_allowed)(Int fd, const HChar *syscallname, ThreadId tid,
65 extern void ML_(record_fd_open_named) (ThreadId tid, Int fd);
66 extern void ML_(record_fd_open_nameless) (ThreadId tid, Int fd);
67 extern void ML_(record_fd_open_with_given_name)(ThreadId tid, Int fd,
92 ML_(buf_and_len_pre_check) ( ThreadId tid, Addr buf_p, Addr buflen_p,
95 ML_(buf_and_len_post_check) ( ThreadId tid, SysRes res,
100 void ML_(PRE_unknown_ioctl)(ThreadId tid, UWord request, UWord arg);
102 void ML_(POST_unknown_ioctl)(ThreadId tid, UInt res, UWord request, UWord arg);
105 void ML_(pre_argv_envp)(Addr a, ThreadId tid, const HChar *s1, const HChar *s2);
[all …]
Dsyswrap-generic.c108 Bool ML_(valid_client_addr)(Addr start, SizeT size, ThreadId tid, in ML_()
280 UWord flags, ThreadId tid ) in do_mremap()
586 void ML_(record_fd_open_with_given_name)(ThreadId tid, Int fd, in ML_()
621 void ML_(record_fd_open_named)(ThreadId tid, Int fd) in ML_()
634 void ML_(record_fd_open_nameless)(ThreadId tid, Int fd) in ML_()
976 void pre_mem_read_sendmsg ( ThreadId tid, Bool read, in pre_mem_read_sendmsg()
985 void pre_mem_write_recvmsg ( ThreadId tid, Bool read, in pre_mem_write_recvmsg()
997 void post_mem_write_recvmsg ( ThreadId tid, Bool read, in post_mem_write_recvmsg()
1006 ThreadId tid, in msghdr_foreachfield()
1010 void (*foreach_func)( ThreadId, Bool, const HChar *, Addr, SizeT ), in msghdr_foreachfield()
[all …]
/external/valgrind/helgrind/
Dhg_main.c172 ThreadId map_threads_maybe_reverse_lookup_SLOW ( Thread* thr ); /*fwds*/
264 ThreadId tid; in lockN_acquire_writer()
320 ThreadId tid; in lockN_acquire_reader()
662 static Thread* map_threads_maybe_lookup ( ThreadId coretid ) in map_threads_maybe_lookup()
671 static inline Thread* map_threads_lookup ( ThreadId coretid ) in map_threads_lookup()
682 static ThreadId map_threads_maybe_reverse_lookup_SLOW ( Thread* thr ) in map_threads_maybe_reverse_lookup_SLOW()
684 ThreadId tid; in map_threads_maybe_reverse_lookup_SLOW()
696 static ThreadId map_threads_reverse_lookup_SLOW ( Thread* thr ) in map_threads_reverse_lookup_SLOW()
698 ThreadId tid = map_threads_maybe_reverse_lookup_SLOW( thr ); in map_threads_reverse_lookup_SLOW()
705 static void map_threads_delete ( ThreadId coretid ) in map_threads_delete()
[all …]

1234567