Lines Matching refs:order
435 static struct page *rb_alloc_aux_page(int node, int order) in rb_alloc_aux_page() argument
439 if (order > MAX_ORDER) in rb_alloc_aux_page()
440 order = MAX_ORDER; in rb_alloc_aux_page()
443 page = alloc_pages_node(node, PERF_AUX_GFP, order); in rb_alloc_aux_page()
444 } while (!page && order--); in rb_alloc_aux_page()
446 if (page && order) { in rb_alloc_aux_page()
453 split_page(page, order); in rb_alloc_aux_page()
455 set_page_private(page, order); in rb_alloc_aux_page()
507 int last, order; in rb_alloc_aux() local
509 order = min(max_order, ilog2(nr_pages - rb->aux_nr_pages)); in rb_alloc_aux()
510 page = rb_alloc_aux_page(node, order); in rb_alloc_aux()