/kernel/linux/linux-6.6/tools/testing/selftests/x86/ |
H A D | fsgsbase.c | 241 printf("\tother thread: ARCH_SET_GS(0x%lx)%s -- sel is 0x%hx\n", in do_remote_base() 251 * that GSBASE == 0 (i.e. thread.gsbase == 0). in load_gs() 348 * thread.gsbase == 0. in threadproc() 354 errx(1, "helper thread got bad command"); in threadproc() 433 printf("[RUN]\tARCH_SET_GS(0), clear gs, then manipulate GSBASE in a different thread\n"); in test_unexpected_base() 597 pthread_t thread; in main() local 639 if (pthread_create(&thread, 0, threadproc, 0) != 0) in main() 677 ftx = 3; /* Kill the thread. */ in main() 680 if (pthread_join(thread, NULL) != 0) in main()
|
/third_party/musl/Benchmark/musl/ |
H A D | socket_test.cpp | 396 pthread_t thread; in StartServer() local 398 pthread_create(&thread, nullptr, ThreadTaskClient, nullptr); in StartServer() 399 pthread_join(thread, &res); in StartServer()
|
/third_party/python/Lib/multiprocessing/ |
H A D | queues.py | 32 # Queue type using a pipe, buffer and thread 164 # Start thread which transfers data from buffer to pipe 187 # Send sentinel to the thread queue object when garbage collected 196 debug('joining queue thread') 197 thread = twr() 198 if thread is not None: 199 thread.join() 200 debug('... queue thread joined') 202 debug('... queue thread already dead') 206 debug('telling queue thread t [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
H A D | RendererGL.cpp | 376 std::thread::id threadID = std::this_thread::get_id(); in bindWorkerContext() 406 std::thread::id threadID = std::this_thread::get_id(); in unbindWorkerContext() 419 return std::min(16u, std::thread::hardware_concurrency()); in getMaxWorkerContexts()
|
/third_party/python/Lib/test/ |
H A D | test_winreg.py | 266 thread = VeryActiveThread() 267 thread.start() 278 thread.join()
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/ |
H A D | scheduler.h | 25 #include "thread.h" 32 #include <thread> 40 // Once bound to a thread, that thread can call marl::schedule() to enqueue 57 // Per-worker-thread settings. 62 // Initializer function to call after thread creation and before any work 63 // is run by the thread. 79 // allCores() returns a Config with a worker thread for each of the logical 103 // get() returns the scheduler bound to the current thread. 107 // bind() binds this scheduler to the current thread 472 Thread thread; global() member in marl::Scheduler::Worker [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
H A D | IceGlobalContext.h | 37 #include <thread> 59 /// block, to a translator thread. 150 /// ThreadContext contains thread-local data. This data can be 173 /// thread at a time. This is done by exclusively reserving the 177 /// The model is that a thread grabs the stream lock, then does an 179 /// the stream and do something with it, and finally the thread 315 /// thread-local copies of timer data have been merged into the global timer 322 /// The following methods affect only the calling thread's TLS timer data. 331 /// correspondingly the first sequence number that the emitter thread will 380 /// Translation thread startu [all...] |
/kernel/linux/linux-6.6/arch/powerpc/kvm/ |
H A D | book3s_pr.c | 145 if (cpu_has_feature(CPU_FTR_ARCH_300) && (current->thread.fscr & FSCR_SCV)) in kvmppc_core_vcpu_load_pr() 152 current->thread.kvm_shadow_vcpu = vcpu->arch.shadow_vcpu; in kvmppc_core_vcpu_load_pr() 176 if (cpu_has_feature(CPU_FTR_ARCH_300) && (current->thread.fscr & FSCR_SCV)) in kvmppc_core_vcpu_put_pr() 806 struct thread_struct *t = ¤t->thread; in kvmppc_giveup_ext() 827 * registers into thread.fp_state.fpr[]. in kvmppc_giveup_ext() 836 if (current->thread.regs->msr & MSR_VEC) in kvmppc_giveup_ext() 858 mtspr(SPRN_TAR, current->thread.tar); in kvmppc_giveup_fac() 869 struct thread_struct *t = ¤t->thread; in kvmppc_handle_ext() 941 lost_ext = vcpu->arch.guest_owned_ext & ~current->thread.regs->msr; in kvmppc_handle_lost_ext() 961 current->thread in kvmppc_handle_lost_ext() [all...] |
/third_party/rust/crates/libc/src/unix/haiku/ |
H A D | native.rs | 261 pub thread: thread_id, 958 pub fn kill_thread(thread: thread_id) -> status_t; in kill_thread() 959 pub fn resume_thread(thread: thread_id) -> status_t; in resume_thread() 960 pub fn suspend_thread(thread: thread_id) -> status_t; in suspend_thread() 962 pub fn rename_thread(thread: thread_id, newName: *const ::c_char) -> status_t; in rename_thread() 963 pub fn set_thread_priority(thread: thread_id, newPriority: i32) -> status_t; in set_thread_priority() 972 pub fn wait_for_thread(thread: thread_id, returnValue: *mut status_t) -> status_t; in wait_for_thread() 981 thread: thread_id, in send_data() 988 pub fn has_data(thread: thread_id) -> bool; in has_data() 1002 pub fn get_pthread_thread_id(thread [all...] |
/kernel/linux/linux-5.10/arch/s390/kvm/ |
H A D | kvm-s390.c | 3022 /* set the cpu timer - may only be called from the VCPU thread itself */ 3999 hva = gfn_to_hva(vcpu->kvm, gpa_to_gfn(current->thread.gmap_addr)); in kvm_arch_setup_async_pf() 4000 hva += current->thread.gmap_addr & ~PAGE_MASK; in kvm_arch_setup_async_pf() 4004 return kvm_setup_async_pf(vcpu, current->thread.gmap_addr, hva, &arch); in kvm_arch_setup_async_pf() 4125 current->thread.gmap_addr; in vcpu_post_run() 4128 } else if (current->thread.gmap_pfault) { in vcpu_post_run() 4130 current->thread.gmap_pfault = 0; in vcpu_post_run() 4133 return kvm_arch_fault_in_page(vcpu, current->thread.gmap_addr, 1); in vcpu_post_run() 4257 if (current->thread.gs_cb) { in sync_regs_fmt2() 4258 vcpu->arch.host_gscb = current->thread in sync_regs_fmt2() [all...] |
/kernel/linux/linux-6.6/arch/s390/kvm/ |
H A D | kvm-s390.c | 3679 /* set the cpu timer - may only be called from the VCPU thread itself */ 4662 hva = gfn_to_hva(vcpu->kvm, gpa_to_gfn(current->thread.gmap_addr)); in kvm_arch_setup_async_pf() 4663 hva += current->thread.gmap_addr & ~PAGE_MASK; in kvm_arch_setup_async_pf() 4667 return kvm_setup_async_pf(vcpu, current->thread.gmap_addr, hva, &arch); in kvm_arch_setup_async_pf() 4788 current->thread.gmap_addr; in vcpu_post_run() 4791 } else if (current->thread.gmap_pfault) { in vcpu_post_run() 4793 current->thread.gmap_pfault = 0; in vcpu_post_run() 4797 return kvm_arch_fault_in_page(vcpu, current->thread.gmap_addr, 1); in vcpu_post_run() 4924 if (current->thread.gs_cb) { in sync_regs_fmt2() 4925 vcpu->arch.host_gscb = current->thread in sync_regs_fmt2() [all...] |
/kernel/linux/linux-5.10/arch/arm64/kvm/ |
H A D | fpsimd.c | 31 struct user_fpsimd_state *fpsimd = ¤t->thread.uw.fpsimd_state; in kvm_arch_vcpu_run_map_fp() 34 * Make sure the host task thread flags and fpsimd state are in kvm_arch_vcpu_run_map_fp()
|
/kernel/linux/linux-5.10/arch/h8300/kernel/ |
H A D | asm-offsets.c | 28 OFFSET(TASK_THREAD, task_struct, thread); in main() 37 /* offsets into the thread struct */ in main()
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
H A D | sys_compat.c | 92 current->thread.uw.tp_value = regs->regs[0]; in compat_arm_syscall()
|
/kernel/linux/linux-5.10/arch/nds32/include/asm/ |
H A D | processor.h | 75 /* Free all resources held by a thread. */ 76 #define release_thread(thread) do { } while(0) 83 /* Prepare to copy thread state - unlazy all lazy status */ 95 * Create a new kernel thread
|
/kernel/linux/linux-5.10/arch/sh/include/asm/ |
H A D | processor_32.h | 92 /* Saved registers when thread is descheduled */ 96 /* Various thread flags, see SH_THREAD_xxx */ 131 /* Free all resources held by a thread. */ 169 * Return saved PC of a blocked thread. 171 #define thread_saved_pc(tsk) (tsk->thread.pc)
|
/kernel/linux/linux-5.10/arch/mips/netlogic/xlp/ |
H A D | cop2-ex.c | 106 nlm_cop2_restore(&(current->thread.cp2)); in nlm_cu2_call()
|
/kernel/linux/linux-5.10/arch/um/kernel/ |
H A D | stacktrace.c | 22 struct pt_regs *segv_regs = tsk->thread.segv_regs; in dump_trace()
|
/kernel/linux/linux-6.6/arch/arm64/kernel/ |
H A D | sys_compat.c | 91 current->thread.uw.tp_value = regs->regs[0]; in compat_arm_syscall()
|
/kernel/linux/linux-6.6/arch/sh/include/asm/ |
H A D | processor_32.h | 92 /* Saved registers when thread is descheduled */ 96 /* Various thread flags, see SH_THREAD_xxx */ 166 * Return saved PC of a blocked thread. 168 #define thread_saved_pc(tsk) (tsk->thread.pc)
|
/kernel/linux/linux-6.6/arch/um/kernel/ |
H A D | stacktrace.c | 22 struct pt_regs *segv_regs = tsk->thread.segv_regs; in dump_trace()
|
/kernel/linux/linux-5.10/sound/soc/intel/common/ |
H A D | sst-dsp.h | 25 irqreturn_t (*thread)(int irq, void *context); member
|
/kernel/linux/linux-5.10/include/soc/nps/ |
H A D | common.h | 77 u32 __reserved:20, cluster:4, core:4, thread:4; member
|
/kernel/linux/linux-5.10/kernel/sched/rtg/ |
H A D | frame_rtg.h | 66 int thread[MAX_TID_NUM]; member
|
/kernel/linux/linux-6.6/drivers/accessibility/speakup/ |
H A D | Makefile | 30 thread.o \
|