Home
last modified time | relevance | path

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

123456789

/Linux-v4.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()
104 static inline void *thread__priv(struct thread *thread) in thread__priv()
109 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 struct namespaces *thread__namespaces(const struct thread *thread) in thread__namespaces()
139 static int __thread__set_namespaces(struct thread *thread, u64 timestamp, in __thread__set_namespaces()
163 int thread__set_namespaces(struct thread *thread, u64 timestamp, in thread__set_namespaces()
174 struct comm *thread__comm(const struct thread *thread) in thread__comm()
182 struct comm *thread__exec_comm(const struct thread *thread) in thread__exec_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()
288 void thread_stack__sample(struct thread *thread, struct ip_callchain *chain, in thread_stack__sample()
357 static int thread_stack__pop_cp(struct thread *thread, struct thread_stack *ts, in thread_stack__pop_cp()
400 static int thread_stack__bottom(struct thread *thread, struct thread_stack *ts, in thread_stack__bottom()
[all …]
Dthread_map.h46 static inline pid_t thread_map__pid(struct thread_map *map, int thread) in thread_map__pid()
52 thread_map__set_pid(struct thread_map *map, int thread, pid_t pid) in thread_map__set_pid()
57 static inline char *thread_map__comm(struct thread_map *map, int thread) in thread_map__comm()
Dvdso.c139 struct thread *thread) in machine__thread_dso_type()
252 struct thread *thread, in __machine__findnew_vdso_compat()
286 struct thread *thread) in machine__find_vdso()
316 struct thread *thread) in machine__findnew_vdso()
Dmachine.c95 struct thread *thread = machine__findnew_thread(machine, -1, in machine__init() local
555 struct thread *thread) in machine__thread_exec_comm()
566 struct thread *thread = machine__findnew_thread(machine, in machine__process_comm_event() local
593 struct thread *thread = machine__findnew_thread(machine, in machine__process_namespaces_event() local
1571 struct thread *thread; in machine__process_mmap2_event() local
1623 struct thread *thread; in machine__process_mmap_event() local
1705 struct thread *thread = machine__find_thread(machine, in machine__process_fork_event() local
1754 struct thread *thread = machine__find_thread(machine, in machine__process_exit_event() local
1813 static void ip__resolve_ams(struct thread *thread, in ip__resolve_ams()
1836 static void ip__resolve_data(struct thread *thread, in ip__resolve_data()
[all …]
Devsel.c1128 int cpu, thread; in perf_evsel__alloc_fd() local
1142 int cpu, thread; in perf_evsel__run_ioctl() local
1265 int cpu, thread; in perf_evsel__close_fd() local
1296 void perf_evsel__compute_deltas(struct perf_evsel *evsel, int cpu, int thread, in perf_evsel__compute_deltas()
1362 int perf_evsel__read(struct perf_evsel *evsel, int cpu, int thread, in perf_evsel__read()
1379 perf_evsel__read_one(struct perf_evsel *evsel, int cpu, int thread) in perf_evsel__read_one()
1387 perf_evsel__set_count(struct perf_evsel *counter, int cpu, int thread, in perf_evsel__set_count()
1402 int cpu, int thread, u64 *data) in perf_evsel__process_group_data()
1439 perf_evsel__read_group(struct perf_evsel *leader, int cpu, int thread) in perf_evsel__read_group()
1469 int perf_evsel__read_counter(struct perf_evsel *evsel, int cpu, int thread) in perf_evsel__read_counter()
[all …]
/Linux-v4.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
/Linux-v4.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 …]
/Linux-v4.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
601 struct thread_info *thread = current_thread_info(); in vfp_restore_user_hwstate() local
[all …]
/Linux-v4.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
/Linux-v4.19/tools/usb/
Dffs-test.c356 static struct thread { struct
360 ssize_t (*in)(struct thread *, void *, size_t); argument
363 ssize_t (*out)(struct thread *, const void *, size_t); argument
367 pthread_t id; argument
370 } threads[] = { argument
392 static void init_thread(struct thread *t) in init_thread() argument
/Linux-v4.19/drivers/acpi/acpica/
Ddswstate.c412 struct acpi_walk_state *acpi_ds_get_current_walk_state(struct acpi_thread_state in acpi_ds_get_current_walk_state()
442 struct acpi_thread_state *thread) in acpi_ds_push_walk_state()
466 struct acpi_walk_state *acpi_ds_pop_walk_state(struct acpi_thread_state *thread) in acpi_ds_pop_walk_state()
511 struct acpi_thread_state in acpi_ds_create_walk_state()
Dexmutex.c37 struct acpi_thread_state *thread = obj_desc->mutex.owner_thread; in acpi_ex_unlink_mutex() local
80 struct acpi_thread_state *thread) in acpi_ex_link_mutex()
461 void acpi_ex_release_all_mutexes(struct acpi_thread_state *thread) in acpi_ex_release_all_mutexes()
/Linux-v4.19/tools/perf/arch/arm64/tests/
Ddwarf-unwind.c13 struct thread *thread, u64 *regs) in sample_ustack()
45 struct thread *thread) in test__arch_unwind_sample()
/Linux-v4.19/tools/perf/arch/powerpc/tests/
Ddwarf-unwind.c14 struct thread *thread, u64 *regs) in sample_ustack()
46 struct thread *thread) in test__arch_unwind_sample()
/Linux-v4.19/tools/perf/arch/x86/tests/
Ddwarf-unwind.c14 struct thread *thread, u64 *regs) in sample_ustack()
46 struct thread *thread) in test__arch_unwind_sample()
/Linux-v4.19/tools/perf/arch/arm/tests/
Ddwarf-unwind.c13 struct thread *thread, u64 *regs) in sample_ustack()
45 struct thread *thread) in test__arch_unwind_sample()
/Linux-v4.19/arch/arm/mach-ep93xx/
Dcrunch.c26 void crunch_task_release(struct thread_info *thread) in crunch_task_release()
41 struct thread_info *thread = (struct thread_info *)t; in crunch_do() local
/Linux-v4.19/arch/unicore32/kernel/
Dprocess.c208 struct thread_info *thread = current_thread_info(); in flush_thread() local
229 struct thread_info *thread = task_thread_info(p); in copy_thread() local
266 struct thread_info *thread = current_thread_info(); in dump_fpu() local
/Linux-v4.19/drivers/android/
Dbinder.c822 binder_enqueue_deferred_thread_work_ilocked(struct binder_thread *thread, in binder_enqueue_deferred_thread_work_ilocked()
839 binder_enqueue_thread_work_ilocked(struct binder_thread *thread, in binder_enqueue_thread_work_ilocked()
855 binder_enqueue_thread_work(struct binder_thread *thread, in binder_enqueue_thread_work()
983 static bool binder_has_work_ilocked(struct binder_thread *thread, in binder_has_work_ilocked()
992 static bool binder_has_work(struct binder_thread *thread, bool do_proc_work) in binder_has_work()
1003 static bool binder_available_for_proc_work_ilocked(struct binder_thread *thread) in binder_available_for_proc_work_ilocked()
1015 struct binder_thread *thread; in binder_wakeup_poll_threads_ilocked() local
1044 struct binder_thread *thread; in binder_select_thread_ilocked() local
1074 struct binder_thread *thread, in binder_wakeup_thread_ilocked()
1105 struct binder_thread *thread = binder_select_thread_ilocked(proc); in binder_wakeup_proc_ilocked() local
[all …]
/Linux-v4.19/arch/arm/kernel/
Dptrace.c307 struct thread_info *thread = task_thread_info(tsk); in ptrace_getwmmxregs() local
321 struct thread_info *thread = task_thread_info(tsk); in ptrace_setwmmxregs() local
338 struct thread_info *thread = task_thread_info(tsk); in ptrace_getcrunchregs() local
350 struct thread_info *thread = task_thread_info(tsk); in ptrace_setcrunchregs() local
629 struct thread_info *thread = task_thread_info(target); in fpa_set() local
667 struct thread_info *thread = task_thread_info(target); in vfp_get() local
704 struct thread_info *thread = task_thread_info(target); in vfp_set() local
Dxscale-cp0.c38 struct thread_info *thread = t; in dsp_do() local
63 struct thread_info *thread = t; in iwmmxt_do() local
/Linux-v4.19/tools/perf/
Dbuiltin-script.c609 struct thread *thread, in perf_sample__fprintf_start()
712 struct thread *thread, in perf_sample__fprintf_brstack()
759 struct thread *thread, in perf_sample__fprintf_brstacksym()
804 struct thread *thread, in perf_sample__fprintf_brstackoff()
854 struct machine *machine, struct thread *thread, in grab_bb()
931 static int ip__fprintf_sym(uint64_t addr, struct thread *thread, in ip__fprintf_sym()
970 struct thread *thread, in perf_sample__fprintf_brstackinsn()
1079 struct thread *thread, in perf_sample__fprintf_addr()
1109 struct thread *thread, in perf_sample__fprintf_callindent()
1167 struct thread *thread, in perf_sample__fprintf_insn()
[all …]

123456789