Searched refs:bump_allocator (Results 1 – 2 of 2) sorted by relevance
76 pub unsafe fn new(mut bump_allocator: BumpAllocator<A>) -> Option<Self> { in new()77 let initial_free_pages = bump_allocator.usage().free(); in new()93 let curr_page = bump_allocator.allocate_one(); in new()105 let curr_page = bump_allocator.allocate_one().unwrap(); in new()119 let initial_bump_offset = bump_allocator.offset(); in new()120 let pages_to_buddy = bump_allocator.usage().free(); in new()
328 let mut bump_allocator = in allocator_init() localVariable332 bump_allocator.offset() in allocator_init()347 &mut bump_allocator, in allocator_init()389 bump_allocator.offset() / 1024 in allocator_init()393 let buddy_allocator = unsafe { BuddyAllocator::<X86_64MMArch>::new(bump_allocator).unwrap() }; in allocator_init()