Home
last modified time | relevance | path

Searched refs:handle (Results 1 – 25 of 39) sorted by relevance

12

/DragonOS/kernel/src/driver/acpi/
H A Dsysfs.rs289 macro_rules! handle { in read() macro
307 handle!(RSDT, tables); in read()
310 handle!(XSDT, tables); in read()
313 handle!(FADT, tables); in read()
316 handle!(HPET, tables); in read()
319 handle!(MADT, tables); in read()
322 handle!(MCFG, tables); in read()
325 handle!(SSDT, tables); in read()
328 handle!(BERT, tables); in read()
331 handle!(BGRT, tables); in read()
[all …]
/DragonOS/kernel/src/net/socket/
H A Dinet.rs19 handle::GlobalSocketHandle, PosixSocketHandleItem, Socket, SocketHandleItem, SocketMetadata,
28 handle: GlobalSocketHandle, field
70 let handle = GlobalSocketHandle::new_smoltcp_handle(SOCKET_SET.lock_irqsave().add(socket)); in new() localVariable
83 handle, in new()
99 socket_set_guard.remove(self.handle.smoltcp_handle().unwrap()) in close()
113 socket_set_guard.get_mut::<raw::Socket>(self.handle.smoltcp_handle().unwrap()); in read()
143 socket_set_guard.get_mut::<raw::Socket>(self.handle.smoltcp_handle().unwrap()); in write()
158 socket_set_guard.get_mut::<raw::Socket>(self.handle.smoltcp_handle().unwrap()); in write()
227 self.handle in socket_handle()
244 pub handle: GlobalSocketHandle, field
[all …]
H A Dunix.rs7 handle::GlobalSocketHandle, PosixSocketHandleItem, Socket, SocketInode, SocketMetadata,
16 handle: GlobalSocketHandle, field
47 handle: GlobalSocketHandle::new_kernel_handle(), in new()
58 self.handle in socket_handle()
131 handle: GlobalSocketHandle, field
162 handle: GlobalSocketHandle::new_kernel_handle(), in new()
221 self.handle in socket_handle()
H A Dhandle.rs21 pub fn new_smoltcp_handle(handle: SocketHandle) -> Self { in new_smoltcp_handle()
22 return Self::Smoltcp(handle); in new_smoltcp_handle()
/DragonOS/kernel/src/exception/
H A Debreak.rs12 pub fn handle(frame: &mut TrapFrame) -> Result<(), SystemError> { in handle() method
33 DebugException::handle(frame)?; in kprobe_handler()
H A Dipi.rs48 fn handle( in handle() method
68 fn handle( in handle() method
H A Dhandle.rs50 fn handle(&self, irq_desc: &Arc<IrqDesc>, _trap_frame: &mut TrapFrame) { in handle() method
62 fn handle(&self, irq_desc: &Arc<IrqDesc>, _trap_frame: &mut TrapFrame) { in handle() method
101 fn handle(&self, irq_desc: &Arc<IrqDesc>, _trap_frame: &mut TrapFrame) { in handle() method
280 .handle(irq, None, dynamic_data); in do_handle_irq_event()
364 fn handle(&self, irq_desc: &Arc<IrqDesc>, _trap_frame: &mut TrapFrame) { in handle() method
384 let _r = handler.handle( in handle()
H A Ddebug.rs12 pub fn handle(frame: &mut TrapFrame) -> Result<(), SystemError> { in handle() method
H A Dmod.rs10 pub mod handle; module
/DragonOS/kernel/src/driver/net/
H A Dirq_handle.rs18 fn handle( in handle() method
/DragonOS/tools/debugging/logmonitor/src/backend/
H A Dmod.rs108 let handle = std::thread::spawn(move || { in run_mm_monitor() localVariable
118 .push(handle); in run_mm_monitor()
/DragonOS/kernel/src/driver/clocksource/
H A Dtimer_riscv.rs119 fn handle( in handle() method
134 fn handle(&self, _irq_desc: &Arc<IrqDesc>, trap_frame: &mut TrapFrame) { in handle() method
/DragonOS/kernel/src/arch/riscv64/syscall/
H A Dmod.rs39 Syscall::handle(syscall_num, &args, frame).unwrap_or_else(|e| e.to_posix_errno() as usize), in syscall_handler()
/DragonOS/kernel/src/net/
H A Dnet_core.rs19 socket::{handle::GlobalSocketHandle, inet::TcpSocket, HANDLE_MAP, SOCKET_SET},
206 for (handle, socket_type) in sockets.iter() { in send_event()
208 let global_handle = GlobalSocketHandle::new_smoltcp_handle(handle); in send_event()
/DragonOS/kernel/src/arch/x86_64/interrupt/
H A Dhandle.rs31 handler.unwrap().handle(&desc, trap_frame); in x86_64_do_irq()
H A Dipi.rs249 fn handle(&self, irq_desc: &Arc<IrqDesc>, _trap_frame: &mut TrapFrame) { in handle() method
253 KickCpuIpiHandler.handle(irq, None, None).ok(); in handle()
256 FlushTLBIpiHandler.handle(irq, None, None).ok(); in handle()
H A Dtrap.rs138 DebugException::handle(regs).unwrap(); in do_debug()
166 EBreak::handle(regs).unwrap(); in do_int3()
H A Dmod.rs2 mod handle; module
/DragonOS/docs/kernel/filesystem/vfs/
H A Ddesign.md27 … MountFS │ Maintain the mount tree and handle the mounting of file systems. │
/DragonOS/kernel/src/driver/virtio/
H A Dirq.rs107 fn handle( in handle() method
/DragonOS/tools/debugging/logmonitor/src/backend/monitor/
H A Dmm.rs124 let handle = std::thread::spawn(move || { in create_threads() localVariable
129 self.threads.lock().unwrap().push(handle); in create_threads()
/DragonOS/kernel/src/arch/riscv64/interrupt/
H A Dhandle.rs99 EBreak::handle(trap_frame) in do_trap_break()
H A Dmod.rs15 mod handle; module
/DragonOS/kernel/src/arch/x86_64/driver/apic/
H A Dapic_timer.rs55 fn handle( in handle() method
70 fn handle(&self, _irq_desc: &Arc<IrqDesc>, trap_frame: &mut TrapFrame) { in handle() method
/DragonOS/kernel/src/arch/x86_64/syscall/
H A Dmod.rs121 Syscall::handle(syscall_num, &args, frame).unwrap_or_else(|e| e.to_posix_errno() as usize) in syscall_handler()

12