Searched refs:MmioBuddyAddrRegion (Results 1 – 2 of 2) sorted by relevance
61 fn create_region(&self, vaddr: u64) -> Box<MmioBuddyAddrRegion> { in create_region() argument62 let mut region: Box<MmioBuddyAddrRegion> = Box::new(MmioBuddyAddrRegion::new()); in create_region()83 let region: Box<MmioBuddyAddrRegion> = self.create_region(vaddr); in give_back_block()100 region: Box<MmioBuddyAddrRegion>, in split_block() argument105 let new_region: Box<MmioBuddyAddrRegion> = self.create_region(vaddr); in split_block()126 ) -> Result<Box<MmioBuddyAddrRegion>, MmioResult> { in query_addr_region() argument264 ) -> Result<Box<MmioBuddyAddrRegion>, MmioResult> { in mmio_buddy_query_addr_region() argument282 region: Box<MmioBuddyAddrRegion>, in push_block() argument312 ) -> Result<Box<MmioBuddyAddrRegion>, MmioResult> { in pop_buddy_block() argument320 let mut element: Vec<Box<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…