Home
last modified time | relevance | path

Searched refs:kernel_mapper (Results 1 – 6 of 6) sorted by relevance

/DragonOS-0.1.8/kernel/src/driver/virtio/
Dvirtio_impl.rs5 use crate::mm::kernel_mapper::KernelMapper;
37 let mut kernel_mapper = KernelMapper::lock(); in dma_alloc() localVariable
38 let kernel_mapper = kernel_mapper.as_mut().unwrap(); in dma_alloc() localVariable
39 let flusher = kernel_mapper in dma_alloc()
63 let mut kernel_mapper = KernelMapper::lock(); in dma_dealloc() localVariable
64 let kernel_mapper = kernel_mapper.as_mut().unwrap(); in dma_dealloc() localVariable
65 let flusher = kernel_mapper in dma_dealloc()
/DragonOS-0.1.8/kernel/src/mm/
Dc_adapter.rs18 allocator::page_frame::PageFrameCount, kernel_mapper::KernelMapper, no_init::pseudo_map_phys,
49 let mut kernel_mapper = KernelMapper::lock(); in rs_map_phys() localVariable
50 let mut kernel_mapper = kernel_mapper.as_mut(); in rs_map_phys() localVariable
51 assert!(kernel_mapper.is_some()); in rs_map_phys()
53 let flusher = kernel_mapper in rs_map_phys()
Dmmio_buddy.rs2 use crate::mm::kernel_mapper::KernelMapper;
545 let mut kernel_mapper = bindings.as_mut(); in release_mmio() localVariable
546 if kernel_mapper.is_none() { in release_mmio()
553 kernel_mapper in release_mmio()
Dmod.rs26 pub mod kernel_mapper; module
/DragonOS-0.1.8/kernel/src/driver/pci/
Dpci.rs8 use crate::mm::kernel_mapper::KernelMapper;
652 let mut kernel_mapper = KernelMapper::lock(); in map() localVariable
654 assert!(kernel_mapper in map()
657 drop(kernel_mapper); in map()
1443 let mut kernel_mapper = KernelMapper::lock(); in pci_bar_init() localVariable
1445 assert!(kernel_mapper in pci_bar_init()
1448 drop(kernel_mapper); in pci_bar_init()
/DragonOS-0.1.8/kernel/src/arch/x86_64/mm/
Dmod.rs24 use crate::mm::kernel_mapper::KernelMapper;