Home
last modified time | relevance | path

Searched refs:thread_info (Results 1 – 25 of 33) sorted by relevance

12

/external/kernel-headers/original/asm-arm/
Dthread_info.h51 struct thread_info { struct
83 #define init_thread_info (init_thread_union.thread_info) argument
89 static inline struct thread_info *current_thread_info(void) __attribute_const__;
91 static inline struct thread_info *current_thread_info(void) in current_thread_info()
94 return (struct thread_info *)(sp & ~(THREAD_SIZE - 1)); in current_thread_info()
97 extern struct thread_info *alloc_thread_info(struct task_struct *task);
98 extern void free_thread_info(struct thread_info *);
105 extern void crunch_task_disable(struct thread_info *);
106 extern void crunch_task_copy(struct thread_info *, void *);
107 extern void crunch_task_restore(struct thread_info *, void *);
[all …]
Dsystem.h73 struct thread_info;
193 … struct task_struct *__switch_to(struct task_struct *, struct thread_info *, struct thread_info *);
Ddomain.h64 struct thread_info *thread = current_thread_info(); \
/external/valgrind/main/coregrind/m_gdbserver/
Dinferiors.c27 struct thread_info struct
37 struct thread_info *current_inferior; argument
39 #define get_thread(inf) ((struct thread_info *)(inf))
100 struct thread_info *new_thread in add_thread()
101 = (struct thread_info *) malloc (sizeof (*new_thread)); in add_thread()
122 struct thread_info *thread = get_thread (inf); in thread_id_to_gdb_id()
131 unsigned int thread_to_gdb_id (struct thread_info *thread) in thread_to_gdb_id()
136 struct thread_info * gdb_id_to_thread (unsigned int gdb_id) in gdb_id_to_thread()
141 struct thread_info *thread = get_thread (inf); in gdb_id_to_thread()
152 struct thread_info *thread = gdb_id_to_thread (gdb_id); in gdb_id_to_thread_id()
[all …]
Dserver.h223 struct thread_info;
266 extern struct thread_info *current_inferior;
269 void remove_thread (struct thread_info *thread);
272 unsigned int thread_to_gdb_id (struct thread_info *);
274 struct thread_info *gdb_id_to_thread (unsigned int);
283 void *inferior_target_data (struct thread_info *);
284 void set_inferior_target_data (struct thread_info *, void *);
285 void *inferior_regcache_data (struct thread_info *);
286 void set_inferior_regcache_data (struct thread_info *, void *);
Dtarget.c31 struct thread_info *found; in set_desired_inferior()
34 found = (struct thread_info *) find_inferior_id (&all_threads, in set_desired_inferior()
44 found = (struct thread_info *) find_inferior_id (&all_threads, in set_desired_inferior()
48 found = (struct thread_info *) find_inferior_id (&all_threads, in set_desired_inferior()
53 current_inferior = (struct thread_info *) all_threads.head; in set_desired_inferior()
Dregcache.c45 struct inferior_regcache_data * get_regcache (struct thread_info *inf, in get_regcache()
66 struct thread_info *thread = (struct thread_info *) entry; in regcache_invalidate_one()
72 struct thread_info *saved_inferior = current_inferior; in regcache_invalidate_one()
131 struct thread_info *thread = (struct thread_info *) entry; in regcache_realloc_one()
Dvalgrind-low.c70 #define get_thread(inf) ((struct thread_info *)(inf))
74 struct thread_info *thread = get_thread (inf); in remove_thread_if_not_in_vg_threads()
89 struct thread_info *ti; in valgrind_update_threads()
126 struct thread_info *ti = gdb_id_to_thread(tid); in valgrind_thread_alive()
Dserver.c465 struct thread_info *ti; in handle_query()
501 thread_to_gdb_id ((struct thread_info *)thread_ptr)); in handle_query()
509 thread_to_gdb_id ((struct thread_info *)thread_ptr)); in handle_query()
/external/kernel-headers/original/linux/
Dthread_info.h30 static inline void set_ti_thread_flag(struct thread_info *ti, int flag) in set_ti_thread_flag()
35 static inline void clear_ti_thread_flag(struct thread_info *ti, int flag) in clear_ti_thread_flag()
40 static inline int test_and_set_ti_thread_flag(struct thread_info *ti, int flag) in test_and_set_ti_thread_flag()
45 static inline int test_and_clear_ti_thread_flag(struct thread_info *ti, int flag) in test_and_clear_ti_thread_flag()
50 static inline int test_ti_thread_flag(struct thread_info *ti, int flag) in test_ti_thread_flag()
Dsched.h769 struct thread_info *thread_info; member
1146 struct thread_info thread_info; member
1379 #define task_thread_info(task) (task)->thread_info
1380 #define task_stack_page(task) ((void*)((task)->thread_info))
1390 return (unsigned long *)(p->thread_info + 1); in end_of_stack()
Dmutex.h53 struct thread_info *owner;
/external/kernel-headers/original/asm-x86/
Dthread_info_32.h27 struct thread_info { struct
83 #define init_thread_info (init_thread_union.thread_info)
91 static inline struct thread_info *current_thread_info(void) in current_thread_info()
93 return (struct thread_info *)(current_stack_pointer & ~(THREAD_SIZE - 1)); in current_thread_info()
98 #define alloc_thread_info(tsk) ((struct thread_info *) \
101 #define alloc_thread_info(tsk) ((struct thread_info *) \
/external/valgrind/main/drd/
Ddrd_rwlock.c90 VG_(OSetGen_ResetIter)(p->thread_info); in DRD_()
91 for ( ; (q = VG_(OSetGen_Next)(p->thread_info)) != 0; ) in DRD_()
102 VG_(OSetGen_ResetIter)(p->thread_info); in DRD_()
103 for ( ; (q = VG_(OSetGen_Next)(p->thread_info)) != 0; ) in DRD_()
121 q = VG_(OSetGen_Lookup)(p->thread_info, &uword_tid); in DRD_()
131 q = VG_(OSetGen_Lookup)(p->thread_info, &uword_tid); in DRD_()
176 VG_(OSetGen_ResetIter)(p->thread_info); in DRD_()
177 for ( ; (q = VG_(OSetGen_Next)(p->thread_info)) != 0; ) in DRD_()
240 p->thread_info = VG_(OSetGen_Create)( in DRD_()
267 VG_(OSetGen_ResetIter)(p->thread_info); in rwlock_cleanup()
[all …]
Ddrd_clientobj.h140 OSet* thread_info; member
/external/kernel-headers/original/asm-mips/
Dthread_info.h24 struct thread_info { struct
58 #define init_thread_info (init_thread_union.thread_info) argument
62 register struct thread_info *__current_thread_info __asm__("$28");
90 struct thread_info *ret; \
Dsystem.h50 struct thread_info *__prev_ti = task_thread_info(prev); \
/external/clang/tools/c-arcmt-test/
Dc-arcmt-test.c92 typedef struct thread_info { struct
96 } thread_info; typedef
98 thread_info *client_data = client_data_v; in thread_runner()
106 thread_info client_data; in main()
/external/valgrind/main/callgrind/
Dthreads.c64 static thread_info* thread[VG_N_THREADS];
66 thread_info** CLG_(get_threads)() in CLG_()
71 thread_info* CLG_(get_current_thread)() in CLG_()
85 void CLG_(forall_threads)(void (*func)(thread_info*)) in CLG_()
99 thread_info* new_thread(void) in new_thread()
101 thread_info* t; in new_thread()
103 t = (thread_info*) CLG_MALLOC("cl.threads.nt.1", in new_thread()
104 sizeof(thread_info)); in new_thread()
135 thread_info* t = thread[CLG_(current_tid)]; in CLG_()
156 thread_info* t; in CLG_()
Dglobal.h227 typedef struct _thread_info thread_info; typedef
797 thread_info** CLG_(get_threads)(void);
798 thread_info* CLG_(get_current_thread)(void);
800 void CLG_(forall_threads)(void (*func)(thread_info*));
/external/valgrind/main/drd/tests/
Dpth_broadcast.c86 static void thread_func(struct cthread* thread_info) in thread_func() argument
96 printf("thread %d [%d] (1)\n", thread_info->m_threadnum, i); in thread_func()
98 csema_v(thread_info->m_sema); in thread_func()
104 printf("thread %d [%d] (2)\n", thread_info->m_threadnum, i); in thread_func()
/external/valgrind/main/exp-bbv/
Dbbv_main.c76 struct thread_info *bbv_thread=NULL;
79 struct thread_info { struct
467 static struct thread_info *allocate_new_thread(struct thread_info *old, in allocate_new_thread()
470 struct thread_info *temp; in allocate_new_thread()
476 new_number*sizeof(struct thread_info)); in allocate_new_thread()
/external/oprofile/libpp/
Dxml_utils.cpp444 class thread_info : public module_info { class
446 thread_info() { nr_modules = 0; } in thread_info() function in thread_info
477 growable_vector<thread_info> my_threads;
841 thread_info & thr = my_threads[t]; in summarize()
848 void thread_info::build_thread(string const & tid, size_t l, size_t h) in build_thread()
856 void thread_info::summarize() in summarize()
863 void thread_info::set_end(sym_iterator end) in set_end()
870 void thread_info::add_module_symbol(string const & n, sym_iterator it) in add_module_symbol()
877 void thread_info::output(ostream & out) in output()
899 bool thread_info::add_modules(string const & module, sym_iterator it) in add_modules()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/cdrom/macosx/
DAudioFileReaderThread.c201thread_info (pthread_mach_thread_np (inThread), THREAD_BASIC_INFO, (integer_t*)&threadInfo, &count… in FileReaderThread_GetThreadBasePriority()
206thread_info(pthread_mach_thread_np (inThread), THREAD_SCHED_TIMESHARE_INFO, (integer_t*)&(thePolic… in FileReaderThread_GetThreadBasePriority()
212thread_info(pthread_mach_thread_np (inThread), THREAD_SCHED_FIFO_INFO, (integer_t*)&(thePolicyInfo… in FileReaderThread_GetThreadBasePriority()
222thread_info(pthread_mach_thread_np (inThread), THREAD_SCHED_RR_INFO, (integer_t*)&(thePolicyInfo.r… in FileReaderThread_GetThreadBasePriority()
/external/webkit/Source/JavaScriptCore/runtime/
DTimeoutChecker.cpp67 thread_info(threadPort, THREAD_BASIC_INFO, reinterpret_cast<thread_info_t>(&info), &infoCount); in getCPUTime()

12