| /linux/tools/testing/vma/linux/ |
| H A D | mmzone.h | 21 #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 D | mmzone.h | 21 #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 D | mmzone.h | 31 #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 D | shuffle.h | 9 #define SHUFFLE_ORDER MAX_PAGE_ORDER
|
| H A D | debug_page_alloc.c | 25 if (!buf || kstrtouint(buf, 10, &res) < 0 || res > MAX_PAGE_ORDER / 2) { in debug_guardpage_minorder_setup()
|
| H A D | page_reporting.c | 24 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 D | page_alloc.c | 895 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 D | hugetlb_cma.c | 260 VM_WARN_ON(order <= MAX_PAGE_ORDER); in hugetlb_cma_reserve()
|
| H A D | Kconfig | 330 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 D | sgl.c | 76 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 D | ring_buffer.c | 627 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 D | i915_gem_internal.c | 38 int max_order = MAX_PAGE_ORDER; in i915_gem_object_get_pages_internal()
|
| /linux/arch/sparc/mm/ |
| H A D | tsb.c | 405 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 D | file-nommu.c | 76 if (unlikely(order > MAX_PAGE_ORDER)) in ramfs_nommu_expand_for_mapping()
|
| /linux/Documentation/networking/ |
| H A D | packet_mmap.rst | 267 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 D | iommu_api.c | 100 chunk = (1UL << (PAGE_SHIFT + MAX_PAGE_ORDER)) / in mm_iommu_do_alloc()
|
| /linux/kernel/dma/ |
| H A D | pool.c | 96 order = min(get_order(pool_size), MAX_PAGE_ORDER); in atomic_pool_expand()
|
| H A D | swiotlb.c | 844 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 D | Kconfig | 55 contiguous allocations. The limit is called MAX_PAGE_ORDER and it
|
| /linux/io_uring/ |
| H A D | memmap.c | 27 if (order > MAX_PAGE_ORDER) in io_mem_alloc_compound()
|
| /linux/tools/perf/ |
| H A D | builtin-kmem.c | 287 #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 D | core.c | 2120 if (order > MAX_PAGE_ORDER) in futex_init() 2135 order > MAX_PAGE_ORDER ? "vmalloc" : "linear"); in futex_init()
|
| /linux/drivers/md/ |
| H A D | dm-flakey.c | 452 order = MAX_PAGE_ORDER; in clone_bio()
|
| /linux/security/integrity/ima/ |
| H A D | ima_crypto.c | |
| /linux/tools/testing/vsock/ |
| H A D | vsock_test.c | 1742 #define MAX_PAGE_ORDER 10 /* usually */ macro 1777 if (ctl_len > PAGE_SIZE << MAX_PAGE_ORDER) { in test_stream_msgzcopy_leak_zcskb_client()
|