/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/ |
H A D | vc4_gem.c | 369 submit_cl(struct drm_device *dev, uint32_t thread, uint32_t start, uint32_t end) in submit_cl() argument 376 V3D_WRITE(V3D_CTNCA(thread), start); in submit_cl() 377 V3D_WRITE(V3D_CTNEA(thread), end); in submit_cl()
|
/kernel/linux/linux-6.6/fs/ceph/ |
H A D | super.h | 857 struct task_struct *thread; member 863 .thread = current, \ 889 if (ctx->thread == current) { in ceph_find_rw_context()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | of.h | 357 extern struct device_node *of_get_cpu_node(int cpu, unsigned int *thread); 363 extern u64 of_get_cpu_hwid(struct device_node *cpun, unsigned int thread); 633 unsigned int *thread) in of_get_cpu_node() 632 of_get_cpu_node(int cpu, unsigned int *thread) of_get_cpu_node() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/vc4/ |
H A D | vc4_gem.c | 372 submit_cl(struct drm_device *dev, uint32_t thread, uint32_t start, uint32_t end) in submit_cl() argument 379 V3D_WRITE(V3D_CTNCA(thread), start); in submit_cl() 380 V3D_WRITE(V3D_CTNEA(thread), end); in submit_cl()
|
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/s390x/ |
H A D | memop.c | 649 pthread_t thread; in test_cmpxchg_key_concurrent() local 654 pthread_create(&thread, NULL, run_guest, &t.vcpu); in test_cmpxchg_key_concurrent() 677 pthread_join(thread, NULL); in test_cmpxchg_key_concurrent()
|
/kernel/linux/linux-6.6/kernel/time/ |
H A D | posix-cpu-timers.c | 59 const bool thread = !!CPUCLOCK_PERTHREAD(clock); in pid_for_clock() local 71 return thread ? task_pid(current) : task_tgid(current); in pid_for_clock() 77 if (thread) { in pid_for_clock() 192 * Sample a per-thread clock for the given task. clkid is validated. 271 * Updates @times with an uptodate sample of the thread group cputimes. 288 * The thread group cputime accounting is avoided when there are no posix 293 * Updates @times with an uptodate sample of the thread group cputimes. 335 * Sample a process (thread group) clock for the given task clkid. If the 486 * thread timer list entry concurrent read/writes. in posix_cpu_timer_del() 525 * Clean out CPU timers which are still armed when a thread exit [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | pthread_frame.c | 35 #include "thread.h" 48 #include "libavutil/thread.h" 51 ///< Set when the thread is awaiting a packet. 81 pthread_t thread; member 84 pthread_cond_t input_cond; ///< Used to wait for a new packet from the main thread. 86 pthread_cond_t output_cond; ///< Used by the main thread to wait for frames to finish. 91 AVCodecContext *avctx; ///< Context used to decode packets passed to this thread. 117 int die; ///< Set when the thread should exit. 129 PerThreadContext *threads; ///< The contexts for each thread. 130 PerThreadContext *prev_thread; ///< The last thread submit_packe [all...] |
H A D | utils.c | 40 #include "thread.h" 985 void ff_thread_await_progress2(AVCodecContext *avctx, int field, int thread, int shift) in ff_thread_await_progress2() argument 989 void ff_thread_report_progress2(AVCodecContext *avctx, int field, int thread, int n) in ff_thread_report_progress2() argument
|
/third_party/alsa-lib/src/pcm/ |
H A D | pcm_meter.c | 70 pthread_t thread; member 137 /* Wait main thread */ in snd_pcm_meter_update_scope() 476 err = pthread_create(&meter->thread, NULL, snd_pcm_meter_thread, pcm); in snd_pcm_meter_hw_params() 489 err = pthread_join(meter->thread, 0); in snd_pcm_meter_hw_free()
|
/third_party/libuv/src/unix/ |
H A D | stream.c | 48 uv_thread_t thread; member 122 /* Notify select() thread about state change */ in uv__stream_osx_interrupt_select() 277 * select(2) in separate thread for those fds in uv__stream_try_select() 369 err = uv_thread_create(&s->thread, uv__stream_osx_select, stream); in uv__stream_try_select() 481 * thread opens a file or creates a socket in the time window between us 886 /* Notify select() thread about state change */ in uv__write() 1516 uv_thread_join(&s->thread); in uv__stream_close()
|
/third_party/node/deps/uv/src/unix/ |
H A D | stream.c | 48 uv_thread_t thread; member 112 /* Notify select() thread about state change */ in uv__stream_osx_interrupt_select() 267 * select(2) in separate thread for those fds in uv__stream_try_select() 359 err = uv_thread_create(&s->thread, uv__stream_osx_select, stream); in uv__stream_try_select() 471 * thread opens a file or creates a socket in the time window between us 920 /* Notify select() thread about state change */ in uv__write() 1583 uv_thread_join(&s->thread); in uv__stream_close()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ |
H A D | vktTestPackage.cpp | 136 #include <thread> 899 // create a separate thread that captures std::err output in runTestsInSubprocess() 900 de::MovePtr<std::thread> errThread(new std::thread([&process] in runTestsInSubprocess()
|
/third_party/skia/bench/ |
H A D | nanobench.cpp | 67 #include <thread> 182 "defaulting to one extra thread per core."); 1146 static std::thread* intentionallyLeaked = new std::thread([]{
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ |
H A D | vktTestPackage.cpp | 128 #include <thread> 841 // create a separate thread that captures std::err output in runTestsInSubprocess() 842 de::MovePtr<std::thread> errThread(new std::thread([&process] in runTestsInSubprocess()
|
/third_party/node/deps/v8/src/execution/ |
H A D | isolate.cc | 182 // relaxed since we can guarantee that the current thread has initialized these 541 ThreadLocalTop* thread = reinterpret_cast<ThreadLocalTop*>(thread_storage); in Iterate() local 542 Iterate(v, thread); in Iterate() 547 ThreadLocalTop* thread = reinterpret_cast<ThreadLocalTop*>(t); in IterateThread() local 548 v->VisitThread(this, thread); in IterateThread() 551 void Isolate::Iterate(RootVisitor* v, ThreadLocalTop* thread) { in Iterate() argument 552 // Visit the roots from the top for a given thread. in Iterate() 554 FullObjectSlot(&thread->pending_exception_)); in Iterate() 556 FullObjectSlot(&thread->pending_message_)); in Iterate() 558 FullObjectSlot(&thread in Iterate() [all...] |
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H A D | sysfs.c | 160 if (!current->thread.dscr_inherit) { in write_dscr() 161 current->thread.dscr = *(unsigned long *)val; in write_dscr()
|
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/ |
H A D | intel.c | 1067 * is not implemented as one thread could undo the setting of the other 1068 * thread immediately after dropping the lock anyway. 1111 current->thread.error_code = 0; in handle_guest_split_lock() 1112 current->thread.trap_nr = X86_TRAP_AC; in handle_guest_split_lock()
|
/kernel/linux/linux-5.10/arch/x86/kernel/fpu/ |
H A D | xstate.c | 962 * xstate: the thread's storage area for all FPU data 1020 struct fpu *fpu = ¤t->thread.fpu; in get_xsave_field_ptr() 1189 * and copy to the target thread. This is called from xstateregs_set(). 1240 * kernel XSAVES format and copy to the target thread. This is called from 1428 unsigned long timestamp = READ_ONCE(task->thread.fpu.avx512_timestamp); in avx512_status()
|
/kernel/linux/linux-6.6/arch/powerpc/kernel/ |
H A D | sysfs.c | 160 if (!current->thread.dscr_inherit) { in write_dscr() 161 current->thread.dscr = *(unsigned long *)val; in write_dscr()
|
/kernel/linux/linux-5.10/tools/perf/ui/ |
H A D | hist.c | 277 if (a->thread != b->thread || !hist_entry__has_callchains(a) || !symbol_conf.use_callchain) in __hpp__sort_acc()
|
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | smpboot.c | 995 idle->thread.sp = (unsigned long)task_pt_regs(idle); in do_boot_cpu() 1000 initial_stack = idle->thread.sp; in do_boot_cpu() 1384 * last thread sibling in this cpu core going down in remove_siblinginfo()
|
/kernel/linux/linux-6.6/arch/x86/kernel/cpu/ |
H A D | intel.c | 1117 * is not implemented as one thread could undo the setting of the other 1118 * thread immediately after dropping the lock anyway. 1223 current->thread.error_code = 0; in handle_guest_split_lock() 1224 current->thread.trap_nr = X86_TRAP_AC; in handle_guest_split_lock()
|
/third_party/gn/src/gn/ |
H A D | command_gen.cc | 8 #include <thread> 92 using ResolvedMap = std::unordered_map<std::thread::id, ResolvedTargetData>; 98 // Called on worker thread to write the ninja file. 126 // Called on the main thread.
|
/third_party/node/src/ |
H A D | inspector_agent.cc | 71 // Called on the main thread. 95 // Start a watchdog thread for calling v8::Debug::DebugBreak() because in StartDebugSignalHandler() 97 // deadlock with the thread it interrupts. in StartDebugSignalHandler() 120 pthread_t thread; in StartDebugSignalHandler() local 121 const int err = pthread_create(&thread, &attr, in StartDebugSignalHandler() 930 // continuous JS code) and to wake up libuv thread (in case Node is waiting in RequestIoThreadStart()
|
/kernel/linux/linux-6.6/tools/testing/selftests/seccomp/ |
H A D | seccomp_bpf.c | 105 #define SECCOMP_RET_KILL_THREAD 0x00000000U /* kill the thread */ 781 /* This is a thread task to die via seccomp filter violation. */ 800 /* Prepare a thread that will kill itself or both of us. */ 804 pthread_t thread; in kill_thread_or_group() local 846 /* Start a thread that will exit immediately. */ in kill_thread_or_group() 847 ASSERT_EQ(0, pthread_create(&thread, NULL, kill_thread, (void *)false)); in kill_thread_or_group() 848 ASSERT_EQ(0, pthread_join(thread, &status)); in kill_thread_or_group() 851 /* Start a thread that will die immediately. */ in kill_thread_or_group() 852 ASSERT_EQ(0, pthread_create(&thread, NULL, kill_thread, (void *)true)); in kill_thread_or_group() 853 ASSERT_EQ(0, pthread_join(thread, in kill_thread_or_group() 3981 pthread_t thread; TEST() local [all...] |