Home
last modified time | relevance | path

Searched refs:MAX_ORDER (Results 1 – 25 of 63) sorted by relevance

123

/linux-6.1.9/tools/testing/memblock/linux/
Dmmzone.h20 #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/
Dttm_pool.c67 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/
Dinit.c99 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/
Dpageblock-flags.h44 #define pageblock_order min_t(unsigned int, HUGETLB_PAGE_ORDER, MAX_ORDER - 1)
51 #define pageblock_order (MAX_ORDER-1)
Dmmzone.h28 #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
Dslab.h272 #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/
Dgfp.h19 struct list_head free_area[MAX_ORDER];
/linux-6.1.9/mm/
Dshuffle.h7 #define SHUFFLE_ORDER (MAX_ORDER-1)
Dpage_reporting.c14 unsigned int page_reporting_order = MAX_ORDER;
247 for (order = page_reporting_order; order < MAX_ORDER; order++) { in page_reporting_process_zone()
Dvmstat.c1058 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()
Dpage_owner.c316 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()
Dpage_isolation.c229 if (order >= pageblock_order && order < MAX_ORDER - 1) { in unset_migratetype_isolate()
462 if (++order >= MAX_ORDER) in isolate_single_pageblock()
Dpage_alloc.c854 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/
Dttm_pool.h75 struct ttm_pool_type orders[MAX_ORDER];
/linux-6.1.9/drivers/base/regmap/
Dregmap-debugfs.c229 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/
Dsgl.c76 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/
Dring_buffer.c612 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/
Di915_gem_internal.c40 int max_order = MAX_ORDER; in i915_gem_object_get_pages_internal()
/linux-6.1.9/arch/ia64/mm/
Dhugetlbpage.c188 size >= (1UL << PAGE_SHIFT << MAX_ORDER)) { in hugetlb_setup_sz()
/linux-6.1.9/arch/sparc/mm/
Dtsb.c405 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/
Dfile-nommu.c73 if (unlikely(order >= MAX_ORDER)) in ramfs_nommu_expand_for_mapping()
/linux-6.1.9/arch/arm64/kvm/hyp/nvhe/
Dpage_alloc.c244 pool->max_order = min(MAX_ORDER, get_order((nr_pages + 1) << PAGE_SHIFT)); in hyp_pool_init()
/linux-6.1.9/kernel/dma/
Dpool.c88 order = min(get_order(pool_size), MAX_ORDER-1); in atomic_pool_expand()
/linux-6.1.9/Documentation/networking/
Dpacket_mmap.rst266 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/
Dum_arch.c374 max_physmem &= ~((1 << (PAGE_SHIFT + MAX_ORDER)) - 1); in linux_main()

123