Searched refs:thread_ (Results 1 - 25 of 31) sorted by relevance

12

/fuchsia/zircon/kernel/object/
H A Dsuspend_token_dispatcher.cpp35 : thread_(fbl::move(thread)) {}
40 thread_->Resume();
H A Dexception.cpp56 : thread_(thread),
69 eport = thread_->process()->debugger_exception_port();
73 eport = thread_->exception_port();
77 eport = thread_->process()->exception_port();
81 previous_job_ = thread_->process()->job();
111 ThreadDispatcher* thread_; member in class:final
H A Dthread_dispatcher.cpp71 DEBUG_ASSERT(&thread_ != get_current_thread());
78 __UNUSED auto ret = thread_join(&thread_, nullptr, ZX_TIME_INFINITE);
89 thread_forget(&thread_);
117 &thread_, thread_name, StartRoutine, this, DEFAULT_PRIORITY, nullptr);
123 DEBUG_ASSERT(lkthread == &thread_);
126 thread_set_user_callback(&thread_, &ThreadUserCallback);
150 memcpy(thread_.name, name, len);
151 memset(thread_.name + len, 0, ZX_MAX_NAME_LEN - len);
160 strlcpy(out_name, thread_.name, ZX_MAX_NAME_LEN);
195 thread_
[all...]
/fuchsia/zircon/kernel/object/include/object/
H A Dthread_dispatcher.h138 uint64_t runtime_ns() const { return thread_runtime(&thread_); }
202 : thread_(ThreadDispatcher::GetCurrent()),
203 prev_reason(thread_->blocked_reason_) {
205 thread_->blocked_reason_ = reason;
208 thread_->blocked_reason_ = prev_reason;
211 ThreadDispatcher* const thread_; member in class:final::final
294 thread_t thread_ = {}; member in class:final
H A Dsuspend_token_dispatcher.h32 // A lock annotation is unnecessary because the only time thread_ is used is in on_zero_handles
34 fbl::RefPtr<ThreadDispatcher> thread_; member in class:final
/fuchsia/zircon/kernel/arch/arm64/hypervisor/
H A Dvcpu.cpp181 : guest_(guest), vpid_(vpid), thread_(thread), running_(false) {
182 (void)thread_;
192 if (!hypervisor::check_pinned_cpu_invariant(vpid_, thread_))
241 status = thread_->signals & THREAD_SIGNAL_KILL ? ZX_ERR_CANCELED : ZX_OK;
268 if (!hypervisor::check_pinned_cpu_invariant(vpid_, thread_)) {
282 if (!hypervisor::check_pinned_cpu_invariant(vpid_, thread_)) {
/fuchsia/zircon/system/dev/bus/platform/
H A Dplatform-i2c.h50 thrd_t thread_; member in class:platform_bus::PlatformI2cBus
/fuchsia/zircon/system/dev/ethernet/ethertap/
H A Dethertap.h68 thrd_t thread_; member in class:eth::TapDevice
/fuchsia/zircon/system/dev/i2c/imx-i2c/
H A Dimx-i2c.h57 thrd_t thread_; member in class:imx_i2c::ImxI2cDevice
H A Dimx-i2c.cpp237 thrd_join(thread_, NULL);
274 int rc = thrd_create_with_name(&thread_,
/fuchsia/zircon/system/uapp/loadgen/
H A Dloadgen.cpp52 thrd_t thread_; member in class:LoadGeneratorThread
66 thrd_join(thread_, &musl_ret);
74 &thread_,
/fuchsia/zircon/system/ulib/trace-reader/
H A Drecords.cpp372 thread_.~Thread();
405 new (&thread_) Thread(fbl::move(other.thread_));
438 thread_.index, thread_.process_thread.ToString().c_str());
/fuchsia/zircon/system/utest/core/futex/
H A Dfutex.cpp89 auto ret = thrd_create_with_name(&thread_, wakeup_test_thread, this, "wakeup_test_thread");
120 EXPECT_EQ(thrd_join(thread_, NULL), thrd_success,
148 EXPECT_EQ(zx_handle_duplicate(thrd_get_zx_handle(thread_),
155 return thrd_get_zx_handle(thread_);
175 thrd_t thread_; member in class:TestThread
/fuchsia/zircon/kernel/arch/x86/include/arch/
H A Dhypervisor.h100 const thread_t* thread_; member in class:Vcpu
/fuchsia/zircon/system/dev/input/hidctl/
H A Dhidctl.h64 thrd_t thread_; member in class:hidctl::HidDevice
H A Dhidctl.cpp89 int ret = thrd_create_with_name(&thread_, hid_device_thread, reinterpret_cast<void*>(this),
235 thrd_detach(thread_);
/fuchsia/zircon/system/dev/light/ams-light/
H A Dtcs3400.h64 thrd_t thread_; member in class:tcs::Tcs3400Device
H A Dtcs3400.cpp381 int rc = thrd_create_with_name(&thread_,
411 thrd_join(thread_, NULL);
/fuchsia/zircon/system/dev/input/focaltech/
H A Dft3x27.cpp117 int ret = thrd_create_with_name(&ft_dev->thread_, thunk,
161 thrd_join(thread_, NULL);
H A Dft3x27.h113 thrd_t thread_; member in class:ft::Ft3x27Device
/fuchsia/zircon/kernel/arch/arm64/include/arch/
H A Dhypervisor.h117 const thread_t* thread_;
/fuchsia/zircon/system/dev/input/goodix/
H A Dgt92xx.h98 thrd_t thread_; member in class:goodix::Gt92xxDevice
H A Dgt92xx.cpp119 int ret = thrd_create_with_name(&goodix_dev->thread_, thunk,
214 thrd_join(thread_, NULL);
/fuchsia/zircon/kernel/arch/x86/hypervisor/
H A Dvcpu.cpp231 : prev_cpu_mask_(get_current_thread()->cpu_affinity), thread_(hypervisor::pin_thread(vpid)) {}
234 thread_set_cpu_affinity(thread_, prev_cpu_mask_);
687 : guest_(guest), vpid_(vpid), thread_(thread), running_(false), vmx_state_(/* zero-init */) {}
722 if (!hypervisor::check_pinned_cpu_invariant(vpid_, thread_))
805 if (!hypervisor::check_pinned_cpu_invariant(vpid_, thread_))
823 if (!hypervisor::check_pinned_cpu_invariant(vpid_, thread_))
/fuchsia/zircon/system/ulib/trace-reader/include/trace-reader/
H A Drecords.h558 new (&thread_) Thread(fbl::move(record));
613 return thread_;
654 Thread thread_; member in union:trace::final::__anon1242

Completed in 117 milliseconds

12