Lines Matching refs:order
608 static struct page *rb_alloc_aux_page(int node, int order) in rb_alloc_aux_page() argument
612 if (order > MAX_ORDER) in rb_alloc_aux_page()
613 order = MAX_ORDER; in rb_alloc_aux_page()
616 page = alloc_pages_node(node, PERF_AUX_GFP, order); in rb_alloc_aux_page()
617 } while (!page && order--); in rb_alloc_aux_page()
619 if (page && order) { in rb_alloc_aux_page()
626 split_page(page, order); in rb_alloc_aux_page()
628 set_page_private(page, order); in rb_alloc_aux_page()
716 int last, order; in rb_alloc_aux() local
718 order = min(max_order, ilog2(nr_pages - rb->aux_nr_pages)); in rb_alloc_aux()
719 page = rb_alloc_aux_page(node, order); in rb_alloc_aux()