Home
last modified time | relevance | path

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

/DragonOS/kernel/src/mm/
H A Dfault.rs256 let mut page_manager_guard = page_manager_lock_irqsave(); in do_anonymous_page() localVariable
257 let page = page_manager_guard.get_unwrap(&paddr); in do_anonymous_page()
329 let mut page_manager_guard = page_manager_lock_irqsave(); in do_cow_fault() localVariable
332 page_manager_guard.insert(cow_page_phys, &cow_page); in do_cow_fault()
467 let mut page_manager_guard = page_manager_lock_irqsave(); in do_wp_page() localVariable
468 let old_page = page_manager_guard.get_unwrap(&old_paddr); in do_wp_page()
475 let page = page_manager_guard.get_unwrap(&paddr); in do_wp_page()
490 let mut page_manager_guard = page_manager_lock_irqsave(); in do_wp_page() localVariable
491 let old_page = page_manager_guard.get_unwrap(&old_paddr); in do_wp_page()
498 let page = page_manager_guard.get_unwrap(&paddr); in do_wp_page()
H A Ducontext.rs191 let mut page_manager_guard = page_manager_lock_irqsave(); in try_clone() localVariable
194 let page = page_manager_guard.get_unwrap(&paddr); in try_clone()
199 drop(page_manager_guard); in try_clone()
1159 let mut page_manager_guard: SpinLockGuard<'_, crate::mm::page::PageManager> = in unmap() localVariable
1169 let page = page_manager_guard.get_unwrap(&paddr); in unmap()
1179 &mut page_manager_guard, in unmap()
1252 let mut page_manager_guard = page_manager_lock_irqsave(); in extract() localVariable
1257 let page = page_manager_guard.get_unwrap(&paddr); in extract()
1270 let page = page_manager_guard.get_unwrap(&paddr); in extract()
1578 let mut page_manager_guard = page_manager_lock_irqsave(); in physmap() localVariable
[all …]
H A Dpage.rs635 let mut page_manager_guard = page_manager_lock_irqsave(); in clone() localVariable
637 let old_page = page_manager_guard.get_unwrap(&old_phys); in clone()
647 page_manager_guard.insert(phys, &new_page); in clone()
1192 let mut page_manager_guard: SpinLockGuard<'static, PageManager> = in map() localVariable
1194 if !page_manager_guard.contains(&phys) { in map()
1195 page_manager_guard.insert(phys, &Arc::new(Page::new(false, phys))) in map()
1197 drop(page_manager_guard); in map()
/DragonOS/kernel/src/ipc/
H A Dshm.rs165 let mut page_manager_guard = page_manager_lock_irqsave(); in add() localVariable
171 page_manager_guard.insert(paddr, &page); in add()
323 let mut page_manager_guard = page_manager_lock_irqsave(); in ipc_rmid() localVariable
327 let page = page_manager_guard.get_unwrap(&cur_phys.phys_address()); in ipc_rmid()
343 page_manager_guard.remove_page(&paddr); in ipc_rmid()
439 let mut page_manager_guard = page_manager_lock_irqsave(); in map_count() localVariable
445 let page = page_manager_guard.get(&cur_phys.phys_address()).unwrap(); in map_count()
H A Dsyscall.rs374 let mut page_manager_guard = page_manager_lock_irqsave(); in shmat() localVariable
388 page_manager_guard in shmat()
444 let mut page_manager_guard = page_manager_lock_irqsave(); in shmdt() localVariable
445 let page = page_manager_guard.get(&paddr).ok_or(SystemError::EINVAL)?; in shmdt()
447 drop(page_manager_guard); in shmdt()
/DragonOS/kernel/src/perf/
H A Dbpf.rs239 let mut page_manager_guard = page_manager_lock_irqsave(); in do_mmap() localVariable
244 page_manager_guard.insert(paddr, &page); in do_mmap()
265 let mut page_manager_guard = page_manager_lock_irqsave(); in drop() localVariable
272 page_manager_guard.remove_page(&cur_phys.phys_address()); in drop()
/DragonOS/kernel/src/mm/allocator/
H A Dpage_frame.rs361 page_manager_guard: &mut SpinLockGuard<'_, crate::mm::page::PageManager>, in deallocate_page_frames()
370 let page = page_manager_guard.get(&paddr); in deallocate_page_frames()
381 page_manager_guard.remove_page(&paddr); in deallocate_page_frames()