Searched refs:order (Results 1 – 3 of 3) sorted by relevance
640 static struct page *kimage_alloc_pages(gfp_t gfp_mask, unsigned int order) in kimage_alloc_pages() argument644 pages = alloc_pages(gfp_mask, order); in kimage_alloc_pages()648 set_page_private(pages, order); in kimage_alloc_pages()649 count = 1 << order; in kimage_alloc_pages()659 unsigned int order, count, i; in kimage_free_pages() local661 order = page_private(page); in kimage_free_pages()662 count = 1 << order; in kimage_free_pages()665 __free_pages(page, order); in kimage_free_pages()682 unsigned int order) in kimage_alloc_normal_control_pages() argument701 count = 1 << order; in kimage_alloc_normal_control_pages()[all …]
2664 int order; in ftrace_allocate_records() local2670 order = get_count_order(DIV_ROUND_UP(count, ENTRIES_PER_PAGE)); in ftrace_allocate_records()2676 while ((PAGE_SIZE << order) / ENTRY_SIZE >= count + ENTRIES_PER_PAGE) in ftrace_allocate_records()2677 order--; in ftrace_allocate_records()2680 pg->records = (void *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, order); in ftrace_allocate_records()2684 if (!order) in ftrace_allocate_records()2686 order >>= 1; in ftrace_allocate_records()2690 cnt = (PAGE_SIZE << order) / ENTRY_SIZE; in ftrace_allocate_records()2704 int order; in ftrace_allocate_pages() local2740 order = get_count_order(pg->size / ENTRIES_PER_PAGE); in ftrace_allocate_pages()[all …]
250 In order to use APM, you will need supporting software. For location