Home
last modified time | relevance | path

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

12345678910>>...13

/linux-6.15/tools/perf/util/
H A Dthread.h32 DECLARE_RC_STRUCT(thread) { in DECLARE_RC_STRUCT() argument
86 static inline void __thread__zput(struct thread **thread) in __thread__zput()
92 #define thread__zput(thread) __thread__zput(&thread) argument
134 static inline struct maps *thread__maps(struct thread *thread) in thread__maps()
144 static inline pid_t thread__pid(const struct thread *thread) in thread__pid()
154 static inline pid_t thread__tid(const struct thread *thread) in thread__tid()
164 static inline pid_t thread__ppid(const struct thread *thread) in thread__ppid()
174 static inline int thread__cpu(const struct thread *thread) in thread__cpu()
249 static inline u64 thread__db_id(const struct thread *thread) in thread__db_id()
259 static inline void *thread__priv(struct thread *thread) in thread__priv()
[all …]
H A Dthread.c46 struct thread *thread; in thread__new() local
92 void thread__delete(struct thread *thread) in thread__delete()
131 struct thread *thread__get(struct thread *thread) in thread__get()
141 void thread__put(struct thread *thread) in thread__put()
203 struct comm *thread__comm(struct thread *thread) in thread__comm()
211 struct comm *thread__exec_comm(struct thread *thread) in thread__exec_comm()
270 int thread__set_comm_from_proc(struct thread *thread) in thread__set_comm_from_proc()
297 const char *thread__comm_str(struct thread *thread) in thread__comm_str()
318 int thread__comm_len(struct thread *thread) in thread__comm_len()
334 size_t thread__fprintf(struct thread *thread, FILE *fp) in thread__fprintf()
[all …]
H A Dthread-stack.c113 static inline bool thread_stack__per_cpu(struct thread *thread) in thread_stack__per_cpu()
298 static int thread_stack__call_return(struct thread *thread, in thread_stack__call_return()
364 int thread_stack__flush(struct thread *thread) in thread_stack__flush()
503 void thread_stack__free(struct thread *thread) in thread_stack__free()
521 void thread_stack__sample(struct thread *thread, int cpu, in thread_stack__sample()
564 void thread_stack__sample_late(struct thread *thread, int cpu, in thread_stack__sample_late()
617 void thread_stack__br_sample(struct thread *thread, int cpu, in thread_stack__br_sample()
678 void thread_stack__br_sample_late(struct thread *thread, int cpu, in thread_stack__br_sample_late()
903 static int thread_stack__no_call_return(struct thread *thread, in thread_stack__no_call_return()
997 static int thread_stack__trace_begin(struct thread *thread, in thread_stack__trace_begin()
[all …]
H A Dmachine.c356 struct thread *thread; in findnew_guest_code() local
558 struct thread *thread) in machine__thread_exec_comm()
1697 struct thread *thread; in machine__process_mmap2_event() local
1765 struct thread *thread; in machine__process_mmap_event() local
1965 static void ip__resolve_ams(struct thread *thread, in ip__resolve_ams()
1992 static void ip__resolve_data(struct thread *thread, in ip__resolve_data()
2058 static int add_callchain_ip(struct thread *thread, in add_callchain_ip()
2440 static bool has_stitched_lbr(struct thread *thread, in has_stitched_lbr()
2662 struct thread *thread, int usr_idx) in get_leaf_frame_caller()
2985 int (*fn)(struct thread *thread, void *p), in machine__for_each_thread()
[all …]
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 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()
/linux-6.15/drivers/md/dm-vdo/
H A Dthread-utils.c21 struct thread { struct
22 void (*thread_function)(void *thread_data); argument
23 void *thread_data; argument
24 struct hlist_node thread_links; argument
25 struct task_struct *thread_task; argument
26 struct completion thread_done; argument
37 struct thread *thread = arg; in thread_starter() local
56 struct thread *thread; in vdo_create_thread() local
99 void vdo_join_threads(struct thread *thread) in vdo_join_threads()
H A Dthread-registry.c28 struct registered_thread *thread; in vdo_register_thread() local
57 struct registered_thread *thread; in vdo_unregister_thread() local
80 struct registered_thread *thread; in vdo_lookup_thread() local
/linux-6.15/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
/linux-6.15/drivers/mailbox/
H A Dmtk-cmdq-mailbox.c72 struct cmdq_thread *thread; member
82 struct cmdq_thread *thread; member
135 static void cmdq_thread_resume(struct cmdq_thread *thread) in cmdq_thread_resume()
192 struct cmdq_thread *thread = task->thread; in cmdq_task_insert_into_thread() local
209 static bool cmdq_thread_is_in_wfe(struct cmdq_thread *thread) in cmdq_thread_is_in_wfe()
227 struct cmdq_thread *thread = task->thread; in cmdq_task_handle_error() local
242 struct cmdq_thread *thread) in cmdq_thread_irq_handler()
303 struct cmdq_thread *thread = &cmdq->thread[bit]; in cmdq_irq_handler() local
333 struct cmdq_thread *thread; in cmdq_suspend() local
385 struct cmdq_thread *thread = (struct cmdq_thread *)chan->con_priv; in cmdq_mbox_send_data() local
[all …]
/linux-6.15/arch/arm/vfp/
H A Dvfpmodule.c90 static bool vfp_state_in_hw(unsigned int cpu, struct thread_info *thread) in vfp_state_in_hw()
104 static void vfp_force_reload(unsigned int cpu, struct thread_info *thread) in vfp_force_reload()
118 static void vfp_thread_flush(struct thread_info *thread) in vfp_thread_flush()
146 static void vfp_thread_exit(struct thread_info *thread) in vfp_thread_exit()
157 static void vfp_thread_copy(struct thread_info *thread) in vfp_thread_copy()
189 struct thread_info *thread = v; in vfp_notifier() local
547 void vfp_sync_hwstate(struct thread_info *thread) in vfp_sync_hwstate()
566 void vfp_flush_hwstate(struct thread_info *thread) in vfp_flush_hwstate()
582 struct thread_info *thread = current_thread_info(); in vfp_preserve_user_clear_hwstate() local
620 struct thread_info *thread = current_thread_info(); in vfp_restore_user_hwstate() local
[all …]
/linux-6.15/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
/linux-6.15/tools/lib/perf/
H A Devsel.c59 int idx, thread; in perf_evsel__alloc_fd() local
119 int idx, thread, err = 0; in perf_evsel__open() local
184 int thread; in perf_evsel__close_fd_cpu() local
227 int idx, thread; in perf_evsel__munmap() local
249 int ret, idx, thread; in perf_evsel__mmap() local
284 void *perf_evsel__mmap_base(struct perf_evsel *evsel, int cpu_map_idx, int thread) in perf_evsel__mmap_base()
324 int thread, struct perf_counts_values *count) in perf_evsel__read_group()
389 int perf_evsel__read(struct perf_evsel *evsel, int cpu_map_idx, int thread, in perf_evsel__read()
418 int cpu_map_idx, int thread) in perf_evsel__ioctl()
432 int thread; in perf_evsel__run_ioctl() local
[all …]
/linux-6.15/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
/linux-6.15/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
/linux-6.15/arch/s390/include/asm/
H A Dfpu.h160 struct thread_struct *thread = &current->thread; in load_user_fpu_regs() local
168 static __always_inline void __save_user_fpu_regs(struct thread_struct *thread, int flags) in __save_user_fpu_regs()
176 struct thread_struct *thread = &current->thread; in save_user_fpu_regs() local
189 struct thread_struct *thread = &current->thread; in _kernel_fpu_begin() local
247 static inline void save_kernel_fpu_regs(struct thread_struct *thread) in save_kernel_fpu_regs()
254 static inline void restore_kernel_fpu_regs(struct thread_struct *thread) in restore_kernel_fpu_regs()
/linux-6.15/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()
/linux-6.15/drivers/android/
H A Dbinder.c580 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()
3965 struct binder_thread *thread, in binder_freeze_notification_done()
4011 struct binder_thread *thread, in binder_free_buf()
4045 struct binder_thread *thread, in binder_thread_write()
5217 struct binder_thread *thread; in binder_get_thread() local
5553 struct binder_thread *thread; in binder_txns_pending_ilocked() local
5718 struct binder_thread *thread; in binder_ioctl() local
6240 struct binder_thread *thread; in binder_deferred_release() local
[all …]
/linux-6.15/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()
/linux-6.15/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
/linux-6.15/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
/linux-6.15/tools/testing/selftests/kvm/
H A Dhardware_disable_test.c58 static inline void check_create_thread(pthread_t *thread, pthread_attr_t *attr, in check_create_thread()
67 static inline void check_set_affinity(pthread_t thread, cpu_set_t *cpu_set) in check_set_affinity()
75 static inline void check_join(pthread_t thread, void **retval) in check_join()
/linux-6.15/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()
/linux-6.15/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()

12345678910>>...13