Searched refs:allocator (Results 1 – 13 of 13) sorted by relevance
/DragonOS-0.1.8/kernel/src/arch/x86_64/mm/ |
D | mod.rs | 17 use crate::mm::allocator::page_frame::{FrameAllocator, PageFrameCount}; 21 mm::allocator::{buddy::BuddyAllocator, bump::BumpAllocator}, 531 count: crate::mm::allocator::page_frame::PageFrameCount, in allocate() 533 if let Some(ref mut allocator) = *INNER_ALLOCATOR.lock_irqsave() { in allocate() 534 return allocator.allocate(count); in allocate() 543 count: crate::mm::allocator::page_frame::PageFrameCount, in free() 546 if let Some(ref mut allocator) = *INNER_ALLOCATOR.lock_irqsave() { in free() 547 return allocator.free(address, count); in free() 551 unsafe fn usage(&self) -> crate::mm::allocator::page_frame::PageFrameUsage { in usage() 571 unsafe fn set_inner_allocator(allocator: BuddyAllocator<MMArch>) { in set_inner_allocator() [all …]
|
/DragonOS-0.1.8/kernel/src/mm/ |
D | page.rs | 16 allocator::page_frame::FrameAllocator, syscall::ProtFlags, MemoryManagementArch, PageTableKind, 485 pub unsafe fn new(table_kind: PageTableKind, table_paddr: PhysAddr, allocator: F) -> Self { in new() 489 frame_allocator: allocator, in new() 495 pub unsafe fn create(table_kind: PageTableKind, mut allocator: F) -> Option<Self> { in create() 496 let table_paddr = allocator.allocate_one()?; in create() 500 return Some(Self::new(table_kind, table_paddr, allocator)); in create() 505 pub unsafe fn current(table_kind: PageTableKind, allocator: F) -> Self { in current() 507 return Self::new(table_kind, table_paddr, allocator); in current() 759 allocator: &mut impl FrameAllocator, in unmap_phys_inner() 773 let result = unmap_phys_inner(vaddr, &mut subtable, unmap_parents, allocator)?; in unmap_phys_inner() [all …]
|
D | no_init.rs | 15 allocator::page_frame::{FrameAllocator, PageFrameCount, PageFrameUsage},
|
D | kernel_mapper.rs | 9 mm::allocator::page_frame::PageFrameCount,
|
D | syscall.rs | 14 allocator::page_frame::{PageFrameCount, VirtPageFrame},
|
D | c_adapter.rs | 18 allocator::page_frame::PageFrameCount, kernel_mapper::KernelMapper, no_init::pseudo_map_phys,
|
D | mod.rs | 19 allocator::page_frame::{VirtPageFrame, VirtPageFrameIter}, 24 pub mod allocator; module
|
D | ucontext.rs | 30 allocator::page_frame::{
|
/DragonOS-0.1.8/kernel/src/ |
D | lib.rs | 57 use crate::mm::allocator::kernel_allocator::KernelAllocator;
|
/DragonOS-0.1.8/kernel/src/driver/virtio/ |
D | virtio_impl.rs | 8 allocator::page_frame::{
|
/DragonOS-0.1.8/kernel/src/mm/allocator/ |
D | buddy.rs | 7 use crate::mm::allocator::bump::BumpAllocator; 8 use crate::mm::allocator::page_frame::{FrameAllocator, PageFrameCount, PageFrameUsage}; 231 let allocator = Self { in new() localVariable 236 Some(allocator) in new()
|
/DragonOS-0.1.8/docs/community/ChangeLog/V0.1.x/ |
D | V0.1.1.md | 268 * 实现了全局的allocator
|
/DragonOS-0.1.8/kernel/src/libs/ |
D | elf.rs | 17 allocator::page_frame::{PageFrameCount, VirtPageFrame},
|