Lines Matching refs:context
104 struct arch_exception_context* context, in call_dispatch_user_exception() argument
108 zx_status_t status = dispatch_user_exception(kind, context); in call_dispatch_user_exception()
115 struct arch_exception_context context = {false, frame, 0}; in try_dispatch_user_exception() local
119 zx_status_t erc = call_dispatch_user_exception(kind, &context, frame); in try_dispatch_user_exception()
320 struct arch_exception_context context = {true, frame, va}; in x86_pfe_handler() local
322 &context, frame); in x86_pfe_handler()
499 void arch_dump_exception_context(const arch_exception_context_t* context) { in arch_dump_exception_context() argument
500 if (context->is_page_fault) { in arch_dump_exception_context()
501 x86_dump_pfe(context->frame, context->cr2); in arch_dump_exception_context()
504 dump_fault_frame(context->frame); in arch_dump_exception_context()
507 if (context->frame->cs != CODE_64_SELECTOR && is_user_address(context->frame->user_sp)) { in arch_dump_exception_context()
509 if (arch_copy_from_user(buf, (void*)context->frame->user_sp, sizeof(buf)) == ZX_OK) { in arch_dump_exception_context()
510 printf("bottom of user stack at 0x%lx:\n", (vaddr_t)context->frame->user_sp); in arch_dump_exception_context()
511 hexdump_ex(buf, sizeof(buf), context->frame->user_sp); in arch_dump_exception_context()
518 zx_exception_context_t* zx_context = &report->context; in arch_fill_in_exception_context()
527 arch_exception_context_t context = {}; in arch_dispatch_user_policy_exception() local
528 context.frame = &frame; in arch_dispatch_user_policy_exception()
529 return dispatch_user_exception(ZX_EXCP_POLICY_ERROR, &context); in arch_dispatch_user_policy_exception()