Searched refs:page_count (Results 1 – 4 of 4) sorted by relevance
/DragonOS-0.1.8/kernel/src/mm/ |
D | syscall.rs | 183 let page_count = PageFrameCount::new(len / MMArch::PAGE_SIZE); in munmap() localVariable 187 .munmap(start_frame, page_count) in munmap() 218 let page_count = PageFrameCount::new(len / MMArch::PAGE_SIZE); in mprotect() localVariable 222 .mprotect(start_frame, page_count, prot_flags) in mprotect()
|
D | ucontext.rs | 306 page_count: PageFrameCount, in mmap() 311 if page_count == PageFrameCount::new(0) { in mmap() 320 .find_free_at(self.mmap_min, vaddr, page_count.bytes(), map_flags)? in mmap() 324 .find_free(self.mmap_min, page_count.bytes()) in mmap() 347 page_count, in mmap() 370 page_count: PageFrameCount, in munmap() 372 let to_unmap = VirtRegion::new(start_page.virt_address(), page_count.bytes()); in munmap() 406 page_count: PageFrameCount, in mprotect() 424 let region = VirtRegion::new(start_page.virt_address(), page_count.bytes()); in mprotect() 1083 page_count: PageFrameCount, in zeroed() [all …]
|
D | mmio_buddy.rs | 542 let page_count = length / MMArch::PAGE_SIZE; in release_mmio() localVariable 551 for i in 0..page_count { in release_mmio()
|
/DragonOS-0.1.8/kernel/src/driver/virtio/ |
D | virtio_impl.rs | 57 let page_count = PageFrameCount::new( in dma_dealloc() localVariable 71 deallocate_page_frames(PhysPageFrame::new(PhysAddr::new(paddr)), page_count); in dma_dealloc()
|