Home
last modified time | relevance | path

Searched defs:thread (Results 1 – 25 of 545) sorted by relevance

12345678910>>...22

/kernel/linux/linux-4.19/tools/perf/util/
Dthread.h18 struct thread { struct
31 bool dead; /* if set thread has exited */ argument
39 struct thread_stack *ts; argument
51 struct thread *thread__new(pid_t pid, pid_t tid); argument
58 static inline void __thread__zput(struct thread **thread) in __thread__zput()
64 #define thread__zput(thread) __thread__zput(&thread) argument
66 static inline void thread__exited(struct thread *thread) in thread__exited()
77 static inline int thread__set_comm(struct thread *thread, const char *comm, in thread__set_comm()
108 static inline void *thread__priv(struct thread *thread) in thread__priv()
113 static inline void thread__set_priv(struct thread *thread, void *p) in thread__set_priv()
[all …]
Dthread.c19 int thread__init_map_groups(struct thread *thread, struct machine *machine) in thread__init_map_groups()
40 struct thread *thread = zalloc(sizeof(*thread)); in thread__new() local
76 void thread__delete(struct thread *thread) in thread__delete()
112 struct thread *thread__get(struct thread *thread) in thread__get()
119 void thread__put(struct thread *thread) in thread__put()
131 static struct namespaces *__thread__namespaces(const struct thread *thread) in __thread__namespaces()
139 struct namespaces *thread__namespaces(const struct thread *thread) in thread__namespaces()
150 static int __thread__set_namespaces(struct thread *thread, u64 timestamp, in __thread__set_namespaces()
174 int thread__set_namespaces(struct thread *thread, u64 timestamp, in thread__set_namespaces()
185 struct comm *thread__comm(const struct thread *thread) in thread__comm()
[all …]
Dunwind-libunwind.c12 static void unwind__register_ops(struct thread *thread, in unwind__register_ops()
18 int unwind__prepare_access(struct thread *thread, struct map *map, in unwind__prepare_access()
65 void unwind__flush_access(struct thread *thread) in unwind__flush_access()
71 void unwind__finish_access(struct thread *thread) in unwind__finish_access()
78 struct thread *thread, in unwind__get_entries()
Dthread-stack.c92 static struct thread_stack *thread_stack__new(struct thread *thread, in thread_stack__new()
161 static int thread_stack__call_return(struct thread *thread, in thread_stack__call_return()
188 static int __thread_stack__flush(struct thread *thread, struct thread_stack *ts) in __thread_stack__flush()
211 int thread_stack__flush(struct thread *thread) in thread_stack__flush()
219 int thread_stack__event(struct thread *thread, u32 flags, u64 from_ip, in thread_stack__event()
267 void thread_stack__set_trace_nr(struct thread *thread, u64 trace_nr) in thread_stack__set_trace_nr()
279 void thread_stack__free(struct thread *thread) in thread_stack__free()
293 void thread_stack__sample(struct thread *thread, struct ip_callchain *chain, in thread_stack__sample()
383 static int thread_stack__pop_cp(struct thread *thread, struct thread_stack *ts, in thread_stack__pop_cp()
426 static int thread_stack__bottom(struct thread *thread, struct thread_stack *ts, in thread_stack__bottom()
[all …]
/kernel/linux/linux-5.10/tools/perf/util/
Dthread.h32 struct thread { struct
45 bool dead; /* if set thread has exited */ argument
53 struct thread_stack *ts; argument
68 struct thread *thread__new(pid_t pid, pid_t tid); argument
75 static inline void __thread__zput(struct thread **thread) in __thread__zput()
81 #define thread__zput(thread) __thread__zput(&thread) argument
83 static inline void thread__exited(struct thread *thread) in thread__exited()
94 static inline int thread__set_comm(struct thread *thread, const char *comm, in thread__set_comm()
128 static inline void *thread__priv(struct thread *thread) in thread__priv()
133 static inline void thread__set_priv(struct thread *thread, void *p) in thread__set_priv()
[all …]
Dthread.c22 int thread__init_maps(struct thread *thread, struct machine *machine) in thread__init_maps()
43 struct thread *thread = zalloc(sizeof(*thread)); in thread__new() local
81 void thread__delete(struct thread *thread) in thread__delete()
118 struct thread *thread__get(struct thread *thread) in thread__get()
125 void thread__put(struct thread *thread) in thread__put()
154 static struct namespaces *__thread__namespaces(const struct thread *thread) in __thread__namespaces()
162 struct namespaces *thread__namespaces(struct thread *thread) in thread__namespaces()
173 static int __thread__set_namespaces(struct thread *thread, u64 timestamp, in __thread__set_namespaces()
197 int thread__set_namespaces(struct thread *thread, u64 timestamp, in thread__set_namespaces()
208 struct comm *thread__comm(const struct thread *thread) in thread__comm()
[all …]
Dthread-stack.c113 static inline bool thread_stack__per_cpu(struct thread *thread) in thread_stack__per_cpu()
136 static int thread_stack__init(struct thread_stack *ts, struct thread *thread, in thread_stack__init()
173 static struct thread_stack *thread_stack__new(struct thread *thread, int cpu, in thread_stack__new()
208 static struct thread_stack *thread__cpu_stack(struct thread *thread, int cpu) in thread__cpu_stack()
226 static inline struct thread_stack *thread__stack(struct thread *thread, in thread__stack()
298 static int thread_stack__call_return(struct thread *thread, in thread_stack__call_return()
338 static int __thread_stack__flush(struct thread *thread, struct thread_stack *ts) in __thread_stack__flush()
364 int thread_stack__flush(struct thread *thread) in thread_stack__flush()
406 int thread_stack__event(struct thread *thread, int cpu, u32 flags, u64 from_ip, in thread_stack__event()
473 void thread_stack__set_trace_nr(struct thread *thread, int cpu, u64 trace_nr) in thread_stack__set_trace_nr()
[all …]
Dcounts.h21 perf_counts(struct perf_counts *counts, int cpu, int thread) in perf_counts()
27 perf_counts__is_loaded(struct perf_counts *counts, int cpu, int thread) in perf_counts__is_loaded()
33 perf_counts__set_loaded(struct perf_counts *counts, int cpu, int thread, bool loaded) in perf_counts__set_loaded()
/kernel/linux/linux-4.19/tools/perf/scripts/python/
Dstat-cpi.py9 def get_key(time, event, cpu, thread): argument
12 def store_key(time, cpu, thread): argument
22 def store(time, event, cpu, thread, val, ena, run): argument
30 def get(time, event, cpu, thread): argument
34 def stat__cycles_k(cpu, thread, time, val, ena, run): argument
37 def stat__instructions_k(cpu, thread, time, val, ena, run): argument
40 def stat__cycles_u(cpu, thread, time, val, ena, run): argument
43 def stat__instructions_u(cpu, thread, time, val, ena, run): argument
46 def stat__cycles(cpu, thread, time, val, ena, run): argument
49 def stat__instructions(cpu, thread, time, val, ena, run): argument
/kernel/linux/linux-5.10/tools/perf/scripts/python/
Dstat-cpi.py10 def get_key(time, event, cpu, thread): argument
13 def store_key(time, cpu, thread): argument
23 def store(time, event, cpu, thread, val, ena, run): argument
31 def get(time, event, cpu, thread): argument
35 def stat__cycles_k(cpu, thread, time, val, ena, run): argument
38 def stat__instructions_k(cpu, thread, time, val, ena, run): argument
41 def stat__cycles_u(cpu, thread, time, val, ena, run): argument
44 def stat__instructions_u(cpu, thread, time, val, ena, run): argument
47 def stat__cycles(cpu, thread, time, val, ena, run): argument
50 def stat__instructions(cpu, thread, time, val, ena, run): argument
/kernel/liteos_m/kal/posix/src/
Dpthread.c82 static inline bool IsPthread(pthread_t thread) in IsPthread()
175 pthread_t thread = pthread_self(); in CheckForCancel() local
192 int pthread_create(pthread_t *thread, const pthread_attr_t *attr, in pthread_create()
230 int pthread_setschedparam(pthread_t thread, int policy, const struct sched_param *param) in pthread_setschedparam()
254 int pthread_setschedprio(pthread_t thread, int prio) in pthread_setschedprio()
273 pthread_t thread = pthread_self(); in pthread_once() local
304 pthread_t thread = pthread_self(); in pthread_setcancelstate() local
337 pthread_t thread = pthread_self(); in pthread_setcanceltype() local
365 int pthread_getschedparam(pthread_t thread, int *policy, struct sched_param *param) in pthread_getschedparam()
415 int pthread_cancel(pthread_t thread) in pthread_cancel()
[all …]
/kernel/linux/linux-4.19/drivers/mailbox/
Dmtk-cmdq-mailbox.c65 struct cmdq_thread *thread; member
74 struct cmdq_thread *thread; member
79 static int cmdq_thread_suspend(struct cmdq *cmdq, struct cmdq_thread *thread) in cmdq_thread_suspend()
99 static void cmdq_thread_resume(struct cmdq_thread *thread) in cmdq_thread_resume()
111 static int cmdq_thread_reset(struct cmdq *cmdq, struct cmdq_thread *thread) in cmdq_thread_reset()
127 static void cmdq_thread_disable(struct cmdq *cmdq, struct cmdq_thread *thread) in cmdq_thread_disable()
134 static void cmdq_thread_invalidate_fetched_data(struct cmdq_thread *thread) in cmdq_thread_invalidate_fetched_data()
143 struct cmdq_thread *thread = task->thread; in cmdq_task_insert_into_thread() local
185 static bool cmdq_thread_is_in_wfe(struct cmdq_thread *thread) in cmdq_thread_is_in_wfe()
190 static void cmdq_thread_wait_end(struct cmdq_thread *thread, in cmdq_thread_wait_end()
[all …]
/kernel/linux/linux-5.10/drivers/mailbox/
Dmtk-cmdq-mailbox.c65 struct cmdq_thread *thread; member
75 struct cmdq_thread *thread; member
94 static int cmdq_thread_suspend(struct cmdq *cmdq, struct cmdq_thread *thread) in cmdq_thread_suspend()
114 static void cmdq_thread_resume(struct cmdq_thread *thread) in cmdq_thread_resume()
130 static int cmdq_thread_reset(struct cmdq *cmdq, struct cmdq_thread *thread) in cmdq_thread_reset()
146 static void cmdq_thread_disable(struct cmdq *cmdq, struct cmdq_thread *thread) in cmdq_thread_disable()
153 static void cmdq_thread_invalidate_fetched_data(struct cmdq_thread *thread) in cmdq_thread_invalidate_fetched_data()
162 struct cmdq_thread *thread = task->thread; in cmdq_task_insert_into_thread() local
179 static bool cmdq_thread_is_in_wfe(struct cmdq_thread *thread) in cmdq_thread_is_in_wfe()
199 struct cmdq_thread *thread = task->thread; in cmdq_task_handle_error() local
[all …]
/kernel/linux/linux-4.19/arch/arm/vfp/
Dvfpmodule.c65 static bool vfp_state_in_hw(unsigned int cpu, struct thread_info *thread) in vfp_state_in_hw()
79 static void vfp_force_reload(unsigned int cpu, struct thread_info *thread) in vfp_force_reload()
93 static void vfp_thread_flush(struct thread_info *thread) in vfp_thread_flush()
121 static void vfp_thread_exit(struct thread_info *thread) in vfp_thread_exit()
132 static void vfp_thread_copy(struct thread_info *thread) in vfp_thread_copy()
164 struct thread_info *thread = v; in vfp_notifier() local
524 void vfp_sync_hwstate(struct thread_info *thread) in vfp_sync_hwstate()
543 void vfp_flush_hwstate(struct thread_info *thread) in vfp_flush_hwstate()
559 struct thread_info *thread = current_thread_info(); in vfp_preserve_user_clear_hwstate() local
597 struct thread_info *thread = current_thread_info(); in vfp_restore_user_hwstate() local
[all …]
/kernel/linux/linux-4.19/tools/perf/tests/
Ddwarf-unwind.c93 noinline int test_dwarf_unwind__thread(struct thread *thread) in test_dwarf_unwind__thread()
127 struct thread *thread = *(struct thread **)p1; in test_dwarf_unwind__compare() local
143 noinline int test_dwarf_unwind__krava_3(struct thread *thread) in test_dwarf_unwind__krava_3()
162 noinline int test_dwarf_unwind__krava_2(struct thread *thread) in test_dwarf_unwind__krava_2()
167 noinline int test_dwarf_unwind__krava_1(struct thread *thread) in test_dwarf_unwind__krava_1()
175 struct thread *thread; in test__dwarf_unwind() local
/kernel/linux/linux-5.10/tools/perf/tests/
Ddwarf-unwind.c98 noinline int test_dwarf_unwind__thread(struct thread *thread) in test_dwarf_unwind__thread()
132 struct thread *thread = *(struct thread **)p1; in test_dwarf_unwind__compare() local
148 noinline int test_dwarf_unwind__krava_3(struct thread *thread) in test_dwarf_unwind__krava_3()
167 noinline int test_dwarf_unwind__krava_2(struct thread *thread) in test_dwarf_unwind__krava_2()
172 noinline int test_dwarf_unwind__krava_1(struct thread *thread) in test_dwarf_unwind__krava_1()
180 struct thread *thread; in test__dwarf_unwind() local
/kernel/linux/linux-5.10/arch/arm/vfp/
Dvfpmodule.c62 static bool vfp_state_in_hw(unsigned int cpu, struct thread_info *thread) in vfp_state_in_hw()
76 static void vfp_force_reload(unsigned int cpu, struct thread_info *thread) in vfp_force_reload()
90 static void vfp_thread_flush(struct thread_info *thread) in vfp_thread_flush()
118 static void vfp_thread_exit(struct thread_info *thread) in vfp_thread_exit()
129 static void vfp_thread_copy(struct thread_info *thread) in vfp_thread_copy()
161 struct thread_info *thread = v; in vfp_notifier() local
516 void vfp_sync_hwstate(struct thread_info *thread) in vfp_sync_hwstate()
535 void vfp_flush_hwstate(struct thread_info *thread) in vfp_flush_hwstate()
551 struct thread_info *thread = current_thread_info(); in vfp_preserve_user_clear_hwstate() local
589 struct thread_info *thread = current_thread_info(); in vfp_restore_user_hwstate() local
[all …]
/kernel/linux/linux-5.10/arch/powerpc/kernel/ptrace/
Dptrace-noadv.c86 struct thread_struct *thread = &task->thread; in ptrace_set_debugreg() local
174 static int find_empty_ptrace_bp(struct thread_struct *thread) in find_empty_ptrace_bp()
186 static int find_empty_hw_brk(struct thread_struct *thread) in find_empty_hw_brk()
202 struct thread_struct *thread = &child->thread; in ppc_set_hwdebug() local
276 struct thread_struct *thread = &child->thread; in ppc_del_hwdebug() local
/kernel/liteos_a/testsuites/unittest/process/lock/mutex/smoke/
Dpthread_mutex_test_008.cpp43 pthread_t thread = pthread_self(); in ThreadFuncTest3() local
71 pthread_t thread = pthread_self(); in ThreadFuncTest2() local
98 pthread_t thread = pthread_self(); in ThreadFuncTest1() local
127 pthread_t thread = pthread_self(); in Testcase() local
Dpthread_mutex_test_007.cpp45 pthread_t thread = pthread_self(); in ThreadFuncTest3() local
81 pthread_t thread = pthread_self(); in ThreadFuncTest2() local
115 pthread_t thread = pthread_self(); in ThreadFuncTest1() local
148 pthread_t thread = pthread_self(); in Testcase() local
Dpthread_mutex_test_004.cpp51 pthread_t thread = pthread_self(); in ThreadFuncTest3() local
78 pthread_t thread = pthread_self(); in ThreadFuncTest2() local
104 pthread_t thread = pthread_self(); in ThreadFuncTest1() local
131 pthread_t thread = pthread_self(); in Testcase() local
Dpthread_mutex_test_021.cpp47 pthread_t thread = pthread_self(); in ThreadFuncTest2() local
72 pthread_t thread = pthread_self(); in ThreadFuncTest1() local
99 pthread_t thread = pthread_self(); in ThreadFuncTest0() local
141 pthread_t thread = pthread_self(); in Testcase() local
Dpthread_mutex_test_022.cpp47 pthread_t thread = pthread_self(); in ThreadFuncTest2() local
72 pthread_t thread = pthread_self(); in ThreadFuncTest1() local
99 pthread_t thread = pthread_self(); in ThreadFuncTest0() local
141 pthread_t thread = pthread_self(); in Testcase() local
Dpthread_mutex_test_020.cpp47 pthread_t thread = pthread_self(); in ThreadFuncTest2() local
72 pthread_t thread = pthread_self(); in ThreadFuncTest1() local
99 pthread_t thread = pthread_self(); in ThreadFuncTest0() local
141 pthread_t thread = pthread_self(); in Testcase() local
Dpthread_mutex_test_005.cpp51 pthread_t thread = pthread_self(); in ThreadFuncTest3() local
79 pthread_t thread = pthread_self(); in ThreadFuncTest2() local
105 pthread_t thread = pthread_self(); in ThreadFuncTest1() local
133 pthread_t thread = pthread_self(); in Testcase() local

12345678910>>...22