Lines Matching full:order
129 int order = ilog2(queue->pagesize) - 9; in alloc_small_queue_page() local
135 if (!list_empty(&pd->free[order])) in alloc_small_queue_page()
136 page = list_entry(pd->free[order].next, in alloc_small_queue_page()
149 list_add(&page->list, &pd->free[order]); in alloc_small_queue_page()
152 bit = find_first_zero_bit(page->bitmap, IPZ_SPAGE_PER_KPAGE >> order); in alloc_small_queue_page()
156 if (page->fill == IPZ_SPAGE_PER_KPAGE >> order) in alloc_small_queue_page()
157 list_move(&page->list, &pd->full[order]); in alloc_small_queue_page()
161 queue->queue_pages[0] = (void *)(page->page | (bit << (order + 9))); in alloc_small_queue_page()
163 queue->offset = bit << (order + 9); in alloc_small_queue_page()
174 int order = ilog2(queue->pagesize) - 9; in free_small_queue_page() local
180 >> (order + 9); in free_small_queue_page()
192 if (page->fill == (IPZ_SPAGE_PER_KPAGE >> order) - 1) in free_small_queue_page()
194 list_move_tail(&page->list, &pd->free[order]); in free_small_queue_page()