Home
last modified time | relevance | path

Searched refs:FreeBlock (Results 1 – 1 of 1) sorted by relevance

/DragonOS-0.1.8/kernel/src/mm/allocator/
Dslab.rs53 let ptr = ptr as *mut FreeBlock; in free()
62 head: Option<&'static mut FreeBlock>,
70 let new_block = (start_addr + i * block_size) as *mut FreeBlock; in new()
85 fn pop(&mut self) -> Option<&'static mut FreeBlock> { in pop() argument
96 fn push(&mut self, free_block: &'static mut FreeBlock) { in push() argument
113 struct FreeBlock { struct
114 next: Option<&'static mut FreeBlock>, argument
117 impl FreeBlock { impl