Home
last modified time | relevance | path

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

123456789

/linux/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
H A Dvdo.c132 struct vdo_thread *thread = vdo_get_work_queue_owner(vdo_get_current_work_queue()); in start_vdo_request_queue() local
412 struct vdo_thread *thread = &vdo->threads[thread_id]; in vdo_make_thread() local
639 static void free_listeners(struct vdo_thread *thread) in free_listeners()
988 struct vdo_thread *thread = &vdo->threads[thread_id]; in vdo_register_read_only_listener() local
1143 struct vdo_thread *thread = &vdo->threads[thread_id]; in make_thread_read_only() local
1244 struct vdo_thread *thread; in vdo_enter_read_only_mode() local
1600 struct vdo_thread *thread; in vdo_get_callback_thread_id() local
/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
/linux/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/tools/perf/util/
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 Ddb-export.c62 int db_export__thread(struct db_export *dbe, struct thread *thread, in db_export__thread() argument
83 struct thread *thread) in __db_export__comm() argument
94 db_export__comm(struct db_export * dbe,struct comm * comm,struct thread * thread) db_export__comm() argument
134 db_export__comm_thread(struct db_export * dbe,struct comm * comm,struct thread * thread) db_export__comm_thread() argument
211 call_path_from_sample(struct db_export * dbe,struct machine * machine,struct thread * thread,struct perf_sample * sample,struct evsel * evsel) call_path_from_sample() argument
294 db_export__threads(struct db_export * dbe,struct thread * thread,struct thread * main_thread,struct machine * machine,struct comm ** comm_ptr) db_export__threads() argument
352 struct thread *thread = al->thread; db_export__sample() local
532 struct thread *thread = machine__find_thread(machine, pid, tid); db_export__pid_tid() local
[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 Dvdso.c159 struct thread *thread) in machine__thread_dso_type()
265 struct thread *thread, in __machine__findnew_vdso_compat()
299 struct thread *thread) in machine__find_vdso()
331 struct thread *thread) in machine__findnew_vdso()
H A Dprint_insn.c84 static size_t print_insn_x86(struct thread *thread, u8 cpumode, cs_insn *insn, in print_insn_x86()
122 ssize_t fprintf_insn_asm(struct machine *machine, struct thread *thread, u8 cpumode, in fprintf_insn_asm()
154 size_t sample__fprintf_insn_asm(struct perf_sample *sample, struct thread *thread, in sample__fprintf_insn_asm()
/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
/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
/linux/drivers/android/
H A Dbinder.c460 binder_enqueue_deferred_thread_work_ilocked(struct binder_thread *thread, in binder_enqueue_deferred_thread_work_ilocked()
478 binder_enqueue_thread_work_ilocked(struct binder_thread *thread, in binder_enqueue_thread_work_ilocked()
505 binder_enqueue_thread_work(struct binder_thread *thread, in binder_enqueue_thread_work()
552 static bool binder_has_work_ilocked(struct binder_thread *thread, in binder_has_work_ilocked()
561 static bool binder_has_work(struct binder_thread *thread, bool do_proc_work) in binder_has_work()
572 static bool binder_available_for_proc_work_ilocked(struct binder_thread *thread) in binder_available_for_proc_work_ilocked()
582 struct binder_thread *thread; in binder_wakeup_poll_threads_ilocked() local
611 struct binder_thread *thread; in binder_select_thread_ilocked() local
641 struct binder_thread *thread, in binder_wakeup_thread_ilocked()
672 struct binder_thread *thread = binder_select_thread_ilocked(proc); in binder_wakeup_proc_ilocked() local
[all …]
/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()
/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
/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
/linux/tools/perf/arch/arm64/tests/
H A Ddwarf-unwind.c14 struct thread *thread, u64 *regs) in sample_ustack() argument
46 struct thread *thread) in test__arch_unwind_sample() argument
/linux/tools/perf/arch/arm/tests/
H A Ddwarf-unwind.c14 struct thread *thread, u64 *regs) in sample_ustack() argument
46 struct thread *thread) in test__arch_unwind_sample() argument
/linux/tools/perf/arch/powerpc/tests/
H A Ddwarf-unwind.c14 struct thread *thread, u64 *regs) in sample_ustack() argument
46 struct thread *thread) in test__arch_unwind_sample() argument
/linux/tools/perf/arch/x86/tests/
H A Ddwarf-unwind.c14 struct thread *thread, u64 *regs) in sample_ustack() argument
54 struct thread *thread) in test__arch_unwind_sample() argument
/linux/tools/lib/perf/
H A Devlist.c265 int cpu_map_idx, int thread, u64 id) in perf_evlist__id_hash()
286 int cpu_map_idx, int thread, u64 id) in perf_evlist__id_add()
297 int cpu_map_idx, int thread, int fd) in perf_evlist__id_add_fd()
420 static void perf_evsel__set_sid_idx(struct perf_evsel *evsel, int idx, int cpu, int thread) in perf_evsel__set_sid_idx()
471 int thread, int *_output, int *_output_overwrite, int *nr_mmaps) in mmap_per_evsel()
568 int cpu, thread, idx = 0; in mmap_per_thread() local
611 int cpu, thread; in mmap_per_cpu() local
/linux/arch/arm/kernel/
H A Dxscale-cp0.c35 struct thread_info *thread = t; in dsp_do() local
60 struct thread_info *thread = t; in iwmmxt_do() local
H A Dptrace.c296 struct thread_info *thread = task_thread_info(tsk); in ptrace_getwmmxregs() local
310 struct thread_info *thread = task_thread_info(tsk); in ptrace_setwmmxregs() local
585 struct thread_info *thread = task_thread_info(target); in fpa_set() local
615 struct thread_info *thread = task_thread_info(target); in vfp_get() local
637 struct thread_info *thread = task_thread_info(target); in vfp_set() local
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsockmap_helpers.h51 xpthread_create(thread,attr,func,arg) global() argument
60 xpthread_join(thread,retval) global() argument

123456789