Home
last modified time | relevance | path

Searched refs:as_any (Results 1 – 7 of 7) sorted by relevance

/DragonOS/kernel/src/debug/kprobe/
H A Dtest.rs15 let pt_regs = regs.as_any().downcast_ref::<TrapFrame>().unwrap(); in pre_handler()
23 let pt_regs = regs.as_any().downcast_ref::<TrapFrame>().unwrap(); in post_handler()
31 let pt_regs = regs.as_any().downcast_ref::<TrapFrame>().unwrap(); in fault_handler()
53 let pt_regs = regs.as_any().downcast_ref::<TrapFrame>().unwrap(); in kprobe_test()
/DragonOS/kernel/src/arch/riscv64/interrupt/
H A Dmod.rs173 fn as_any(&self) -> &dyn Any { in as_any() method
/DragonOS/kernel/src/perf/
H A Dkprobe.rs70 let trap_frame = trap_frame.as_any().downcast_ref::<TrapFrame>().unwrap(); in call()
/DragonOS/kernel/crates/kprobe/src/arch/
H A Dmod.rs29 fn as_any(&self) -> &dyn Any; in as_any() method
/DragonOS/kernel/src/arch/x86_64/interrupt/
H A Dmod.rs188 fn as_any(&self) -> &dyn Any { in as_any() method
/DragonOS/kernel/src/filesystem/overlayfs/
H A Dmod.rs70 fn as_any(&self) -> &dyn core::any::Any { in as_any() method
152 .and_then(|d| d.as_any().downcast_ref::<OverlayMountData>()) in make_overlayfs()
/DragonOS/kernel/src/filesystem/vfs/
H A Dmod.rs947 fn as_any(&self) -> &dyn Any; in as_any() method