Lines Matching refs:exception
99 exception_type_t exception,
107 exception_type_t exception,
115 * Make an upcall to the exception server provided.
118 * Called from an exception context, so
122 * KERN_SUCCESS if the exception was handled
127 exception_type_t exception,
148 * Snapshot the exception action data under lock for consistency.
196 exception,
203 kr = exception_raise_state(exc_port, exception,
225 exception,
232 exception,
254 exception,
264 exception,
281 panic ("bad exception behavior!");
287 * Routine: exception
289 * The current thread caught an exception.
290 * We make an up-call to the thread's exception server.
293 * Called from an exception context, so
301 exception_type_t exception,
312 assert(exception != EXC_RPC_ALERT);
317 * Try to raise the exception at the activation level.
320 excp = &thread->exc_actions[exception];
321 kr = exception_deliver(thread, exception, code, codeCnt, excp, mutex);
330 excp = &task->exc_actions[exception];
331 kr = exception_deliver(thread, exception, code, codeCnt, excp, mutex);
340 excp = &host_priv->exc_actions[exception];
341 kr = exception_deliver(thread, exception, code, codeCnt, excp, mutex);
351 if ((exception != EXC_CRASH) && (exception != EXC_RESOURCE))
358 exception_type_t exception,
373 excp = &task->exc_actions[exception];
375 kr = exception_deliver(self, exception, code, codeCnt, excp, mutex);
384 * Raise an exception on a task.
387 kern_return_t task_exception_notify(exception_type_t exception,
397 exception_triage(exception, code, EXCEPTION_CODE_MAX);
405 * This is a special case of the host exception handler
424 /* Make sure we're not catching our own exception */