Home
last modified time | relevance | path

Searched refs:space_guard (Results 1 – 5 of 5) sorted by relevance

/DragonOS/kernel/src/mm/
H A Dc_adapter.rs97 let space_guard = r.unwrap(); in rs_mmio_create() localVariable
98 *res_vaddr = space_guard.vaddr().data() as u64; in rs_mmio_create()
99 *res_length = space_guard.size() as u64; in rs_mmio_create()
101 core::mem::forget(space_guard); in rs_mmio_create()
H A Dmmio_buddy.rs508 let space_guard = in create_mmio() localVariable
510 return Ok(space_guard); in create_mmio()
/DragonOS/kernel/src/driver/pci/
H A Droot.rs107 let space_guard = mmio_pool() in map() localVariable
110 let space_guard = Arc::new(space_guard); in map() localVariable
111 self.mmio_guard = Some(space_guard.clone()); in map()
113 assert!(space_guard in map()
H A Dpci.rs1362 let space_guard: Arc<MMIOSpaceGuard>; in pci_bar_init() localVariable
1368 space_guard = Arc::new(tmp); in pci_bar_init()
1371 space_guard.map_phys(paddr, size_want).is_ok(), in pci_bar_init()
1380 mmio_guard: space_guard, in pci_bar_init()
/DragonOS/kernel/src/arch/x86_64/mm/
H A Dfault.rs229 let mut space_guard = current_address_space.write_irqsave(); in do_user_addr_fault() localVariable
232 let vma = space_guard.mappings.find_nearest(address); in do_user_addr_fault()
259 space_guard in do_user_addr_fault()
291 let mapper = &mut space_guard.user_mapper.utable; in do_user_addr_fault()