Searched refs:port_ (Results 1 - 16 of 16) sorted by relevance

/fuchsia/zircon/kernel/object/
H A Dexcp_port.cpp60 : type_(type), port_key_(port_key), port_(port) {
62 DEBUG_ASSERT(port_ != nullptr);
63 port_->LinkExceptionPort(this);
68 DEBUG_ASSERT(port_ == nullptr);
82 DEBUG_ASSERT(port_ != nullptr);
95 DEBUG_ASSERT(port_ != nullptr);
108 DEBUG_ASSERT(port_ != nullptr);
122 if (port_ == nullptr) {
181 DEBUG_ASSERT(port_ == nullptr);
196 if (port_
[all...]
H A Dport_dispatcher.cpp94 port_(fbl::move(port)) {
133 if ((packet_.handle != handle) || (packet_.key() != key) || (port_.get() != port))
139 if (port_->CanReap(this, &packet_))
151 auto status = port_->Queue(&packet_, new_state, count);
/fuchsia/zircon/kernel/lib/hypervisor/
H A Dtrap_map.cpp47 : kind_(kind), addr_(addr), len_(len), port_(fbl::move(port)), key_(key) {
52 if (port_ == nullptr) {
55 port_->CancelQueued(nullptr /* handle */, key_);
66 if (port_ == nullptr) {
74 zx_status_t status = port_->Queue(port_packet, ZX_SIGNAL_NONE, 0);
/fuchsia/zircon/system/ulib/dispatcher-pool/
H A Ddispatcher-thread-pool.cpp141 if (!port_.is_valid()) {
146 return handle.wait_async(port_, key, signals, options);
153 if (!port_.is_valid()) {
158 return port_.cancel(handle, key);
165 if (!port_.is_valid()) {
170 return zx_interrupt_bind(irq_handle.get(), port_.get(), key, 0u);
178 ZX_DEBUG_ASSERT(!port_.is_valid());
180 zx_status_t res = zx::port::create(ZX_PORT_BIND_TO_INTERRUPT, &port_);
226 res = port_.queue(&pkt);
/fuchsia/zircon/system/ulib/async-testutils/
H A Dtest_loop_dispatcher.cpp55 zx_status_t status = zx::port::create(0u, &port_);
73 // packet to be sent to |port_| on completion of this wait will not be
79 zx_status_t status = zx_object_wait_async(wait->object, port_.get(),
109 zx_status_t status = port_.cancel(*zx::unowned_handle(wait->object),
142 zx_status_t status = port_.queue(&timer_packet);
167 if (ZX_OK != port_.wait(zx::time(0), packet.get())) { return; }
/fuchsia/zircon/kernel/lib/hypervisor/include/hypervisor/
H A Dtrap_map.h46 bool HasPort() const { return !!port_; }
57 const fbl::RefPtr<PortDispatcher> port_; member in class:hypervisor::Trap
/fuchsia/zircon/system/ulib/dispatcher-pool/include/dispatcher-pool/
H A Ddispatcher-thread-pool.h72 const zx::port& port() const { return port_; }
86 zx::port port_; member in class:dispatcher::ThreadPool
/fuchsia/zircon/system/dev/block/zxcrypt/
H A Dworker.h49 // Loop thread. Reads an I/O request from the |port_| and dispatches it between |EncryptWrite|
70 zx::port port_; member in class:zxcrypt::final
H A Dworker.cpp61 port_ = fbl::move(port);
79 if ((rc = port_.wait(zx::time::infinite(), &packet)) != ZX_OK) {
H A Ddevice.cpp162 if ((rc = zx::port::create(0, &port_)) != ZX_OK) {
168 port_.duplicate(ZX_RIGHT_SAME_RIGHTS, &port);
309 port_.queue(&packet);
511 if ((rc = port_.queue(&packet)) != ZX_OK) {
H A Ddevice.h152 zx::port port_; member in class:zxcrypt::final
/fuchsia/zircon/system/dev/thermal/aml-thermal-s905d2g/
H A Daml-tsensor.h52 zx_handle_t port_; member in class:thermal::AmlTSensor
H A Daml-tsensor.cpp41 return zx_port_queue(port_, &thermal_port_packet);
371 return zx_handle_duplicate(port_, ZX_RIGHT_SAME_RIGHTS, port);
400 status = zx_port_create(0, &port_);
/fuchsia/zircon/system/ulib/async-testutils/include/lib/async-testutils/
H A Dtest_loop_dispatcher.h56 // Dequeues from |port_| the next due packet. Must not be called if
70 zx::port port_; member in class:async::TestLoopDispatcher
72 // The most recent packet dequeued from |port_|.
/fuchsia/zircon/kernel/object/include/object/
H A Dexcp_port.h76 // Unbinds from the target if bound, and drops the ref to |port_|.
77 // Called by |port_| when it reaches zero handles.
95 fbl::RefPtr<PortDispatcher> port_ TA_GUARDED(lock_);
103 // NOTE: The DoublyLinkedListNodeState is guarded by |port_|'s lock,
104 // and should only be touched using port_->LinkExceptionPort()
105 // or port_->UnlinkExceptionPort(). This goes for ::InContainer(), too.
H A Dport_dispatcher.h138 fbl::RefPtr<PortDispatcher> const port_; member in class:final::fbl

Completed in 52 milliseconds