/linux-6.1.9/tools/testing/memblock/linux/ |
D | mmzone.h | 20 #define MAX_ORDER 11 macro 21 #define MAX_ORDER_NR_PAGES (1 << (MAX_ORDER - 1)) 23 #define pageblock_order (MAX_ORDER - 1)
|
/linux-6.1.9/drivers/gpu/drm/ttm/ |
D | ttm_pool.c | 67 static struct ttm_pool_type global_write_combined[MAX_ORDER]; 68 static struct ttm_pool_type global_uncached[MAX_ORDER]; 70 static struct ttm_pool_type global_dma32_write_combined[MAX_ORDER]; 71 static struct ttm_pool_type global_dma32_uncached[MAX_ORDER]; 385 for (order = min_t(unsigned int, MAX_ORDER - 1, __fls(num_pages)); in ttm_pool_alloc() 510 for (j = 0; j < MAX_ORDER; ++j) in ttm_pool_init() 530 for (j = 0; j < MAX_ORDER; ++j) in ttm_pool_fini() 584 for (i = 0; i < MAX_ORDER; ++i) in ttm_pool_debugfs_header() 595 for (i = 0; i < MAX_ORDER; ++i) in ttm_pool_debugfs_orders() 704 for (i = 0; i < MAX_ORDER; ++i) { in ttm_pool_mgr_init() [all …]
|
/linux-6.1.9/mm/kmsan/ |
D | init.c | 99 static struct metadata_page_pair held_back[MAX_ORDER] __initdata; 144 .order = MAX_ORDER, 214 collect.order = MAX_ORDER - 1; in kmsan_memblock_discard() 215 for (int i = MAX_ORDER - 1; i >= 0; i--) { in kmsan_memblock_discard()
|
/linux-6.1.9/include/linux/ |
D | pageblock-flags.h | 44 #define pageblock_order min_t(unsigned int, HUGETLB_PAGE_ORDER, MAX_ORDER - 1) 51 #define pageblock_order (MAX_ORDER-1)
|
D | mmzone.h | 28 #define MAX_ORDER 11 macro 30 #define MAX_ORDER CONFIG_ARCH_FORCE_MAX_ORDER macro 32 #define MAX_ORDER_NR_PAGES (1 << (MAX_ORDER - 1)) 95 for (order = 0; order < MAX_ORDER; order++) \ 823 struct free_area free_area[MAX_ORDER]; 1592 #if (MAX_ORDER - 1 + PAGE_SHIFT) > SECTION_SIZE_BITS 1593 #error Allocator MAX_ORDER exceeds SECTION_SIZE
|
D | slab.h | 272 #define KMALLOC_SHIFT_MAX (MAX_ORDER + PAGE_SHIFT - 1) 280 #define KMALLOC_SHIFT_MAX (MAX_ORDER + PAGE_SHIFT - 1) 293 #define KMALLOC_SHIFT_MAX (MAX_ORDER + PAGE_SHIFT - 1)
|
/linux-6.1.9/arch/arm64/kvm/hyp/include/nvhe/ |
D | gfp.h | 19 struct list_head free_area[MAX_ORDER];
|
/linux-6.1.9/mm/ |
D | shuffle.h | 7 #define SHUFFLE_ORDER (MAX_ORDER-1)
|
D | page_reporting.c | 14 unsigned int page_reporting_order = MAX_ORDER; 247 for (order = page_reporting_order; order < MAX_ORDER; order++) { in page_reporting_process_zone()
|
D | vmstat.c | 1058 for (order = 0; order < MAX_ORDER; order++) { in fill_contig_page_info() 1091 if (WARN_ON_ONCE(order >= MAX_ORDER)) in __fragmentation_index() 1462 for (order = 0; order < MAX_ORDER; ++order) in frag_show_print() 1491 for (order = 0; order < MAX_ORDER; ++order) { in pagetypeinfo_showfree_print() 1531 for (order = 0; order < MAX_ORDER; ++order) in pagetypeinfo_showfree() 2153 for (order = 0; order < MAX_ORDER; ++order) { in unusable_show_print() 2205 for (order = 0; order < MAX_ORDER; ++order) { in extfrag_show_print()
|
D | page_owner.c | 316 if (freepage_order < MAX_ORDER) in pagetypeinfo_showmixedcount_print() 550 if (freepage_order < MAX_ORDER) in read_page_owner() 658 if (order > 0 && order < MAX_ORDER) in init_pages_in_zone()
|
D | page_isolation.c | 229 if (order >= pageblock_order && order < MAX_ORDER - 1) { in unset_migratetype_isolate() 462 if (++order >= MAX_ORDER) in isolate_single_pageblock()
|
D | page_alloc.c | 854 if (kstrtoul(buf, 10, &res) < 0 || res > MAX_ORDER / 2) { in debug_guardpage_minorder_setup() 1077 if (order >= MAX_ORDER - 2) in buddy_merge_likely() 1132 while (order < MAX_ORDER - 1) { in __free_one_page() 2569 for (current_order = order; current_order < MAX_ORDER; ++current_order) { in __rmqueue_smallest() 2944 for (order = 0; order < MAX_ORDER; order++) { in unreserve_highatomic_pageblock() 3028 for (current_order = MAX_ORDER - 1; current_order >= min_order; in __rmqueue_fallback() 3054 for (current_order = order; current_order < MAX_ORDER; in __rmqueue_fallback() 3067 VM_BUG_ON(current_order == MAX_ORDER); in __rmqueue_fallback() 4016 for (o = order; o < MAX_ORDER; o++) { in __zone_watermark_ok() 5534 if (WARN_ON_ONCE_GFP(order >= MAX_ORDER, gfp)) in __alloc_pages() [all …]
|
/linux-6.1.9/include/drm/ttm/ |
D | ttm_pool.h | 75 struct ttm_pool_type orders[MAX_ORDER];
|
/linux-6.1.9/drivers/base/regmap/ |
D | regmap-debugfs.c | 229 if (count > (PAGE_SIZE << (MAX_ORDER - 1))) in regmap_read_debugfs() 230 count = PAGE_SIZE << (MAX_ORDER - 1); in regmap_read_debugfs() 376 if (count > (PAGE_SIZE << (MAX_ORDER - 1))) in regmap_reg_ranges_read_file() 377 count = PAGE_SIZE << (MAX_ORDER - 1); in regmap_reg_ranges_read_file()
|
/linux-6.1.9/drivers/crypto/hisilicon/ |
D | sgl.c | 76 block_size = 1 << (PAGE_SHIFT + MAX_ORDER <= 32 ? in hisi_acc_create_sgl_pool() 77 PAGE_SHIFT + MAX_ORDER - 1 : 31); in hisi_acc_create_sgl_pool()
|
/linux-6.1.9/kernel/events/ |
D | ring_buffer.c | 612 if (order > MAX_ORDER) in rb_alloc_aux_page() 613 order = MAX_ORDER; in rb_alloc_aux_page() 817 if (order_base_2(size) >= PAGE_SHIFT+MAX_ORDER) in rb_alloc()
|
/linux-6.1.9/drivers/gpu/drm/i915/gem/ |
D | i915_gem_internal.c | 40 int max_order = MAX_ORDER; in i915_gem_object_get_pages_internal()
|
/linux-6.1.9/arch/ia64/mm/ |
D | hugetlbpage.c | 188 size >= (1UL << PAGE_SHIFT << MAX_ORDER)) { in hugetlb_setup_sz()
|
/linux-6.1.9/arch/sparc/mm/ |
D | tsb.c | 405 if (max_tsb_size > (PAGE_SIZE << MAX_ORDER)) in tsb_grow() 406 max_tsb_size = (PAGE_SIZE << MAX_ORDER); in tsb_grow()
|
/linux-6.1.9/fs/ramfs/ |
D | file-nommu.c | 73 if (unlikely(order >= MAX_ORDER)) in ramfs_nommu_expand_for_mapping()
|
/linux-6.1.9/arch/arm64/kvm/hyp/nvhe/ |
D | page_alloc.c | 244 pool->max_order = min(MAX_ORDER, get_order((nr_pages + 1) << PAGE_SHIFT)); in hyp_pool_init()
|
/linux-6.1.9/kernel/dma/ |
D | pool.c | 88 order = min(get_order(pool_size), MAX_ORDER-1); in atomic_pool_expand()
|
/linux-6.1.9/Documentation/networking/ |
D | packet_mmap.rst | 266 region allocated by __get_free_pages is determined by the MAX_ORDER macro. More 269 PAGE_SIZE << MAX_ORDER 272 In a 2.4/i386 kernel MAX_ORDER is 10 273 In a 2.6/i386 kernel MAX_ORDER is 11 279 /usr/include/linux/mmzone.h to get PAGE_SIZE MAX_ORDER declarations. 327 <max-order> is the value defined with MAX_ORDER
|
/linux-6.1.9/arch/um/kernel/ |
D | um_arch.c | 374 max_physmem &= ~((1 << (PAGE_SHIFT + MAX_ORDER)) - 1); in linux_main()
|