/kernel/linux/linux-6.6/arch/x86/um/ |
H A D | signal.c | 242 struct faultinfo * fi = ¤t->thread.arch.faultinfo; in copy_sc_to_user() 334 err |= copy_sc_to_user(&uc->uc_mcontext, fp, ¤t->thread.regs, 0); in copy_ucontext_to_user() 455 unsigned long sp = PT_REGS_SP(¤t->thread.regs); in sys_sigreturn() 467 if (copy_sc_from_user(¤t->thread.regs, sc)) in sys_sigreturn() 471 PT_REGS_SYSCALL_NR(¤t->thread.regs) = -1; in sys_sigreturn() 472 return PT_REGS_SYSCALL_RET(¤t->thread.regs); in sys_sigreturn() 562 unsigned long sp = PT_REGS_SP(¤t->thread.regs); in sys_rt_sigreturn() 573 if (copy_sc_from_user(¤t->thread.regs, &uc->uc_mcontext)) in sys_rt_sigreturn() 577 PT_REGS_SYSCALL_NR(¤t->thread.regs) = -1; in sys_rt_sigreturn() 578 return PT_REGS_SYSCALL_RET(¤t->thread in sys_rt_sigreturn() [all...] |
/third_party/backends/backend/ |
H A D | kvs40xx.c | 561 if (s->thread) in sane_start() 563 pthread_join (s->thread, NULL); in sane_start() 564 s->thread = 0; in sane_start() 639 if (pthread_create (&s->thread, NULL, read_data, s)) in sane_start() 647 pthread_join (s->thread, NULL); in sane_start() 648 s->thread = 0; in sane_start() 722 if (s->thread) in sane_cancel() 724 pthread_cancel (s->thread); in sane_cancel() 725 pthread_join (s->thread, NULL); in sane_cancel() 726 s->thread in sane_cancel() [all...] |
/kernel/linux/linux-5.10/arch/ia64/kernel/ |
H A D | process.c | 255 if ((task->thread.flags & IA64_THREAD_DBG_VALID) != 0) in ia64_save_extra() 256 ia64_save_debug_regs(&task->thread.dbr[0]); in ia64_save_extra() 262 if ((task->thread.flags & IA64_THREAD_DBG_VALID) != 0) in ia64_load_extra() 263 ia64_load_debug_regs(&task->thread.dbr[0]); in ia64_load_extra() 267 * Copy the state of an ia-64 thread. 315 p->thread.ksp = (unsigned long) child_stack - 16; in copy_thread() 336 p->thread.flags = ((current->thread.flags & ~THREAD_FLAGS_TO_CLEAR) in copy_thread() 504 * Flush thread state. This is called when a thread doe [all...] |
/kernel/linux/linux-5.10/arch/xtensa/kernel/ |
H A D | ptrace.c | 375 if (current->thread.ptrace_bp[i] == bp) in ptrace_hbptriggered() 380 if (current->thread.ptrace_wp[i] == bp) in ptrace_hbptriggered() 429 bp = child->thread.ptrace_wp[idx]; in ptrace_gethbpregs() 431 bp = child->thread.ptrace_bp[idx]; in ptrace_gethbpregs() 468 bp = child->thread.ptrace_wp[idx]; in ptrace_sethbpregs() 474 bp = child->thread.ptrace_bp[idx]; in ptrace_sethbpregs() 484 child->thread.ptrace_wp[idx] = bp; in ptrace_sethbpregs() 486 child->thread.ptrace_bp[idx] = bp; in ptrace_sethbpregs()
|
/kernel/linux/linux-6.6/arch/ia64/kernel/ |
H A D | process.c | 257 if ((task->thread.flags & IA64_THREAD_DBG_VALID) != 0) in ia64_save_extra() 258 ia64_save_debug_regs(&task->thread.dbr[0]); in ia64_save_extra() 264 if ((task->thread.flags & IA64_THREAD_DBG_VALID) != 0) in ia64_load_extra() 265 ia64_load_debug_regs(&task->thread.dbr[0]); in ia64_load_extra() 269 * Copy the state of an ia-64 thread. 320 p->thread.ksp = (unsigned long) child_stack - 16; in copy_thread() 341 p->thread.flags = ((current->thread.flags & ~THREAD_FLAGS_TO_CLEAR) in copy_thread() 509 * Flush thread state. This is called when a thread doe [all...] |
/kernel/linux/linux-6.6/arch/xtensa/kernel/ |
H A D | ptrace.c | 373 if (current->thread.ptrace_bp[i] == bp) in ptrace_hbptriggered() 378 if (current->thread.ptrace_wp[i] == bp) in ptrace_hbptriggered() 427 bp = child->thread.ptrace_wp[idx]; in ptrace_gethbpregs() 429 bp = child->thread.ptrace_bp[idx]; in ptrace_gethbpregs() 466 bp = child->thread.ptrace_wp[idx]; in ptrace_sethbpregs() 472 bp = child->thread.ptrace_bp[idx]; in ptrace_sethbpregs() 482 child->thread.ptrace_wp[idx] = bp; in ptrace_sethbpregs() 484 child->thread.ptrace_bp[idx] = bp; in ptrace_sethbpregs()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | intel-pt.c | 26 #include "thread.h" 27 #include "thread-stack.h" 62 struct thread *unknown_thread; 164 struct thread *thread; member 566 struct thread *thread; in intel_pt_walk_next_insn() local 583 thread = ptq->thread; in intel_pt_walk_next_insn() 584 if (!thread) { in intel_pt_walk_next_insn() 732 struct thread *thread; __intel_pt_pgd_ip() local 948 struct thread *thread = machine__findnew_thread(pt->machine, intel_pt_add_callchain() local 986 struct thread *thread = machine__findnew_thread(pt->machine, intel_pt_add_br_stack() local 2648 intel_pt_find_map(struct thread *thread, u8 cpumode, u64 addr, struct addr_location *al) intel_pt_find_map() argument 2666 struct thread *thread = pt->unknown_thread; intel_pt_text_poke() local [all...] |
/kernel/linux/linux-5.10/arch/arm/include/asm/ |
H A D | thread_notify.h | 29 static inline void thread_notify(unsigned long rc, struct thread_info *thread) in thread_notify() argument 32 atomic_notifier_call_chain(&thread_notify_head, rc, thread); in thread_notify() 38 * These are the reason codes for the thread notifier.
|
/kernel/linux/linux-6.6/arch/arm/include/asm/ |
H A D | thread_notify.h | 29 static inline void thread_notify(unsigned long rc, struct thread_info *thread) in thread_notify() argument 32 atomic_notifier_call_chain(&thread_notify_head, rc, thread); in thread_notify() 38 * These are the reason codes for the thread notifier.
|
/kernel/linux/linux-5.10/include/linux/iio/ |
H A D | triggered_buffer.h | 12 irqreturn_t (*thread)(int irq, void *p), 19 irqreturn_t (*thread)(int irq, void *p),
|
/third_party/musl/libc-test/src/functionalext/supplement/thread/thread_gtest/ |
H A D | thread_tls_get_addr_test.cpp | 2 #include <thread> 29 std::thread t(ThreadFunc); in HWTEST_F()
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | rtkit.h | 45 /* This is mostly equivalent to sched_setparam(thread, SCHED_RR, { 46 * .sched_priority = priority }). 'thread' needs to be a kernel thread 47 * id as returned by gettid(), not a pthread_t! If 'thread' is 0 the 48 * current thread is used. The returned value is a negative errno 50 int rtkit_make_realtime(DBusConnection *system_bus, pid_t thread, int priority); 52 /* This is mostly equivalent to setpriority(PRIO_PROCESS, thread, 53 * nice_level). 'thread' needs to be a kernel thread id as returned by 54 * gettid(), not a pthread_t! If 'thread' i [all...] |
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/ |
H A D | FullDuplexLatency.cpp | 17 #include <thread> 37 // Crunch the numbers on a separate thread. in onBothStreamsReady() 38 std::thread t(analyze_data, this); in onBothStreamsReady()
|
/kernel/linux/linux-5.10/drivers/dma/ |
H A D | pl330.c | 444 * Hardware channel thread of PL330 DMAC. NULL if the channel is 447 struct pl330_thread *thread; member 490 /* Pointer to the MANAGER thread */ 569 /* If manager of the thread is in Non-Secure mode */ 1000 /* Start doing req 'idx' of thread 'thrd' */ 1675 /* Check which event happened i.e, thread notified */ in pl330_update() 1801 /* If the event is valid and was held by the thread */ in _free_event() 2055 ret = pl330_submit_req(pch->thread, desc); in fill_queue() 2092 spin_lock(&pch->thread->dmac->lock); in pl330_tasklet() 2093 _stop(pch->thread); in pl330_tasklet() [all...] |
/kernel/linux/linux-6.6/drivers/dma/ |
H A D | pl330.c | 444 * Hardware channel thread of PL330 DMAC. NULL if the channel is 447 struct pl330_thread *thread; member 490 /* Pointer to the MANAGER thread */ 569 /* If manager of the thread is in Non-Secure mode */ 1000 /* Start doing req 'idx' of thread 'thrd' */ 1673 /* Check which event happened i.e, thread notified */ in pl330_update() 1799 /* If the event is valid and was held by the thread */ in _free_event() 2053 ret = pl330_submit_req(pch->thread, desc); in fill_queue() 2090 spin_lock(&pch->thread->dmac->lock); in pl330_tasklet() 2091 _stop(pch->thread); in pl330_tasklet() [all...] |
/kernel/linux/linux-6.6/arch/x86/kernel/fpu/ |
H A D | xstate.c | 737 fpstate_reset(¤t->thread.fpu); in fpu__init_disable_system_xstate() 847 fpstate_reset(¤t->thread.fpu); in fpu__init_system_xstate() 921 wrmsrl(MSR_IA32_XFD, current->thread.fpu.fpstate->xfd); in fpu__resume_cpu() 955 * xstate: the thread's storage area for all FPU data 1189 __copy_xstate_to_uabi_buf(to, tsk->thread.fpu.fpstate, in copy_xstate_to_uabi_buf() 1190 tsk->thread.fpu.fpstate->user_xfeatures, in copy_xstate_to_uabi_buf() 1191 tsk->thread.pkru, copy_mode); in copy_xstate_to_uabi_buf() 1315 * format and copy to the target thread. Used by ptrace and KVM. 1324 * XSAVE[S] format and copy to the target thread. This is called from the 1330 return copy_uabi_to_xstate(tsk->thread in copy_sigframe_from_user_to_xstate() 1570 struct task_struct *thread, *leader = current->group_leader; validate_sigaltstack() local [all...] |
/kernel/linux/linux-6.6/arch/loongarch/kernel/ |
H A D | traps.c | 120 regs.csr_era = task->thread.reg01; in show_stack() 122 regs.regs[3] = task->thread.reg03; in show_stack() 123 regs.regs[22] = task->thread.reg22; in show_stack() 381 current->thread.trap_nr, SIGSEGV); in die() 487 if (notify_die(DIE_FP, "FP exception", regs, 0, current->thread.trap_nr, in do_fpe() 594 current->thread.trap_nr = read_csr_excode(); in do_bce() 718 current->thread.trap_nr = read_csr_excode(); in do_bp() 720 current->thread.trap_nr, SIGTRAP) == NOTIFY_STOP) in do_bp() 782 if (pc == current->thread.single_step) { in do_watch() 817 current->thread in do_ri() [all...] |
/test/xts/hats/hdf/camera/cameraHdi/buffer_manager/ |
H A D | buffer_manager_utest.cpp | 64 std::thread consumerThread([&consumer, &running] { in HWTEST_F() 82 std::thread consumerThread([&consumer, &running] { in HWTEST_F() 107 std::thread enqueueThread([&stream, &running] { in HWTEST_F() 133 std::thread user1([&manager, &bufferPool1, &bufferPoolId] { bufferPool1 = manager->GetBufferPool(bufferPoolId); }); in HWTEST_F() 136 std::thread user2([&manager, &bufferPool2, &bufferPoolId] { bufferPool2 = manager->GetBufferPool(bufferPoolId); }); in HWTEST_F() 252 std::thread task([&bufferPool, &bufferVector] { in HWTEST_F() 291 std::thread dispatchBufferTask([&running, &idleList, &busyList, &bufferPool, &lock, &realFrameCount] { in HWTEST_F() 306 std::thread acquireBufferTask([&running, &bufferPool, &lock, &inuseBufferList] { in HWTEST_F() 315 std::thread returnBufferTask([&running, &lock, &inuseBufferList, &bufferPool, &busyList, &idleList] { in HWTEST_F() 360 std::thread enqueueThrea in HWTEST_F() [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/ |
H A D | EGLContextSharingTest.cpp | 547 std::thread deletingThread = std::thread([&]() { in TEST_P() 563 // Wait for the other thread to also draw using the shared texture. in TEST_P() 574 // Delete this thread's framebuffer (reader of the shared texture). in TEST_P() 577 // Wait for the other thread to use the shared texture again before unbinding the in TEST_P() 587 std::thread continuingThread = std::thread([&]() { in TEST_P() 593 // Wait for first thread to draw using the shared texture. in TEST_P() 611 // Wait for the other thread to delete its framebuffer. in TEST_P() 646 // Test that eglTerminate() with a thread does [all...] |
/kernel/linux/linux-5.10/arch/x86/um/asm/ |
H A D | processor.h | 20 (address + 65536 + 32 * sizeof(unsigned long) >= UPT_SP(¤t->thread.regs.regs)) 39 #define task_pt_regs(t) (&(t)->thread.regs)
|
/kernel/linux/linux-5.10/arch/csky/include/asm/ |
H A D | switch_to.h | 13 save_to_user_fp(&prev->thread.user_fp); in __switch_to_fpu() 14 restore_from_user_fp(&next->thread.user_fp); in __switch_to_fpu()
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ptrace/ |
H A D | ptrace-novsx.c | 29 return membuf_write(&to, &target->thread.fp_state, 33 * sizeof(u64)); in fpr_get() 55 &target->thread.fp_state, 0, -1); in fpr_set()
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
H A D | suspend_64.h | 57 #define loaddebug(thread,register) \ 58 set_debugreg((thread)->debugreg##register, register)
|
/kernel/linux/linux-5.10/arch/arm/kernel/ |
H A D | thumbee.c | 32 struct thread_info *thread = t; in thumbee_notifier() local 40 teehbr_write(thread->thumbee_state); in thumbee_notifier()
|
/kernel/linux/linux-6.6/arch/csky/include/asm/ |
H A D | switch_to.h | 12 save_to_user_fp(&prev->thread.user_fp); in __switch_to_fpu() 13 restore_from_user_fp(&next->thread.user_fp); in __switch_to_fpu()
|