Home
last modified time | relevance | path

Searched refs:context (Results 1 – 25 of 31) sorted by relevance

12

/kernel/lib/libc/
A Deabi.c18 …__aeabi_unwind_cpp_pr0(_Unwind_State state, _Unwind_Control_Block *ucbp, _Unwind_Context *context);
19 … __aeabi_unwind_cpp_pr0(_Unwind_State state, _Unwind_Control_Block *ucbp, _Unwind_Context *context) in __aeabi_unwind_cpp_pr0() argument
24 …__aeabi_unwind_cpp_pr1(_Unwind_State state, _Unwind_Control_Block *ucbp, _Unwind_Context *context);
25 … __aeabi_unwind_cpp_pr1(_Unwind_State state, _Unwind_Control_Block *ucbp, _Unwind_Context *context) in __aeabi_unwind_cpp_pr1() argument
30 …__aeabi_unwind_cpp_pr2(_Unwind_State state, _Unwind_Control_Block *ucbp, _Unwind_Context *context);
31 … __aeabi_unwind_cpp_pr2(_Unwind_State state, _Unwind_Control_Block *ucbp, _Unwind_Context *context) in __aeabi_unwind_cpp_pr2() argument
/kernel/include/arch/
A Dexception.h22 arch_exception_context_t* context);
32 void arch_dump_exception_context(const arch_exception_context_t* context);
37 const arch_exception_context_t* context, zx_exception_report_t* report);
/kernel/lib/hypervisor/
A Dcpu.cpp19 void* context; member
22 : cpu_mask(0), task(_task), context(_context) {} in percpu_state()
32 zx_status_t status = state->task(state->context, cpu_num); in percpu_task()
37 cpu_mask_t percpu_exec(percpu_task_t task, void* context) { in percpu_exec() argument
38 percpu_state state(task, context); in percpu_exec()
/kernel/arch/arm64/
A Dexceptions_c.cpp63 arch_exception_context_t context = {}; in try_dispatch_user_data_fault_exception() local
65 context.frame = iframe; in try_dispatch_user_data_fault_exception()
66 context.esr = esr; in try_dispatch_user_data_fault_exception()
67 context.far = far; in try_dispatch_user_data_fault_exception()
426 uint32_t iss = BITS(context->esr, 24, 0); in arch_dump_exception_context()
433 context->frame->elr, context->far, in arch_dump_exception_context()
434 BITS(context->esr, 5, 0), in arch_dump_exception_context()
442 context->frame->elr, context->far, in arch_dump_exception_context()
447 dump_iframe(context->frame); in arch_dump_exception_context()
474 arch_exception_context_t context = {}; in arch_dispatch_user_policy_exception() local
[all …]
/kernel/arch/x86/
A Dfaults.cpp108 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
320 struct arch_exception_context context = {true, frame, va}; in x86_pfe_handler() local
322 &context, frame); in x86_pfe_handler()
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()
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
[all …]
A Dmmu_mem_types.cpp80 static void x86_pat_sync_task(void* context);
124 struct pat_sync_task_context context = { in x86_pat_sync() local
129 mp_sync_exec(MP_IPI_TARGET_MASK, targets, x86_pat_sync_task, &context); in x86_pat_sync()
136 struct pat_sync_task_context* context = (struct pat_sync_task_context*)raw_context; in x86_pat_sync_task() local
141 atomic_and(&context->barrier1, ~(1 << cpu)); in x86_pat_sync_task()
142 while (context->barrier1 != 0) { in x86_pat_sync_task()
226 atomic_and(&context->barrier2, ~(1 << cpu)); in x86_pat_sync_task()
227 while (context->barrier2 != 0) { in x86_pat_sync_task()
A Dmmu.cpp147 TlbInvalidatePage_context* context = (TlbInvalidatePage_context*)raw_context; in TlbInvalidatePage_task() local
150 if (context->target_cr3 != cr3 && !context->pending->contains_global) { in TlbInvalidatePage_task()
155 if (context->pending->full_shootdown) { in TlbInvalidatePage_task()
156 if (context->pending->contains_global) { in TlbInvalidatePage_task()
164 for (uint i = 0; i < context->pending->count; ++i) { in TlbInvalidatePage_task()
165 const auto& item = context->pending->item[i]; in TlbInvalidatePage_task()
A Dioport.cpp86 struct ioport_update_context* context = in UpdateTask() local
90 if (&io_bitmap != context->io_bitmap) { in UpdateTask()
A Dproc_trace.cpp237 ipt_trace_state_t* context = reinterpret_cast<ipt_trace_state_t*>(raw_context); in x86_ipt_start_cpu_task() local
239 ipt_trace_state_t* state = &context[cpu]; in x86_ipt_start_cpu_task()
308 ipt_trace_state_t* context = reinterpret_cast<ipt_trace_state_t*>(raw_context); in x86_ipt_stop_cpu_task() local
310 ipt_trace_state_t* state = &context[cpu]; in x86_ipt_stop_cpu_task()
/kernel/lib/hypervisor/include/hypervisor/
A Dcpu.h14 typedef zx_status_t (* percpu_task_t)(void* context, cpu_num_t cpu_num);
18 cpu_mask_t percpu_exec(percpu_task_t task, void* context);
/kernel/object/
A Dexception.cpp147 arch_exception_context_t* context, in exception_handler_worker() argument
153 ExceptionPort::BuildArchReport(&report, exception_type, context); in exception_handler_worker()
161 auto status = try_exception_handler(eport, thread, &report, context, &estatus); in exception_handler_worker()
219 arch_exception_context_t* context) { in dispatch_user_exception() argument
220 LTRACEF("type %u, context %p\n", exception_type, context); in dispatch_user_exception()
232 handler_status_t hstatus = exception_handler_worker(exception_type, context, in dispatch_user_exception()
260 arch_dump_exception_context(context); in dispatch_user_exception()
A Dexcp_port.cpp277 arch_exception_context_t context; in OnThreadStartForDebugger() local
280 memset(&context, 0, sizeof(context)); in OnThreadStartForDebugger()
282 … = thread->ExceptionHandlerExchange(fbl::RefPtr<ExceptionPort>(this), &report, &context, &estatus); in OnThreadStartForDebugger()
302 arch_exception_context_t context; in OnProcessStartForDebugger() local
305 memset(&context, 0, sizeof(context)); in OnProcessStartForDebugger()
307 … = thread->ExceptionHandlerExchange(fbl::RefPtr<ExceptionPort>(this), &report, &context, &estatus); in OnProcessStartForDebugger()
330 arch_exception_context_t context; in OnThreadExitForDebugger() local
333 memset(&context, 0, sizeof(context)); in OnThreadExitForDebugger()
338 … = thread->ExceptionHandlerExchange(fbl::RefPtr<ExceptionPort>(this), &report, &context, &estatus); in OnThreadExitForDebugger()
/kernel/kernel/
A Dmp.cpp41 static void mp_sync_task(void* context);
95 auto context = reinterpret_cast<mp_sync_context*>(raw_context); in mp_sync_task() local
96 context->task(context->task_context); in mp_sync_task()
99 atomic_and((int*)&context->outstanding_cpus, ~cpu_num_to_mask(arch_curr_cpu_num())); in mp_sync_task()
113 void mp_sync_exec(mp_ipi_target_t target, cpu_mask_t mask, mp_sync_task_t task, void* context) { in mp_sync_exec() argument
143 .task_context = context, in mp_sync_exec()
150 sync_tasks[i].context = &sync_context; in mp_sync_exec()
409 task->func(task->context); in mp_mbx_generic_irq()
/kernel/include/kernel/
A Dmp.h29 typedef void (*mp_ipi_task_func_t)(void* context);
30 typedef void (*mp_sync_task_t)(void* context);
66 void mp_sync_exec(mp_ipi_target_t, cpu_mask_t mask, mp_sync_task_t task, void* context);
89 void* context; member
/kernel/dev/iommu/intel/
A Dcontext_table_state.cpp71 DeviceContext** context) { in CreateDeviceContext() argument
90 *context = dev.get(); in CreateDeviceContext()
95 zx_status_t ContextTableState::GetDeviceContext(ds::Bdf bdf, DeviceContext** context) { in GetDeviceContext() argument
98 *context = &dev; in GetDeviceContext()
A Dcontext_table_state.h48 DeviceContext** context);
50 zx_status_t GetDeviceContext(ds::Bdf bdf, DeviceContext** context);
A Diommu_impl.h109 zx_status_t GetOrCreateDeviceContextLocked(ds::Bdf bdf, DeviceContext** context) TA_REQ(lock_);
/kernel/arch/x86/include/arch/x86/
A Dioport.h26 static void UpdateTask(void* context);
/kernel/lib/io/include/lib/
A Dio.h22 void* context; member
/kernel/arch/arm64/hypervisor/
A Del2_cpu_state_priv.h48 static zx_status_t OnTask(void* context, uint cpu_num);
A Del2_cpu_state.cpp62 zx_status_t El2CpuState::OnTask(void* context, uint cpu_num) { in OnTask() argument
63 auto cpu_state = static_cast<El2CpuState*>(context); in OnTask()
/kernel/vm/
A Dvm_object_physical.cpp96 vmo_lookup_fn_t lookup_fn, void* context) { in Lookup() argument
113 zx_status_t status = lookup_fn(context, cur_offset, idx, base_ + cur_offset); in Lookup()
/kernel/vm/include/vm/
A Dvm_object_physical.h35 vmo_lookup_fn_t lookup_fn, void* context) override;
A Dvm_object.h30 typedef zx_status_t (*vmo_lookup_fn_t)(void* context, size_t offset, size_t index, paddr_t pa);
104 vmo_lookup_fn_t lookup_fn, void* context) { in Lookup() argument
/kernel/arch/x86/hypervisor/
A Dvmx_cpu_state.cpp88 static zx_status_t vmxon_task(void* context, cpu_num_t cpu_num) { in vmxon_task() argument
89 auto pages = static_cast<fbl::Array<VmxPage>*>(context); in vmxon_task()

Completed in 62 milliseconds

12