Searched refs:MmioBuddyAddrRegion (Results 1 – 2 of 2) sorted by relevance
95 fn create_region(&self, vaddr: VirtAddr) -> MmioBuddyAddrRegion { in create_region() argument98 let region: MmioBuddyAddrRegion = MmioBuddyAddrRegion::new(vaddr); in create_region()120 let region: MmioBuddyAddrRegion = self.create_region(vaddr); in give_back_block()137 region: MmioBuddyAddrRegion, in split_block() argument142 let new_region: MmioBuddyAddrRegion = self.create_region(vaddr); in split_block()163 ) -> Result<MmioBuddyAddrRegion, MmioResult> { in query_addr_region() argument298 fn mmio_buddy_query_addr_region(&self, exp: u32) -> Result<MmioBuddyAddrRegion, MmioResult> { in mmio_buddy_query_addr_region() argument316 region: MmioBuddyAddrRegion, in push_block() argument346 ) -> Result<MmioBuddyAddrRegion, MmioResult> { in pop_buddy_block() argument354 let mut element: Vec<MmioBuddyAddrRegion> = list_guard in pop_buddy_block()[all …]
97 │ │ └────────┘ │ MmioBuddyAddrRegion │141 list: LinkedList<Box<MmioBuddyAddrRegion>>,147 pub struct MmioBuddyAddrRegion {156 …`MMIO_BUDDY_REGION_COUNT`的双向链表数组(free_regions)。`free_regions`中的各个链表维护了若干空闲内存块(MmioBuddyAddrRegion)。162   `MmioFreeRegionList`中的元素类型为`MmioBuddyAddrRegion`结构体,`MmioBuddyAddrRegion`记录了内存块的起始地址(va…