/kernel/linux/linux-5.10/drivers/android/ |
H A D | binder.c | 21 * 3) proc->inner_lock : protects the thread and node lists 24 * (proc->todo, thread->todo, proc->delivered_death and 25 * node->async_todo), as well as thread->transaction_stack 247 * There are separate work lists for proc, thread, and node (async). 528 * struct binder_thread - binder thread bookkeeping 529 * @proc: binder process for this thread 535 * @pid: PID for this thread 538 * (only accessed by this thread) 539 * @looper_needs_return: looping thread needs to exit driver 541 * @transaction_stack: stack of in-progress transactions for this thread 857 binder_enqueue_deferred_thread_work_ilocked(struct binder_thread *thread, struct binder_work *work) binder_enqueue_deferred_thread_work_ilocked() argument 875 binder_enqueue_thread_work_ilocked(struct binder_thread *thread, struct binder_work *work) binder_enqueue_thread_work_ilocked() argument 902 binder_enqueue_thread_work(struct binder_thread *thread, struct binder_work *work) binder_enqueue_thread_work() argument 959 binder_has_work_ilocked(struct binder_thread *thread, bool do_proc_work) binder_has_work_ilocked() argument 968 binder_has_work(struct binder_thread *thread, bool do_proc_work) binder_has_work() argument 979 binder_available_for_proc_work_ilocked(struct binder_thread *thread) binder_available_for_proc_work_ilocked() argument 991 struct binder_thread *thread; binder_wakeup_poll_threads_ilocked() local 1020 struct binder_thread *thread; binder_select_thread_ilocked() local 1049 binder_wakeup_thread_ilocked(struct binder_proc *proc, struct binder_thread *thread, bool sync) binder_wakeup_thread_ilocked() argument 1081 struct binder_thread *thread = binder_select_thread_ilocked(proc); binder_wakeup_proc_ilocked() local 1250 struct binder_thread *thread = container_of(target_list, binder_inc_node_nilocked() local 1854 binder_thread_dec_tmpref(struct binder_thread *thread) binder_thread_dec_tmpref() argument 2330 binder_transaction_buffer_release(struct binder_proc *proc, struct binder_thread *thread, struct binder_buffer *buffer, binder_size_t off_end_offset, bool is_failure) binder_transaction_buffer_release() argument 2510 binder_release_entire_buffer(struct binder_proc *proc, struct binder_thread *thread, struct binder_buffer *buffer, bool is_failure) binder_release_entire_buffer() argument 2524 binder_translate_binder(struct flat_binder_object *fp, struct binder_transaction *t, struct binder_thread *thread) binder_translate_binder() argument 2577 binder_translate_handle(struct flat_binder_object *fp, struct binder_transaction *t, struct binder_thread *thread) binder_translate_handle() argument 2650 binder_translate_fd(u32 fd, binder_size_t fd_offset, struct binder_transaction *t, struct binder_thread *thread, struct binder_transaction *in_reply_to) binder_translate_fd() argument 2956 binder_translate_fd_array(struct list_head *pf_head, struct binder_fd_array_object *fda, const void __user *sender_ubuffer, struct binder_buffer_object *parent, struct binder_buffer_object *sender_uparent, struct binder_transaction *t, struct binder_thread *thread, struct binder_transaction *in_reply_to) binder_translate_fd_array() argument 3024 binder_fixup_parent(struct list_head *pf_head, struct binder_transaction *t, struct binder_thread *thread, struct binder_buffer_object *bp, binder_size_t off_start_offset, binder_size_t num_valid, binder_size_t last_fixup_obj_off, binder_size_t last_fixup_min_off) binder_fixup_parent() argument 3091 binder_proc_transaction(struct binder_transaction *t, struct binder_proc *proc, struct binder_thread *thread) binder_proc_transaction() argument 3178 binder_transaction(struct binder_proc *proc, struct binder_thread *thread, struct binder_transaction_data *tr, int reply, binder_size_t extra_buffers_size) binder_transaction() argument 3999 binder_free_buf(struct binder_proc *proc, struct binder_thread *thread, struct binder_buffer *buffer, bool is_failure) binder_free_buf() argument 4033 binder_thread_write(struct binder_proc *proc, struct binder_thread *thread, binder_uintptr_t binder_buffer, size_t size, binder_size_t *consumed) binder_thread_write() argument 4479 binder_stat_br(struct binder_proc *proc, struct binder_thread *thread, uint32_t cmd) binder_stat_br() argument 4490 binder_put_node_cmd(struct binder_proc *proc, struct binder_thread *thread, void __user **ptrp, binder_uintptr_t node_ptr, binder_uintptr_t node_cookie, int node_debug_id, uint32_t cmd, const char *cmd_name) binder_put_node_cmd() argument 4521 binder_wait_for_work(struct binder_thread *thread, bool do_proc_work) binder_wait_for_work() argument 4618 binder_thread_read(struct binder_proc *proc, struct binder_thread *thread, binder_uintptr_t binder_buffer, size_t size, binder_size_t *consumed, int non_block) binder_thread_read() argument 5098 struct binder_thread *thread = NULL; binder_get_thread_ilocked() local 5135 struct binder_thread *thread; binder_get_thread() local 5172 binder_free_thread(struct binder_thread *thread) binder_free_thread() argument 5180 binder_thread_release(struct binder_proc *proc, struct binder_thread *thread) binder_thread_release() argument 5277 struct binder_thread *thread = NULL; binder_poll() local 5298 binder_ioctl_write_read(struct file *filp, unsigned int cmd, unsigned long arg, struct binder_thread *thread) binder_ioctl_write_read() argument 5477 struct binder_thread *thread; binder_ioctl() local 5847 struct binder_thread *thread = rb_entry(n, struct binder_thread, rb_node); binder_deferred_flush() local 5973 struct binder_thread *thread; binder_deferred_release() local 6155 print_binder_thread_ilocked(struct seq_file *m, struct binder_thread *thread, int print_always) print_binder_thread_ilocked() argument 6401 struct binder_thread *thread; print_binder_proc_stats() local 6667 struct binder_thread *thread = rb_entry(n, struct binder_thread, rb_node); print_binder_transaction_brief() local 6713 struct binder_thread *thread = NULL; print_binder_proc_brief() local [all...] |
/kernel/linux/linux-5.10/arch/mips/include/asm/ |
H A D | dsp.h | 41 tsk->thread.dsp.dspr[0] = mfhi1(); \ 42 tsk->thread.dsp.dspr[1] = mflo1(); \ 43 tsk->thread.dsp.dspr[2] = mfhi2(); \ 44 tsk->thread.dsp.dspr[3] = mflo2(); \ 45 tsk->thread.dsp.dspr[4] = mfhi3(); \ 46 tsk->thread.dsp.dspr[5] = mflo3(); \ 47 tsk->thread.dsp.dspcontrol = rddsp(DSP_MASK); \ 58 mthi1(tsk->thread.dsp.dspr[0]); \ 59 mtlo1(tsk->thread.dsp.dspr[1]); \ 60 mthi2(tsk->thread [all...] |
/kernel/linux/linux-6.6/arch/mips/include/asm/ |
H A D | dsp.h | 41 tsk->thread.dsp.dspr[0] = mfhi1(); \ 42 tsk->thread.dsp.dspr[1] = mflo1(); \ 43 tsk->thread.dsp.dspr[2] = mfhi2(); \ 44 tsk->thread.dsp.dspr[3] = mflo2(); \ 45 tsk->thread.dsp.dspr[4] = mfhi3(); \ 46 tsk->thread.dsp.dspr[5] = mflo3(); \ 47 tsk->thread.dsp.dspcontrol = rddsp(DSP_MASK); \ 58 mthi1(tsk->thread.dsp.dspr[0]); \ 59 mtlo1(tsk->thread.dsp.dspr[1]); \ 60 mthi2(tsk->thread [all...] |
/kernel/linux/linux-5.10/arch/mips/kernel/ |
H A D | asm-offsets.c | 113 OFFSET(THREAD_REG16, task_struct, thread.reg16); in output_thread_defines() 114 OFFSET(THREAD_REG17, task_struct, thread.reg17); in output_thread_defines() 115 OFFSET(THREAD_REG18, task_struct, thread.reg18); in output_thread_defines() 116 OFFSET(THREAD_REG19, task_struct, thread.reg19); in output_thread_defines() 117 OFFSET(THREAD_REG20, task_struct, thread.reg20); in output_thread_defines() 118 OFFSET(THREAD_REG21, task_struct, thread.reg21); in output_thread_defines() 119 OFFSET(THREAD_REG22, task_struct, thread.reg22); in output_thread_defines() 120 OFFSET(THREAD_REG23, task_struct, thread.reg23); in output_thread_defines() 121 OFFSET(THREAD_REG29, task_struct, thread.reg29); in output_thread_defines() 122 OFFSET(THREAD_REG30, task_struct, thread in output_thread_defines() [all...] |
/kernel/linux/linux-6.6/arch/mips/kernel/ |
H A D | asm-offsets.c | 115 OFFSET(THREAD_REG16, task_struct, thread.reg16); in output_thread_defines() 116 OFFSET(THREAD_REG17, task_struct, thread.reg17); in output_thread_defines() 117 OFFSET(THREAD_REG18, task_struct, thread.reg18); in output_thread_defines() 118 OFFSET(THREAD_REG19, task_struct, thread.reg19); in output_thread_defines() 119 OFFSET(THREAD_REG20, task_struct, thread.reg20); in output_thread_defines() 120 OFFSET(THREAD_REG21, task_struct, thread.reg21); in output_thread_defines() 121 OFFSET(THREAD_REG22, task_struct, thread.reg22); in output_thread_defines() 122 OFFSET(THREAD_REG23, task_struct, thread.reg23); in output_thread_defines() 123 OFFSET(THREAD_REG29, task_struct, thread.reg29); in output_thread_defines() 124 OFFSET(THREAD_REG30, task_struct, thread in output_thread_defines() [all...] |
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | machine.c | 24 #include "thread.h" 44 static void __machine__remove_thread(struct machine *machine, struct thread *th, bool lock); 115 struct thread *thread = machine__findnew_thread(machine, -1, in machine__init() local 119 if (thread == NULL) in machine__init() 123 thread__set_comm(thread, comm, 0); in machine__init() 124 thread__put(thread); in machine__init() 204 struct thread *t = rb_entry(nd, struct thread, rb_node); in machine__delete_threads() 230 struct thread *threa in machine__exit() local 592 machine__thread_exec_comm(struct machine *machine, struct thread *thread) machine__thread_exec_comm() argument 604 struct thread *thread = machine__findnew_thread(machine, machine__process_comm_event() local 631 struct thread *thread = machine__findnew_thread(machine, machine__process_namespaces_event() local 1723 struct thread *thread; machine__process_mmap2_event() local 1778 struct thread *thread; machine__process_mmap_event() local 1867 struct thread *thread = machine__find_thread(machine, machine__process_fork_event() local 1933 struct thread *thread = machine__find_thread(machine, machine__process_exit_event() local 2000 ip__resolve_ams(struct thread *thread, struct addr_map_symbol *ams, u64 ip) ip__resolve_ams() argument 2024 ip__resolve_data(struct thread *thread, u8 m, struct addr_map_symbol *ams, u64 addr, u64 phys_addr) ip__resolve_data() argument 2084 add_callchain_ip(struct thread *thread, struct callchain_cursor *cursor, struct symbol **parent, struct addr_location *root_al, u8 *cpumode, u64 ip, bool branch, struct branch_flags *flags, struct iterations *iter, u64 branch_from) add_callchain_ip() argument 2246 lbr_callchain_add_kernel_ip(struct thread *thread, struct callchain_cursor *cursor, struct perf_sample *sample, struct symbol **parent, struct addr_location *root_al, u64 branch_from, bool callee, int end) lbr_callchain_add_kernel_ip() argument 2280 save_lbr_cursor_node(struct thread *thread, struct callchain_cursor *cursor, int idx) save_lbr_cursor_node() argument 2305 lbr_callchain_add_lbr_ip(struct thread *thread, struct callchain_cursor *cursor, struct perf_sample *sample, struct symbol **parent, struct addr_location *root_al, u64 *branch_from, bool callee) lbr_callchain_add_lbr_ip() argument 2406 lbr_callchain_add_stitched_lbr_ip(struct thread *thread, struct callchain_cursor *cursor) lbr_callchain_add_stitched_lbr_ip() argument 2431 get_stitch_node(struct thread *thread) get_stitch_node() argument 2447 has_stitched_lbr(struct thread *thread, struct perf_sample *cur, struct perf_sample *prev, unsigned int max_lbr, bool callee) has_stitched_lbr() argument 2519 alloc_lbr_stitch(struct thread *thread, unsigned int max_lbr) alloc_lbr_stitch() argument 2552 resolve_lbr_callchain_sample(struct thread *thread, struct callchain_cursor *cursor, struct perf_sample *sample, struct symbol **parent, struct addr_location *root_al, int max_stack, unsigned int max_lbr) resolve_lbr_callchain_sample() argument 2635 find_prev_cpumode(struct ip_callchain *chain, struct thread *thread, struct callchain_cursor *cursor, struct symbol **parent, struct addr_location *root_al, u8 *cpumode, int ent) find_prev_cpumode() argument 2656 thread__resolve_callchain_sample(struct thread *thread, struct callchain_cursor *cursor, struct evsel *evsel, struct perf_sample *sample, struct symbol **parent, struct addr_location *root_al, int max_stack) thread__resolve_callchain_sample() argument 2870 thread__resolve_callchain_unwind(struct thread *thread, struct callchain_cursor *cursor, struct evsel *evsel, struct perf_sample *sample, int max_stack) thread__resolve_callchain_unwind() argument 2890 thread__resolve_callchain(struct thread *thread, struct callchain_cursor *cursor, struct evsel *evsel, struct perf_sample *sample, struct symbol **parent, struct addr_location *root_al, int max_stack) thread__resolve_callchain() argument 2927 machine__for_each_thread(struct machine *machine, int (*fn)(struct thread *thread, void *p), void *priv) machine__for_each_thread() argument 2933 struct thread *thread; machine__for_each_thread() local 2956 machines__for_each_thread(struct machines *machines, int (*fn)(struct thread *thread, void *p), void *priv) machines__for_each_thread() argument 2990 struct thread *thread; machine__set_current_tid() local [all...] |
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H A D | signal.c | 37 buf[i] = task->thread.TS_FPR(i); in copy_fpr_to_user() 38 buf[i] = task->thread.fp_state.fpscr; in copy_fpr_to_user() 51 task->thread.TS_FPR(i) = buf[i]; in copy_fpr_from_user() 52 task->thread.fp_state.fpscr = buf[i]; in copy_fpr_from_user() 65 buf[i] = task->thread.fp_state.fpr[i][TS_VSRLOWOFFSET]; in copy_vsx_to_user() 78 task->thread.fp_state.fpr[i][TS_VSRLOWOFFSET] = buf[i]; in copy_vsx_from_user() 91 buf[i] = task->thread.TS_CKFPR(i); in copy_ckfpr_to_user() 92 buf[i] = task->thread.ckfp_state.fpscr; in copy_ckfpr_to_user() 105 task->thread.TS_CKFPR(i) = buf[i]; in copy_ckfpr_from_user() 106 task->thread in copy_ckfpr_from_user() [all...] |
/third_party/skia/platform_tools/android/apps/skottie/ |
H A D | skottie_metric.sql | 21 thread.upid as process_upid 24 INNER JOIN thread ON (thread.utid = thread_track.utid) 38 INNER JOIN thread ON (thread.utid = thread_track.utid) 39 INNER JOIN test_start_ts ON (test_start_ts.process_upid = thread.upid) 52 INNER JOIN thread ON (thread.utid = thread_track.utid) 64 thread.upid as process_upid 67 INNER JOIN thread O [all...] |
/kernel/linux/linux-5.10/arch/s390/kernel/ |
H A D | process.c | 79 dst->thread.fpu.regs = dst->thread.fpu.fprs; in arch_dup_task_struct() 86 * refers to the source thread. in arch_dup_task_struct() 88 dst->thread.ri_cb = NULL; in arch_dup_task_struct() 89 dst->thread.gs_cb = NULL; in arch_dup_task_struct() 90 dst->thread.gs_bc_cb = NULL; in arch_dup_task_struct() 105 p->thread.ksp = (unsigned long) frame; in copy_thread() 106 /* Save access registers to new thread structure. */ in copy_thread() 107 save_access_regs(&p->thread.acrs[0]); in copy_thread() 109 p->thread in copy_thread() [all...] |
H A D | guarded_storage.c | 17 kfree(tsk->thread.gs_cb); in guarded_storage_release() 18 kfree(tsk->thread.gs_bc_cb); in guarded_storage_release() 25 if (!current->thread.gs_cb) { in gs_enable() 33 current->thread.gs_cb = gs_cb; in gs_enable() 41 if (current->thread.gs_cb) { in gs_disable() 43 kfree(current->thread.gs_cb); in gs_disable() 44 current->thread.gs_cb = NULL; in gs_disable() 55 gs_cb = current->thread.gs_bc_cb; in gs_set_bc_cb() 60 current->thread.gs_bc_cb = gs_cb; in gs_set_bc_cb() 71 gs_cb = current->thread in gs_clear_bc_cb() [all...] |
/third_party/pulseaudio/src/pulse/ |
H A D | thread-mainloop.c | 37 #include <pulsecore/thread.h> 42 #include "thread-mainloop.h" 49 pa_thread* thread; member 57 return pa_thread_self() == m->thread; in in_worker() 67 * avahi_simple_poll_quit() can succeed from another thread. */ in poll_func() 76 static void thread(void *userdata) { in thread() function 85 // Once thread OS_RendererML and OS_AudioML is created, it will not exit. in thread() 90 // Handle unexpected thread termination: kill the process to ensure continued service in user ver. in thread() 122 /* Make sure that this function is not called from the helper thread */ in pa_threaded_mainloop_free() 123 pa_assert((m->thread in pa_threaded_mainloop_free() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
H A D | thread.h | 1 //===-- llvm/Support/thread.h - Wrapper for <thread> ------------*- C++ -*-===// 9 // This header is a wrapper for <thread> that works around problems with the 10 // MSVC headers when exceptions are disabled. It also provides llvm::thread, 11 // which is either a typedef of std::thread or a replacement that calls the 23 #include <thread> 26 typedef std::thread thread; typedef 35 struct thread { 36 thread() {} [all...] |
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
H A D | exmutex.c | 21 struct acpi_thread_state *thread); 37 struct acpi_thread_state *thread = obj_desc->mutex.owner_thread; in acpi_ex_unlink_mutex() local 39 if (!thread) { in acpi_ex_unlink_mutex() 61 thread->acquired_mutex_list = obj_desc->mutex.next; in acpi_ex_unlink_mutex() 70 * thread - Current executing thread object 80 struct acpi_thread_state *thread) in acpi_ex_link_mutex() 84 list_head = thread->acquired_mutex_list; in acpi_ex_link_mutex() 99 thread->acquired_mutex_list = obj_desc; in acpi_ex_link_mutex() 108 * thread_id - Current thread stat 79 acpi_ex_link_mutex(union acpi_operand_object *obj_desc, struct acpi_thread_state *thread) acpi_ex_link_mutex() argument 461 acpi_ex_release_all_mutexes(struct acpi_thread_state *thread) acpi_ex_release_all_mutexes() argument [all...] |
/kernel/linux/linux-6.6/drivers/acpi/acpica/ |
H A D | exmutex.c | 21 struct acpi_thread_state *thread); 37 struct acpi_thread_state *thread = obj_desc->mutex.owner_thread; in acpi_ex_unlink_mutex() local 39 if (!thread) { in acpi_ex_unlink_mutex() 61 thread->acquired_mutex_list = obj_desc->mutex.next; in acpi_ex_unlink_mutex() 70 * thread - Current executing thread object 80 struct acpi_thread_state *thread) in acpi_ex_link_mutex() 84 list_head = thread->acquired_mutex_list; in acpi_ex_link_mutex() 99 thread->acquired_mutex_list = obj_desc; in acpi_ex_link_mutex() 108 * thread_id - Current thread stat 79 acpi_ex_link_mutex(union acpi_operand_object *obj_desc, struct acpi_thread_state *thread) acpi_ex_link_mutex() argument 461 acpi_ex_release_all_mutexes(struct acpi_thread_state *thread) acpi_ex_release_all_mutexes() argument [all...] |
/kernel/linux/linux-6.6/arch/s390/kernel/ |
H A D | process.c | 56 /* Kernel thread */ in __ret_from_fork() 93 dst->thread.fpu.regs = dst->thread.fpu.fprs; in arch_dup_task_struct() 100 * refers to the source thread. in arch_dup_task_struct() 102 dst->thread.ri_cb = NULL; in arch_dup_task_struct() 103 dst->thread.gs_cb = NULL; in arch_dup_task_struct() 104 dst->thread.gs_bc_cb = NULL; in arch_dup_task_struct() 121 p->thread.ksp = (unsigned long) frame; in copy_thread() 122 /* Save access registers to new thread structure. */ in copy_thread() 123 save_access_regs(&p->thread in copy_thread() [all...] |
H A D | guarded_storage.c | 17 kfree(tsk->thread.gs_cb); in guarded_storage_release() 18 kfree(tsk->thread.gs_bc_cb); in guarded_storage_release() 25 if (!current->thread.gs_cb) { in gs_enable() 33 current->thread.gs_cb = gs_cb; in gs_enable() 41 if (current->thread.gs_cb) { in gs_disable() 43 kfree(current->thread.gs_cb); in gs_disable() 44 current->thread.gs_cb = NULL; in gs_disable() 55 gs_cb = current->thread.gs_bc_cb; in gs_set_bc_cb() 60 current->thread.gs_bc_cb = gs_cb; in gs_set_bc_cb() 71 gs_cb = current->thread in gs_clear_bc_cb() [all...] |
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
H A D | sigutil_32.c | 21 fpsave(¤t->thread.float_regs[0], ¤t->thread.fsr, in save_fpu_state() 22 ¤t->thread.fpqueue[0], ¤t->thread.fpqdepth); in save_fpu_state() 29 fpsave(¤t->thread.float_regs[0], ¤t->thread.fsr, in save_fpu_state() 30 ¤t->thread.fpqueue[0], ¤t->thread.fpqdepth); in save_fpu_state() 36 ¤t->thread.float_regs[0], in save_fpu_state() 38 err |= __put_user(current->thread in save_fpu_state() [all...] |
/kernel/linux/linux-6.6/arch/sparc/kernel/ |
H A D | sigutil_32.c | 21 fpsave(¤t->thread.float_regs[0], ¤t->thread.fsr, in save_fpu_state() 22 ¤t->thread.fpqueue[0], ¤t->thread.fpqdepth); in save_fpu_state() 29 fpsave(¤t->thread.float_regs[0], ¤t->thread.fsr, in save_fpu_state() 30 ¤t->thread.fpqueue[0], ¤t->thread.fpqdepth); in save_fpu_state() 36 ¤t->thread.float_regs[0], in save_fpu_state() 38 err |= __put_user(current->thread in save_fpu_state() [all...] |
/kernel/linux/linux-5.10/arch/sh/kernel/cpu/sh4/ |
H A D | fpu.c | 84 :"0"((char *)(&tsk->thread.xstate->hardfpu.status)), in save_fpu() 134 :"0" (tsk->thread.xstate), "r" (FPSCR_RCHG) in restore_fpu() 230 if ((tsk->thread.xstate->hardfpu.fpscr & FPSCR_CAUSE_ERROR)) in ieee_fpe_handler() 232 denormal_to_double(&tsk->thread.xstate->hardfpu, in ieee_fpe_handler() 248 hx = tsk->thread.xstate->hardfpu.fp_regs[n]; in ieee_fpe_handler() 249 hy = tsk->thread.xstate->hardfpu.fp_regs[m]; in ieee_fpe_handler() 250 fpscr = tsk->thread.xstate->hardfpu.fpscr; in ieee_fpe_handler() 260 | tsk->thread.xstate->hardfpu.fp_regs[n + 1]; in ieee_fpe_handler() 262 | tsk->thread.xstate->hardfpu.fp_regs[m + 1]; in ieee_fpe_handler() 264 tsk->thread in ieee_fpe_handler() [all...] |
/kernel/linux/linux-6.6/arch/sh/kernel/cpu/sh4/ |
H A D | fpu.c | 84 :"0"((char *)(&tsk->thread.xstate->hardfpu.status)), in save_fpu() 134 :"0" (tsk->thread.xstate), "r" (FPSCR_RCHG) in restore_fpu() 230 if ((tsk->thread.xstate->hardfpu.fpscr & FPSCR_CAUSE_ERROR)) in ieee_fpe_handler() 232 denormal_to_double(&tsk->thread.xstate->hardfpu, in ieee_fpe_handler() 248 hx = tsk->thread.xstate->hardfpu.fp_regs[n]; in ieee_fpe_handler() 249 hy = tsk->thread.xstate->hardfpu.fp_regs[m]; in ieee_fpe_handler() 250 fpscr = tsk->thread.xstate->hardfpu.fpscr; in ieee_fpe_handler() 260 | tsk->thread.xstate->hardfpu.fp_regs[n + 1]; in ieee_fpe_handler() 262 | tsk->thread.xstate->hardfpu.fp_regs[m + 1]; in ieee_fpe_handler() 264 tsk->thread in ieee_fpe_handler() [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | pthread.c | 33 #include "thread.h" 37 AVSliceThread *thread; member 56 avpriv_slicethread_free(&c->thread); in slice_thread_uninit() 62 ThreadContext *c = ctx->graph->internal->thread; in thread_execute() 71 avpriv_slicethread_execute(c->thread, nb_jobs, 0); in thread_execute() 77 nb_threads = avpriv_slicethread_create(&c->thread, c, worker_func, NULL, nb_threads); in thread_init_internal() 79 avpriv_slicethread_free(&c->thread); in thread_init_internal() 92 graph->internal->thread = av_mallocz(sizeof(ThreadContext)); in ff_graph_thread_init() 93 if (!graph->internal->thread) in ff_graph_thread_init() 96 ret = thread_init_internal(graph->internal->thread, grap in ff_graph_thread_init() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
H A D | thread.h | 1 //===-- llvm/Support/thread.h - Wrapper for <thread> ------------*- C++ -*-===// 10 // This header is a wrapper for <thread> that works around problems with the 11 // MSVC headers when exceptions are disabled. It also provides llvm::thread, 12 // which is either a typedef of std::thread or a replacement that calls the 34 #include <thread> 41 typedef std::thread thread; typedef 50 struct thread { 51 thread() {} [all...] |
/kernel/linux/linux-6.6/arch/powerpc/kernel/ |
H A D | signal_64.c | 91 if (tsk->thread.used_vr) in prepare_setup_sigcontext() 94 tsk->thread.vrsave = mfspr(SPRN_VRSAVE); in prepare_setup_sigcontext() 100 if (tsk->thread.used_vsr) in prepare_setup_sigcontext() 129 struct pt_regs *regs = tsk->thread.regs; in __unsafe_setup_sigcontext() 140 if (tsk->thread.used_vr) { in __unsafe_setup_sigcontext() 142 unsafe_copy_to_user(v_regs, &tsk->thread.vr_state, in __unsafe_setup_sigcontext() 152 unsafe_put_user(tsk->thread.vrsave, (u32 __user *)&v_regs[33], efault_out); in __unsafe_setup_sigcontext() 170 if (tsk->thread.used_vsr && ctx_has_vsx_region) { in __unsafe_setup_sigcontext() 224 struct pt_regs *regs = tsk->thread.regs; in setup_tm_sigcontexts() 237 msr |= tsk->thread in setup_tm_sigcontexts() [all...] |
/kernel/linux/linux-6.6/arch/s390/mm/ |
H A D | pfault.c | 144 if (tsk->thread.pfault_wait == 1) { in pfault_interrupt() 152 tsk->thread.pfault_wait = 0; in pfault_interrupt() 153 list_del(&tsk->thread.list); in pfault_interrupt() 167 tsk->thread.pfault_wait = -1; in pfault_interrupt() 173 if (tsk->thread.pfault_wait == 1) { in pfault_interrupt() 176 } else if (tsk->thread.pfault_wait == -1) { in pfault_interrupt() 182 tsk->thread.pfault_wait = 0; in pfault_interrupt() 192 tsk->thread.pfault_wait = 1; in pfault_interrupt() 193 list_add(&tsk->thread.list, &pfault_list); in pfault_interrupt() 212 struct thread_struct *thread, *nex in pfault_cpu_dead() local [all...] |
/kernel/linux/linux-5.10/tools/lib/perf/ |
H A D | evsel.c | 47 int cpu, thread; in perf_evsel__alloc_fd() local 49 for (thread = 0; thread < nthreads; thread++) { in perf_evsel__alloc_fd() 50 FD(evsel, cpu, thread) = -1; in perf_evsel__alloc_fd() 69 int cpu, thread, err = 0; in perf_evsel__open() local 100 for (thread = 0; thread < threads->nr; thread++) { in perf_evsel__open() 104 threads->map[thread] in perf_evsel__open() 119 int thread; perf_evsel__close_fd_cpu() local 184 perf_evsel__read(struct perf_evsel *evsel, int cpu, int thread, struct perf_counts_values *count) perf_evsel__read() argument 204 int thread; perf_evsel__run_ioctl() local [all...] |