/kernel/linux/linux-6.6/arch/mips/kernel/ |
H A D | stacktrace.c | 86 regs->regs[29] = tsk->thread.reg29; in save_stack_trace_tsk() 88 regs->cp0_epc = tsk->thread.reg31; in save_stack_trace_tsk()
|
/kernel/linux/linux-6.6/arch/microblaze/include/asm/ |
H A D | mmu_context_mm.h | 117 tsk->thread.pgdir = next->pgd; in switch_mm() 130 current->thread.pgdir = mm->pgd; in activate_mm()
|
/kernel/linux/linux-6.6/arch/arm/nwfpe/ |
H A D | fpmodule.c | 50 struct thread_info *thread = v; in nwfpe_notify() local 53 nwfpe_init_fpa(&thread->fpstate); in nwfpe_notify()
|
/kernel/linux/linux-5.10/tools/testing/selftests/cgroup/ |
H A D | cgroup_util.h | 51 extern ssize_t proc_read_text(int pid, bool thread, const char *item, char *buf, size_t size); 52 extern int proc_read_strstr(int pid, bool thread, const char *item, const char *needle);
|
/kernel/linux/linux-5.10/tools/perf/arch/x86/util/ |
H A D | unwind-libdw.c | 7 bool libdw__arch_set_initial_registers(Dwfl_Thread *thread, void *arg) in libdw__arch_set_initial_registers() argument 52 return dwfl_thread_state_registers(thread, 0, nregs, dwarf_regs); in libdw__arch_set_initial_registers()
|
/kernel/linux/linux-6.6/arch/x86/include/asm/ |
H A D | stacktrace.h | 79 return &((struct inactive_task_frame *)task->thread.sp)->bp; in get_frame_pointer() 98 return (unsigned long *)task->thread.sp; in get_stack_pointer()
|
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | cet.c | 63 tsk->thread.error_code = error_code; in do_user_cp_fault() 64 tsk->thread.trap_nr = X86_TRAP_CP; in do_user_cp_fault()
|
/kernel/linux/linux-6.6/tools/perf/arch/x86/util/ |
H A D | unwind-libdw.c | 8 bool libdw__arch_set_initial_registers(Dwfl_Thread *thread, void *arg) in libdw__arch_set_initial_registers() argument 53 return dwfl_thread_state_registers(thread, 0, nregs, dwarf_regs); in libdw__arch_set_initial_registers()
|
/kernel/linux/linux-6.6/tools/perf/tests/shell/lib/ |
H A D | stat_output.sh | 76 echo -n "Checking $1 output: per thread " 82 perf stat --per-thread -a $2 true 83 commachecker --per-thread
|
/kernel/linux/linux-6.6/tools/testing/selftests/cgroup/ |
H A D | cgroup_util.h | 58 extern ssize_t proc_read_text(int pid, bool thread, const char *item, char *buf, size_t size); 59 extern int proc_read_strstr(int pid, bool thread, const char *item, const char *needle);
|
/kernel/liteos_m/testsuites/sample/posix/mutex/ |
H A D | It_posix_mutex.c | 33 UINT32 PosixPthreadDestroy(pthread_attr_t *attr, pthread_t thread) in PosixPthreadDestroy() argument 37 uwRet = pthread_join(thread, NULL); in PosixPthreadDestroy()
|
/kernel/liteos_a/testsuites/unittest/process/lock/mutex/smoke/ |
H A D | pthread_mutex_test_002.cpp | 44 pthread_t thread = pthread_self(); in ThreadFuncTest3() local 46 ret = pthread_detach(thread); in ThreadFuncTest3()
|
H A D | pthread_mutex_test_017.cpp | 41 pthread_t thread = pthread_self(); in ThreadFuncTest3() local 43 ret = pthread_detach(thread); in ThreadFuncTest3()
|
/third_party/elfutils/tests/ |
H A D | dwfl-proc-attach.c | 64 thread_callback (Dwfl_Thread *thread, void *thread_arg) in thread_callback() argument 67 pid_t tid = dwfl_thread_tid (thread); in thread_callback() 68 printf ("thread tid: %d\n", tid); in thread_callback()
|
/third_party/benchmark/src/ |
H A D | benchmark_runner.h | 18 #include <thread> 99 std::vector<std::thread> pool;
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | simplethread.cpp | 12 #include <thread> 25 fThread = std::thread(&SimpleThread::run, this); in start()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setschedparam/ |
H A D | 1-4.c | 9 * shall create a thread with the pthread_attr settings passed to it 13 * 2. Create a thread using this attr 14 * 3. In the thread, check these settings. 31 /* the thread uses this to indicate to main or success */ 33 /* the thread uses this to indicate to main or success */ 37 static void *thread(void *tmp PTS_ATTRIBUTE_UNUSED) in thread() function 88 /* Create the thread with the attr */ in main() 89 rc = pthread_create(&thread_id, &attr, thread, NULL); in main() 95 /* Wait for that thread to finish */ in main()
|
H A D | 1-3.c | 9 * shall create a thread with the pthread_attr settings passed to it 13 * 2. Create a thread using this attr 14 * 3. In the thread, check these settings. 31 /* the thread uses this to indicate to main or success */ 33 /* the thread uses this to indicate to main or success */ 37 static void *thread(void *tmp PTS_ATTRIBUTE_UNUSED) in thread() function 85 /* Create the thread with the attr */ in main() 86 rc = pthread_create(&thread_id, &attr, thread, NULL); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_setschedparam/ |
H A D | 1-2.c | 19 * The function sets the scheduling policy and parameter of the specified thread. 22 * -> Create a new thread 23 * -> create another thread which changes the scheduling policy of the 1st thread 25 * The test fails if the 1st thread policy is not changed. 76 /* This function checks the thread policy & priority */ 77 static void check_param(pthread_t thread, int policy, int priority) in check_param() argument 91 /* Get the thread's parameters */ in check_param() 92 ret = pthread_getschedparam(thread, &t_pol, &t_parm); in check_param() 95 UNRESOLVED(ret, "Failed to get thread' in check_param() [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/thread/ |
H A D | pthread_rwlock_rdlock_sup.c | 51 pthread_t thread; in pthread_rwlock_rdlock_0100() local 65 pthread_t thread; in pthread_rwlock_rdlock_0200() local
|
/third_party/rust/crates/env_logger/tests/ |
H A D | log_tls_dtors.rs | 8 use std::thread; 19 // Use multiple thread local values to increase the chance that our TLS in run() 48 // Run on a separate thread because TLS values on the main thread in main() 50 // https://doc.rust-lang.org/std/thread/struct.LocalKey.html#platform-specific-behavior in main() 51 thread::spawn(run).join().unwrap(); in main()
|
/third_party/python/Python/ |
H A D | thread_pthread_stubs.h | 83 pthread_create(pthread_t *restrict thread, in pthread_create() argument 92 pthread_detach(pthread_t thread) in pthread_detach() argument
|
/third_party/python/Include/internal/ |
H A D | pycore_pystate.h | 14 /* Check if the current thread is the main thread. 19 unsigned long thread = PyThread_get_thread_ident(); in _Py_IsMainThread() local 20 return (thread == _PyRuntime.main_thread); in _Py_IsMainThread() 48 /* Only handle signals on the main thread of the main interpreter. */ 56 /* Only execute pending calls on the main thread. */ 64 /* Variable and macro for in-line access to current thread 73 /* Get the current Python thread state.
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
H A D | VkQueue.hpp | 22 #include <thread> 102 std::thread queueThread;
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
H A D | IceBrowserCompileServer.h | 24 #include <thread> 56 /// Creates the streams + context and starts the compile thread, handing off 67 /// Wait for the compile thread to complete then reset the state. 105 std::thread CompileThread;
|