Lines Matching refs:entry_num
26 entry_num: usize, field
35 entry_num: self.entry_num, in clone()
46 entry_num: 0, in empty()
51 fn new(entry_num: usize, next_page: PhysAddr) -> Self { in new()
53 entry_num, in new()
142 Self::entry_virt_addr(page_list_paddr, page_list.entry_num), in new()
145 page_list.entry_num += 1; in new()
167 Self::entry_virt_addr(page_list_paddr, page_list.entry_num), in new()
170 page_list.entry_num += 1; in new()
184 Self::entry_virt_addr(page_list_paddr, page_list.entry_num), in new()
187 page_list.entry_num += 1; in new()
216 Self::entry_virt_addr(page_list_paddr, page_list.entry_num), in new()
219 page_list.entry_num += 1; in new()
286 while page_list.entry_num == 0 { in pop_front()
310 if page_list.entry_num > 0 { in pop_front()
314 page_list.entry_num - 1, in pop_front()
320 Self::entry_virt_addr(page_list_addr, page_list.entry_num - 1), in pop_front()
329 page_list.entry_num - 1 in pop_front()
335 page_list.entry_num -= 1; in pop_front()
336 let tmp_current_entry_num = page_list.entry_num; in pop_front()
337 if page_list.entry_num == 0 { in pop_front()
465 for i in 0..page_list.entry_num { in buddy_free()
486 page_list.entry_num <= Self::BUDDY_ENTRIES, in buddy_free()
491 if first_page_list.entry_num == Self::BUDDY_ENTRIES { in buddy_free()
537 assert!(second.entry_num == Self::BUDDY_ENTRIES - 1); in buddy_free()
546 assert!(page_list.entry_num < Self::BUDDY_ENTRIES); in buddy_free()
548 unsafe { A::write(Self::entry_virt_addr(paddr, page_list.entry_num), base) } in buddy_free()
549 page_list.entry_num += 1; in buddy_free()
563 while page_list.entry_num == 0 { in buddy_free()
578 page_list.entry_num - 1, in buddy_free()
588 Self::entry_virt_addr(page_list_paddr, page_list.entry_num - 1), in buddy_free()
593 page_list.entry_num -= 1; in buddy_free()
600 page_list.entry_num - 1, in buddy_free()
610 Self::entry_virt_addr(page_list_paddr, page_list.entry_num - 1), in buddy_free()
617 Self::entry_virt_addr(page_list_paddr, page_list.entry_num - 1), in buddy_free()
623 page_list.entry_num -= 1; in buddy_free()