Home
last modified time | relevance | path

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

12345678910>>...14

/openbmc/linux/tools/perf/util/
H A Dthread.h35 struct thread *thread; member
38 DECLARE_RC_STRUCT(thread) { in DECLARE_RC_STRUCT() argument
88 static inline void __thread__zput(struct thread **thread) in __thread__zput()
94 #define thread__zput(thread) __thread__zput(&thread) argument
102 static inline int thread__set_comm(struct thread *thread, const char *comm, in thread__set_comm()
136 static inline struct maps *thread__maps(struct thread *thread) in thread__maps()
141 static inline void thread__set_maps(struct thread *thread, struct maps *maps) in thread__set_maps()
146 static inline pid_t thread__pid(const struct thread *thread) in thread__pid()
151 static inline void thread__set_pid(struct thread *thread, pid_t pid_) in thread__set_pid()
156 static inline pid_t thread__tid(const struct thread *thread) in thread__tid()
[all …]
H A Dthread.c22 int thread__init_maps(struct thread *thread, struct machine *machine) in thread__init_maps()
43 struct thread *thread; in thread__new() local
88 void thread__delete(struct thread *thread) in thread__delete()
127 struct thread *thread__get(struct thread *thread) in thread__get()
137 void thread__put(struct thread *thread) in thread__put()
145 static struct namespaces *__thread__namespaces(struct thread *thread) in __thread__namespaces()
153 struct namespaces *thread__namespaces(struct thread *thread) in thread__namespaces()
164 static int __thread__set_namespaces(struct thread *thread, u64 timestamp, in __thread__set_namespaces()
188 int thread__set_namespaces(struct thread *thread, u64 timestamp, in thread__set_namespaces()
199 struct comm *thread__comm(struct thread *thread) in thread__comm()
[all …]
H A 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 …]
H A Dcounts.h20 perf_counts(struct perf_counts *counts, int cpu_map_idx, int thread) in perf_counts()
26 perf_counts__is_loaded(struct perf_counts *counts, int cpu_map_idx, int thread) in perf_counts__is_loaded()
32 perf_counts__set_loaded(struct perf_counts *counts, int cpu_map_idx, int thread, bool loaded) in perf_counts__set_loaded()
H A Ddb-export.c62 int db_export__thread(struct db_export *dbe, struct thread *thread, in db_export__thread()
83 struct thread *thread) in __db_export__comm()
94 struct thread *thread) in db_export__comm()
134 struct thread *thread) in db_export__comm_thread()
211 struct thread *thread, in call_path_from_sample()
294 static int db_export__threads(struct db_export *dbe, struct thread *thread, in db_export__threads()
352 struct thread *thread = al->thread; in db_export__sample() local
532 struct thread *thread = machine__find_thread(machine, pid, tid); in db_export__pid_tid() local
H A Dmachine.c104 static void thread__set_guest_comm(struct thread *thread, pid_t pid) in thread__set_guest_comm()
145 struct thread *thread = machine__findnew_thread(machine, -1, in machine__init() local
433 struct thread *thread; in findnew_guest_code() local
729 struct thread *thread = machine__findnew_thread(machine, 0, 0); in machine__idle_thread() local
739 struct thread *thread) in machine__thread_exec_comm()
750 struct thread *thread = machine__findnew_thread(machine, in machine__process_comm_event() local
777 struct thread *thread = machine__findnew_thread(machine, in machine__process_namespaces_event() local
1930 struct thread *thread; in machine__process_mmap2_event() local
1998 struct thread *thread; in machine__process_mmap_event() local
2088 struct thread *thread = machine__find_thread(machine, in machine__process_fork_event() local
[all …]
/openbmc/linux/tools/perf/scripts/python/
H A 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
/openbmc/linux/drivers/mailbox/
H A Dmtk-cmdq-mailbox.c70 struct cmdq_thread *thread; member
80 struct cmdq_thread *thread; member
113 static int cmdq_thread_suspend(struct cmdq *cmdq, struct cmdq_thread *thread) in cmdq_thread_suspend()
133 static void cmdq_thread_resume(struct cmdq_thread *thread) in cmdq_thread_resume()
158 static int cmdq_thread_reset(struct cmdq *cmdq, struct cmdq_thread *thread) in cmdq_thread_reset()
174 static void cmdq_thread_disable(struct cmdq *cmdq, struct cmdq_thread *thread) in cmdq_thread_disable()
181 static void cmdq_thread_invalidate_fetched_data(struct cmdq_thread *thread) in cmdq_thread_invalidate_fetched_data()
190 struct cmdq_thread *thread = task->thread; in cmdq_task_insert_into_thread() local
207 static bool cmdq_thread_is_in_wfe(struct cmdq_thread *thread) in cmdq_thread_is_in_wfe()
225 struct cmdq_thread *thread = task->thread; in cmdq_task_handle_error() local
[all …]
/openbmc/linux/tools/perf/tests/
H A Ddwarf-unwind.c112 NO_TAIL_CALL_ATTRIBUTE noinline int test_dwarf_unwind__thread(struct thread *thread) in test_dwarf_unwind__thread()
146 struct thread *thread = *(struct thread **)p1; in test_dwarf_unwind__compare() local
162 NO_TAIL_CALL_ATTRIBUTE noinline int test_dwarf_unwind__krava_3(struct thread *thread) in test_dwarf_unwind__krava_3()
181 NO_TAIL_CALL_ATTRIBUTE noinline int test_dwarf_unwind__krava_2(struct thread *thread) in test_dwarf_unwind__krava_2()
190 NO_TAIL_CALL_ATTRIBUTE noinline int test_dwarf_unwind__krava_1(struct thread *thread) in test_dwarf_unwind__krava_1()
203 struct thread *thread; in test__dwarf_unwind() local
/openbmc/linux/arch/arm/vfp/
H A 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
513 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 …]
/openbmc/linux/tools/lib/perf/
H A Devsel.c57 int idx, thread; in perf_evsel__alloc_fd() local
87 static int get_group_fd(struct perf_evsel *evsel, int cpu_map_idx, int thread, int *group_fd) in get_group_fd()
117 int idx, thread, err = 0; in perf_evsel__open() local
182 int thread; in perf_evsel__close_fd_cpu() local
225 int idx, thread; in perf_evsel__munmap() local
247 int ret, idx, thread; in perf_evsel__mmap() local
282 void *perf_evsel__mmap_base(struct perf_evsel *evsel, int cpu_map_idx, int thread) in perf_evsel__mmap_base()
322 int thread, struct perf_counts_values *count) in perf_evsel__read_group()
387 int perf_evsel__read(struct perf_evsel *evsel, int cpu_map_idx, int thread, in perf_evsel__read()
416 int cpu_map_idx, int thread) in perf_evsel__ioctl()
[all …]
/openbmc/linux/arch/powerpc/kernel/ptrace/
H A Dptrace-noadv.c82 struct thread_struct *thread = &task->thread; in ptrace_set_debugreg() local
170 static int find_empty_ptrace_bp(struct thread_struct *thread) in find_empty_ptrace_bp()
182 static int find_empty_hw_brk(struct thread_struct *thread) in find_empty_hw_brk()
198 struct thread_struct *thread = &child->thread; in ppc_set_hwdebug() local
272 struct thread_struct *thread = &child->thread; in ppc_del_hwdebug() local
/openbmc/qemu/migration/
H A Dthreadinfo.c28 MigrationThread *thread = g_new0(MigrationThread, 1); in migration_threads_add() local
39 void migration_threads_remove(MigrationThread *thread) in migration_threads_remove()
52 MigrationThread *thread = NULL; in qmp_query_migrationthreads() local
/openbmc/linux/drivers/of/
H A Dcpu.c14 u64 of_get_cpu_hwid(struct device_node *cpun, unsigned int thread) in of_get_cpu_hwid()
53 const char *prop_name, int cpu, unsigned int *thread) in __of_find_n_match_cpu_property()
85 int cpu, unsigned int *thread) in arch_find_n_match_cpu_physical_id()
119 struct device_node *of_get_cpu_node(int cpu, unsigned int *thread) in of_get_cpu_node()
/openbmc/linux/tools/usb/
H A Dffs-test.c343 static struct thread { struct
347 ssize_t (*in)(struct thread *, void *, size_t); argument
350 ssize_t (*out)(struct thread *, const void *, size_t); argument
354 pthread_t id; argument
357 } threads[] = { argument
379 static void init_thread(struct thread *t) in init_thread() argument
/openbmc/linux/drivers/acpi/acpica/
H A 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()
H A 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()
/openbmc/linux/drivers/android/
H A Dbinder.c458 binder_enqueue_deferred_thread_work_ilocked(struct binder_thread *thread, in binder_enqueue_deferred_thread_work_ilocked()
476 binder_enqueue_thread_work_ilocked(struct binder_thread *thread, in binder_enqueue_thread_work_ilocked()
503 binder_enqueue_thread_work(struct binder_thread *thread, in binder_enqueue_thread_work()
550 static bool binder_has_work_ilocked(struct binder_thread *thread, in binder_has_work_ilocked()
559 static bool binder_has_work(struct binder_thread *thread, bool do_proc_work) in binder_has_work()
570 static bool binder_available_for_proc_work_ilocked(struct binder_thread *thread) in binder_available_for_proc_work_ilocked()
580 struct binder_thread *thread; in binder_wakeup_poll_threads_ilocked() local
609 struct binder_thread *thread; in binder_select_thread_ilocked() local
639 struct binder_thread *thread, in binder_wakeup_thread_ilocked()
670 struct binder_thread *thread = binder_select_thread_ilocked(proc); in binder_wakeup_proc_ilocked() local
[all …]
/openbmc/linux/tools/testing/selftests/bpf/benchs/
H A Dbench_local_storage_create.c12 struct thread { struct
14 pthread_t *pthds; argument
19 static struct thread *threads; argument
/openbmc/qemu/util/
H A Dqemu-thread-win32.c431 void *qemu_thread_join(QemuThread *thread) in qemu_thread_join()
479 void qemu_thread_create(QemuThread *thread, const char *name, in qemu_thread_create()
510 int qemu_thread_set_affinity(QemuThread *thread, unsigned long *host_cpus, in qemu_thread_set_affinity()
516 int qemu_thread_get_affinity(QemuThread *thread, unsigned long **host_cpus, in qemu_thread_get_affinity()
522 void qemu_thread_get_self(QemuThread *thread) in qemu_thread_get_self()
528 HANDLE qemu_thread_get_handle(QemuThread *thread) in qemu_thread_get_handle()
549 bool qemu_thread_is_self(QemuThread *thread) in qemu_thread_is_self()
/openbmc/linux/include/linux/iio/
H A Dtriggered_buffer.h20 #define iio_triggered_buffer_setup(indio_dev, h, thread, setup_ops) \ argument
33 #define devm_iio_triggered_buffer_setup(dev, indio_dev, h, thread, setup_ops) \ argument
/openbmc/linux/tools/perf/arch/powerpc/tests/
H A Ddwarf-unwind.c14 struct thread *thread, u64 *regs) in sample_ustack()
46 struct thread *thread) in test__arch_unwind_sample()
/openbmc/linux/tools/perf/arch/arm64/tests/
H A Ddwarf-unwind.c14 struct thread *thread, u64 *regs) in sample_ustack()
46 struct thread *thread) in test__arch_unwind_sample()
/openbmc/linux/tools/perf/arch/x86/tests/
H A Ddwarf-unwind.c14 struct thread *thread, u64 *regs) in sample_ustack()
53 struct thread *thread) in test__arch_unwind_sample()
/openbmc/linux/tools/perf/arch/arm/tests/
H A Ddwarf-unwind.c14 struct thread *thread, u64 *regs) in sample_ustack()
46 struct thread *thread) in test__arch_unwind_sample()

12345678910>>...14