/DragonOS/kernel/src/driver/net/ |
H A D | dma.rs | 32 let flusher = kernel_mapper in dma_alloc() localVariable 35 flusher.flush(); in dma_alloc() 54 let flusher = kernel_mapper in dma_dealloc() localVariable 57 flusher.flush(); in dma_dealloc()
|
/DragonOS/kernel/src/driver/virtio/ |
H A D | virtio_impl.rs | 39 let flusher = kernel_mapper in dma_alloc() localVariable 42 flusher.flush(); in dma_alloc() 65 let flusher = kernel_mapper in dma_dealloc() localVariable 68 flusher.flush(); in dma_dealloc()
|
/DragonOS/kernel/src/arch/riscv64/mm/ |
H A D | init.rs | 113 let flusher = mapper in riscv_mm_init() localVariable 117 flusher.ignore(); in riscv_mm_init() 192 let flusher = mapper in remap_at_low_address() localVariable 196 flusher.ignore(); in remap_at_low_address() 211 let (_, _, flusher) = mapper in unmap_at_low_address() 217 flusher.ignore(); in unmap_at_low_address()
|
/DragonOS/kernel/src/mm/ |
H A D | no_init.rs | 179 let flusher: crate::mm::page::PageFlush<MMArch> = in pseudo_map_phys_with_flags() localVariable 181 flusher.ignore(); in pseudo_map_phys_with_flags() 206 if let Some((_, _, flusher)) = mapper.unmap_phys(vaddr, true) { in pseudo_unmap_phys() 207 flusher.ignore(); in pseudo_unmap_phys()
|
H A D | ucontext.rs | 286 move |page, count, vm_flags, flags, mapper, flusher| { in map_anonymous() 288 VMA::zeroed(page, count, vm_flags, flags, mapper, flusher, None, None) in map_anonymous() 380 |page, count, vm_flags, flags, mapper, flusher| { in file_mapping() 388 flusher, in file_mapping() 474 let flusher = if self.is_current() { in mmap() localVariable 489 flusher, in mmap() 581 let mut flusher: PageFlushAll<MMArch> = PageFlushAll::new(); in munmap() localVariable 603 r.unmap(&mut self.user_mapper.utable, &mut flusher); in munmap() 623 let flusher = if self.is_current() { in mprotect() localVariable 669 r_guard.remap(new_flags, mapper, &mut *flusher)?; in mprotect() [all …]
|
H A D | kernel_mapper.rs | 117 let flusher = self.mapper.map_phys(vaddr, paddr, flags).unwrap(); in map_phys_with_size() localVariable 120 flusher.flush(); in map_phys_with_size()
|
H A D | page.rs | 1494 let (paddr, _, flusher) = self.unmap_phys(virt, unmap_parents)?; in unmap() 1496 return Some(flusher); in unmap()
|
/DragonOS/kernel/src/ipc/ |
H A D | syscall.rs | 329 let flusher: PageFlushAll<MMArch> = PageFlushAll::new(); in shmat() localVariable 339 flusher, in shmat() 370 let flusher: PageFlushAll<MMArch> = PageFlushAll::new(); in shmat() localVariable 371 vma.unmap(&mut address_write_guard.user_mapper.utable, flusher); in shmat() 459 let flusher: PageFlushAll<MMArch> = PageFlushAll::new(); in shmdt() localVariable 460 vma.unmap(&mut address_write_guard.user_mapper.utable, flusher); in shmdt()
|
/DragonOS/kernel/src/arch/x86_64/mm/ |
H A D | mod.rs | 508 let flusher = mapper in allocator_init() localVariable 512 flusher.ignore(); in allocator_init() 717 let flusher = mapper in remap_at_low_address() localVariable 721 flusher.ignore(); in remap_at_low_address() 729 let (_, _, flusher) = mapper in unmap_at_low_address() 733 flusher.ignore(); in unmap_at_low_address()
|