Home
last modified time | relevance | path

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

/DragonOS/kernel/src/mm/allocator/
H A Dbuddy.rs187 pub fn entry_virt_addr(base_addr: PhysAddr, j: usize) -> VirtAddr { in entry_virt_addr() method
188 let entry_virt_addr = unsafe { A::phys_2_virt(Self::entry_addr(base_addr, j)) }; in entry_virt_addr() localVariable
189 return entry_virt_addr.unwrap(); in entry_virt_addr()
258 A::read(Self::entry_virt_addr( in pop_front()
266 Self::entry_virt_addr(page_list_addr, page_list.entry_num - 1), in pop_front()
411 let entry_virt_addr = Self::entry_virt_addr(page_list_paddr, i); in buddy_free() localVariable
412 let entry: PhysAddr = unsafe { A::read(entry_virt_addr) }; in buddy_free()
415 buddy_entry_virt_vaddr = Some(entry_virt_addr); in buddy_free()
451 A::read(Self::entry_virt_addr( in buddy_free()
463 Self::entry_virt_addr(page_list_paddr, page_list.entry_num - 1), in buddy_free()
[all …]