Lines Matching refs:assert
133 assert!(paddr & ((1 << i) - 1) == 0); in new()
176 assert!(!page_list_paddr.is_null()); in new()
199 assert!(!page_list_paddr.is_null()); in new()
207 assert!(remain_bytes < (1 << MAX_ORDER - 1)); in new()
211 assert!(paddr & ((1 << i) - 1) == 0); in new()
227 assert!(remain_bytes == 0); in new()
228 assert!(paddr == initial_bump_offset + pages_to_buddy.data() * A::PAGE_SIZE); in new()
304 assert!(!next_page_list_addr.is_null()); in pop_front()
408 assert!(count.data().is_power_of_two()); in buddy_alloc()
485 assert!( in buddy_free()
514 assert!( 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()
631 assert!(order == MAX_ORDER - 1); in buddy_free()