Home
last modified time | relevance | path

Searched refs:ExceptionPort (Results 1 – 12 of 12) sorted by relevance

/kernel/object/
A Dexception.cpp57 previous_type_(ExceptionPort::Type::NONE) { in ExceptionPortIterator()
62 bool Next(fbl::RefPtr<ExceptionPort>* out_eport) { in Next()
63 fbl::RefPtr<ExceptionPort> eport; in Next()
64 ExceptionPort::Type expected_type = ExceptionPort::Type::NONE; in Next()
68 case ExceptionPort::Type::NONE: in Next()
72 case ExceptionPort::Type::DEBUGGER: in Next()
76 case ExceptionPort::Type::THREAD: in Next()
80 case ExceptionPort::Type::PROCESS: in Next()
85 case ExceptionPort::Type::JOB: in Next()
112 ExceptionPort::Type previous_type_;
[all …]
A Dexcp_port.cpp47 fbl::RefPtr<ExceptionPort>* out_eport) { in Create()
49 auto eport = new (&ac) ExceptionPort(type, ktl::move(port), port_key); in Create()
55 *out_eport = fbl::WrapRefPtr<ExceptionPort>(eport); in Create()
59 ExceptionPort::ExceptionPort(Type type, fbl::RefPtr<PortDispatcher> port, uint64_t port_key) in ExceptionPort() function in ExceptionPort
66 ExceptionPort::~ExceptionPort() { in ~ExceptionPort()
73 void ExceptionPort::SetTarget(const fbl::RefPtr<JobDispatcher>& target) { in SetTarget()
113 void ExceptionPort::OnPortZeroHandles() { in OnPortZeroHandles()
185 void ExceptionPort::OnTargetUnbind() { in OnTargetUnbind()
266 void ExceptionPort::OnThreadStartForDebugger(ThreadDispatcher* thread) { in OnThreadStartForDebugger()
291 void ExceptionPort::OnProcessStartForDebugger(ThreadDispatcher* thread) { in OnProcessStartForDebugger()
[all …]
A Dthread_dispatcher.cpp519 DEBUG_ASSERT(eport->type() == ExceptionPort::Type::THREAD); in SetExceptionPort()
536 fbl::RefPtr<ExceptionPort> eport; in ResetExceptionPort()
581 fbl::RefPtr<ExceptionPort> eport, in ExceptionHandlerExchange()
762 ExceptionPort::Type excp_port_type; in GetInfoForUserspace()
783 excp_port_type = ExceptionPort::Type::NONE; in GetInfoForUserspace()
845 case ExceptionPort::Type::NONE: in GetInfoForUserspace()
848 case ExceptionPort::Type::DEBUGGER: in GetInfoForUserspace()
851 case ExceptionPort::Type::JOB_DEBUGGER: in GetInfoForUserspace()
854 case ExceptionPort::Type::THREAD: in GetInfoForUserspace()
857 case ExceptionPort::Type::PROCESS: in GetInfoForUserspace()
[all …]
A Djob_dispatcher.cpp463 zx_status_t JobDispatcher::SetExceptionPort(fbl::RefPtr<ExceptionPort> eport) { in SetExceptionPort()
467 case ExceptionPort::Type::JOB_DEBUGGER: in SetExceptionPort()
470 case ExceptionPort::Type::JOB: in SetExceptionPort()
493 OnExceptionPortRemovalEnumerator(fbl::RefPtr<ExceptionPort> eport) in OnExceptionPortRemovalEnumerator()
504 fbl::RefPtr<ExceptionPort> eport_;
510 fbl::RefPtr<ExceptionPort> eport; in ResetExceptionPort()
550 fbl::RefPtr<ExceptionPort> JobDispatcher::exception_port() { in exception_port()
555 fbl::RefPtr<ExceptionPort> JobDispatcher::debugger_exception_port() { in debugger_exception_port()
A Dprocess_dispatcher.cpp665 zx_status_t ProcessDispatcher::SetExceptionPort(fbl::RefPtr<ExceptionPort> eport) { in SetExceptionPort()
669 case ExceptionPort::Type::DEBUGGER: in SetExceptionPort()
672 case ExceptionPort::Type::PROCESS: in SetExceptionPort()
700 fbl::RefPtr<ExceptionPort> eport; in ResetExceptionPort()
741 fbl::RefPtr<ExceptionPort> ProcessDispatcher::exception_port() { in exception_port()
746 fbl::RefPtr<ExceptionPort> ProcessDispatcher::debugger_exception_port() { in debugger_exception_port()
752 const fbl::RefPtr<ExceptionPort>& eport) { in OnExceptionPortRemoval()
A Dport_dispatcher.cpp438 void PortDispatcher::LinkExceptionPort(ExceptionPort* eport) { in LinkExceptionPort()
447 void PortDispatcher::UnlinkExceptionPort(ExceptionPort* eport) { in UnlinkExceptionPort()
/kernel/object/include/object/
A Dexcp_port.h32 class ExceptionPort : public fbl::DoublyLinkedListable<fbl::RefPtr<ExceptionPort>>
33 , public fbl::RefCounted<ExceptionPort> {
39 fbl::RefPtr<ExceptionPort>* eport);
40 ~ExceptionPort();
69 ExceptionPort(Type type, fbl::RefPtr<PortDispatcher> port, uint64_t port_key);
71 ExceptionPort(const ExceptionPort&) = delete;
72 ExceptionPort& operator=(const ExceptionPort&) = delete;
101 DECLARE_MUTEX(ExceptionPort) lock_;
A Dthread_dispatcher.h108 zx_status_t SetExceptionPort(fbl::RefPtr<ExceptionPort> eport);
111 fbl::RefPtr<ExceptionPort> exception_port();
122 zx_status_t ExceptionHandlerExchange(fbl::RefPtr<ExceptionPort> eport,
128 void EnterException(fbl::RefPtr<ExceptionPort> eport,
143 void OnExceptionPortRemoval(const fbl::RefPtr<ExceptionPort>& eport);
239 fbl::RefPtr<ExceptionPort> exception_port_ TA_GUARDED(get_lock());
244 fbl::RefPtr<ExceptionPort> exception_wait_port_ TA_GUARDED(get_lock());
A Dport_dispatcher.h80 class ExceptionPort; variable
198 friend class ExceptionPort;
204 void LinkExceptionPort(ExceptionPort* eport);
209 void UnlinkExceptionPort(ExceptionPort* eport);
219 fbl::DoublyLinkedList<fbl::RefPtr<ExceptionPort>> eports_ TA_GUARDED(get_lock());
A Djob_dispatcher.h136 zx_status_t SetExceptionPort(fbl::RefPtr<ExceptionPort> eport);
139 fbl::RefPtr<ExceptionPort> exception_port();
140 fbl::RefPtr<ExceptionPort> debugger_exception_port();
207 fbl::RefPtr<ExceptionPort> exception_port_ TA_GUARDED(get_lock());
208 fbl::RefPtr<ExceptionPort> debugger_exception_port_ TA_GUARDED(get_lock());
A Dprocess_dispatcher.h221 zx_status_t SetExceptionPort(fbl::RefPtr<ExceptionPort> eport);
224 fbl::RefPtr<ExceptionPort> exception_port();
225 fbl::RefPtr<ExceptionPort> debugger_exception_port();
227 void OnExceptionPortRemoval(const fbl::RefPtr<ExceptionPort>& eport);
357 fbl::RefPtr<ExceptionPort> exception_port_ TA_GUARDED(get_lock());
358 fbl::RefPtr<ExceptionPort> debugger_exception_port_ TA_GUARDED(get_lock());
/kernel/syscalls/
A Dexceptions.cpp69 fbl::RefPtr<ExceptionPort> eport; in task_bind_exception_port()
73 ExceptionPort::Type type; in task_bind_exception_port()
75 type = ExceptionPort::Type::JOB_DEBUGGER; in task_bind_exception_port()
77 type = ExceptionPort::Type::JOB; in task_bind_exception_port()
78 status = ExceptionPort::Create(type, in task_bind_exception_port()
92 ExceptionPort::Type type; in task_bind_exception_port()
94 type = ExceptionPort::Type::DEBUGGER; in task_bind_exception_port()
96 type = ExceptionPort::Type::PROCESS; in task_bind_exception_port()
97 status = ExceptionPort::Create(type, ktl::move(port), key, &eport); in task_bind_exception_port()
112 status = ExceptionPort::Create(ExceptionPort::Type::THREAD, in task_bind_exception_port()

Completed in 30 milliseconds