Home
last modified time | relevance | path

Searched refs:MAX_PAGE_ORDER (Results 1 – 25 of 55) sorted by relevance

123

/linux/tools/testing/vma/linux/
H A Dmmzone.h21 #define MAX_PAGE_ORDER 10 macro
22 #define MAX_ORDER_NR_PAGES (1 << MAX_PAGE_ORDER)
24 #define pageblock_order MAX_PAGE_ORDER
/linux/tools/testing/memblock/linux/
H A Dmmzone.h21 #define MAX_PAGE_ORDER 10 macro
22 #define MAX_ORDER_NR_PAGES (1 << MAX_PAGE_ORDER)
24 #define pageblock_order MAX_PAGE_ORDER
/linux/include/linux/
H A Dmmzone.h31 #define MAX_PAGE_ORDER 10 macro
33 #define MAX_PAGE_ORDER CONFIG_ARCH_FORCE_MAX_ORDER macro
35 #define MAX_ORDER_NR_PAGES (1 << MAX_PAGE_ORDER)
39 #define NR_PAGE_ORDERS (MAX_PAGE_ORDER + 1)
43 #define PAGE_BLOCK_MAX_ORDER MAX_PAGE_ORDER
53 #if (PAGE_BLOCK_MAX_ORDER > MAX_PAGE_ORDER)
54 #error MAX_PAGE_ORDER must be >= PAGE_BLOCK_MAX_ORDER
70 #define MAX_FOLIO_ORDER MAX_PAGE_ORDER
1965 #if (MAX_PAGE_ORDER + PAGE_SHIFT) > SECTION_SIZE_BITS
1966 #error Allocator MAX_PAGE_ORDER exceeds SECTION_SIZE
/linux/mm/
H A Dshuffle.h9 #define SHUFFLE_ORDER MAX_PAGE_ORDER
H A Ddebug_page_alloc.c25 if (!buf || kstrtouint(buf, 10, &res) < 0 || res > MAX_PAGE_ORDER / 2) { in debug_guardpage_minorder_setup()
H A Dpage_reporting.c24 return param_set_uint_minmax(val, kp, 0, MAX_PAGE_ORDER); in page_order_update_notify()
382 prdev->order <= MAX_PAGE_ORDER) in page_reporting_register()
H A Dpage_alloc.c895 if (order >= MAX_PAGE_ORDER - 1) in buddy_merge_likely()
960 while (order < MAX_PAGE_ORDER) { in __free_one_page()
1635 if (order == MAX_PAGE_ORDER && __free_unaccepted(page)) in __free_pages_core()
2063 int order = start_pfn ? __ffs(start_pfn) : MAX_PAGE_ORDER; in find_large_buddy()
2069 if (++order > MAX_PAGE_ORDER) in find_large_buddy()
2129 if (pageblock_order == MAX_PAGE_ORDER) in __move_freepages_block_isolate()
2395 for (current_order = MAX_PAGE_ORDER; current_order >= min_order; in __rmqueue_claim()
5340 return !(WARN_ON_ONCE_GFP(order > MAX_PAGE_ORDER, gfp)); in alloc_order_allowed()
6451 VM_WARN_ON_ONCE(order > MAX_PAGE_ORDER); in free_reserved_pages()
7030 order = pfn ? __ffs(pfn) : MAX_PAGE_ORDER; in free_prepared_contig_range()
[all …]
H A Dhugetlb_cma.c260 VM_WARN_ON(order <= MAX_PAGE_ORDER); in hugetlb_cma_reserve()
H A DKconfig330 default granularity of shuffling on the MAX_PAGE_ORDER i.e, 10th
704 Note that the pageblock_order cannot exceed MAX_PAGE_ORDER and will be
705 clamped down to MAX_PAGE_ORDER.
1105 # the default page block order is MAX_PAGE_ORDER (10) as per
1118 ARCH_FORCE_MAX_ORDER/MAX_PAGE_ORDER.
1122 ARCH_FORCE_MAX_ORDER/MAX_PAGE_ORDER or other limits
/linux/drivers/crypto/hisilicon/
H A Dsgl.c76 block_size = 1 << (PAGE_SHIFT + MAX_PAGE_ORDER < 32 ? in hisi_acc_create_sgl_pool()
77 PAGE_SHIFT + MAX_PAGE_ORDER : 31); in hisi_acc_create_sgl_pool()
/linux/kernel/events/
H A Dring_buffer.c627 if (order > MAX_PAGE_ORDER) in rb_alloc_aux_page()
628 order = MAX_PAGE_ORDER; in rb_alloc_aux_page()
736 if (get_order((unsigned long)nr_pages * sizeof(void *)) > MAX_PAGE_ORDER) in rb_alloc_aux()
852 if (order_base_2(size) > PAGE_SHIFT+MAX_PAGE_ORDER) in rb_alloc()
/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_internal.c38 int max_order = MAX_PAGE_ORDER; in i915_gem_object_get_pages_internal()
/linux/arch/sparc/mm/
H A Dtsb.c405 if (max_tsb_size > PAGE_SIZE << MAX_PAGE_ORDER) in tsb_grow()
406 max_tsb_size = PAGE_SIZE << MAX_PAGE_ORDER; in tsb_grow()
/linux/fs/ramfs/
H A Dfile-nommu.c76 if (unlikely(order > MAX_PAGE_ORDER)) in ramfs_nommu_expand_for_mapping()
/linux/Documentation/networking/
H A Dpacket_mmap.rst267 region allocated by __get_free_pages is determined by the MAX_PAGE_ORDER macro.
270 PAGE_SIZE << MAX_PAGE_ORDER
273 In a 2.4/i386 kernel MAX_PAGE_ORDER is 10
274 In a 2.6/i386 kernel MAX_PAGE_ORDER is 11
280 /usr/include/linux/mmzone.h to get PAGE_SIZE MAX_PAGE_ORDER declarations.
328 <max-order> is the value defined with MAX_PAGE_ORDER
/linux/arch/powerpc/mm/book3s64/
H A Diommu_api.c100 chunk = (1UL << (PAGE_SHIFT + MAX_PAGE_ORDER)) / in mm_iommu_do_alloc()
/linux/kernel/dma/
H A Dpool.c96 order = min(get_order(pool_size), MAX_PAGE_ORDER); in atomic_pool_expand()
H A Dswiotlb.c844 if (nslabs > SLABS_PER_PAGE << MAX_PAGE_ORDER) { in swiotlb_alloc_pool()
845 nslabs = SLABS_PER_PAGE << MAX_PAGE_ORDER; in swiotlb_alloc_pool()
/linux/arch/nios2/
H A DKconfig55 contiguous allocations. The limit is called MAX_PAGE_ORDER and it
/linux/io_uring/
H A Dmemmap.c27 if (order > MAX_PAGE_ORDER) in io_mem_alloc_compound()
/linux/tools/perf/
H A Dbuiltin-kmem.c287 #define MAX_PAGE_ORDER 11
289 static int order_stats[MAX_PAGE_ORDER][MAX_MIGRATE_TYPES];
830 if (order >= MAX_PAGE_ORDER) { in evsel__process_page_alloc_event()
906 if (order >= MAX_PAGE_ORDER) { in evsel__process_page_free_event()
1241 for (o = 0; o < MAX_PAGE_ORDER; o++) { in print_page_result()
286 #define MAX_PAGE_ORDER global() macro
/linux/kernel/futex/
H A Dcore.c2120 if (order > MAX_PAGE_ORDER) in futex_init()
2135 order > MAX_PAGE_ORDER ? "vmalloc" : "linear"); in futex_init()
/linux/drivers/md/
H A Ddm-flakey.c452 order = MAX_PAGE_ORDER; in clone_bio()
/linux/security/integrity/ima/
H A Dima_crypto.c
/linux/tools/testing/vsock/
H A Dvsock_test.c1742 #define MAX_PAGE_ORDER 10 /* usually */ macro
1777 if (ctl_len > PAGE_SIZE << MAX_PAGE_ORDER) { in test_stream_msgzcopy_leak_zcskb_client()

123