Home
last modified time | relevance | path

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

123

/linux/tools/testing/memblock/linux/
H A Dmmzone.h20 #define MAX_PAGE_ORDER 10 macro
21 #define MAX_ORDER_NR_PAGES (1 << MAX_PAGE_ORDER)
23 #define pageblock_order MAX_PAGE_ORDER
/linux/include/linux/
H A Dpageblock-flags.h44 #define pageblock_order MIN_T(unsigned int, HUGETLB_PAGE_ORDER, MAX_PAGE_ORDER)
50 #define pageblock_order MIN_T(unsigned int, HPAGE_PMD_ORDER, MAX_PAGE_ORDER)
55 #define pageblock_order MAX_PAGE_ORDER
H A Dmmzone.h30 #define MAX_PAGE_ORDER 10 macro
32 #define MAX_PAGE_ORDER CONFIG_ARCH_FORCE_MAX_ORDER macro
34 #define MAX_ORDER_NR_PAGES (1 << MAX_PAGE_ORDER)
38 #define NR_PAGE_ORDERS (MAX_PAGE_ORDER + 1)
1756 #if (MAX_PAGE_ORDER + PAGE_SHIFT) > SECTION_SIZE_BITS
1757 #error Allocator MAX_PAGE_ORDER exceeds SECTION_SIZE
/linux/mm/kmsan/
H A Dinit.c147 .order = MAX_PAGE_ORDER,
217 collect.order = MAX_PAGE_ORDER; in kmsan_memblock_discard()
218 for (int i = MAX_PAGE_ORDER; i >= 0; i--) { in kmsan_memblock_discard()
/linux/drivers/gpu/drm/ttm/tests/
H A Dttm_pool_test.c111 .order = MAX_PAGE_ORDER + 1,
120 .order = MAX_PAGE_ORDER + 1,
167 if (params->order <= MAX_PAGE_ORDER) { in ttm_pool_alloc_basic()
184 min_t(unsigned int, MAX_PAGE_ORDER, in ttm_pool_alloc_basic()
/linux/mm/
H A Dshuffle.h7 #define SHUFFLE_ORDER MAX_PAGE_ORDER
H A Dpage_reporting.c23 return param_set_uint_minmax(val, kp, 0, MAX_PAGE_ORDER); in page_order_update_notify()
373 if (prdev->order > 0 && prdev->order <= MAX_PAGE_ORDER) in page_reporting_register()
H A Ddebug_page_alloc.c25 if (kstrtoul(buf, 10, &res) < 0 || res > MAX_PAGE_ORDER / 2) { in debug_guardpage_minorder_setup()
H A Dpage_isolation.c225 if (order >= pageblock_order && order < MAX_PAGE_ORDER) { in unset_migratetype_isolate()
292 * Free and in-use pages can be as big as MAX_PAGE_ORDER and contain more than one
295 * MAX_PAGE_ORDER = pageblock_order + 1, a MAX_PAGE_ORDER page has two
297 * [ MAX_PAGE_ORDER ]
629 * Note: pageblock_nr_pages != MAX_PAGE_ORDER. Then, chunks of free in __test_page_isolated_in_pageblock()
H A Dpage_owner.c456 if (freepage_order <= MAX_PAGE_ORDER) in pagetypeinfo_showmixedcount_print()
691 if (freepage_order <= MAX_PAGE_ORDER) in read_page_owner()
799 if (order > 0 && order <= MAX_PAGE_ORDER) in init_pages_in_zone()
H A Dpage_alloc.c729 if (order >= MAX_PAGE_ORDER - 1) in buddy_merge_likely()
783 while (order < MAX_PAGE_ORDER) { in __free_one_page()
1270 if (order == MAX_PAGE_ORDER && __free_unaccepted(page)) in __free_pages_core()
1300 * of the pfn range). For example, if the pageblock order is MAX_PAGE_ORDER, which
1688 if (++order > MAX_PAGE_ORDER) in find_large_buddy()
1752 if (pageblock_order == MAX_PAGE_ORDER) in move_freepages_block_isolate()
2167 for (current_order = MAX_PAGE_ORDER; current_order >= min_order; in __rmqueue_fallback()
2205 VM_BUG_ON(current_order > MAX_PAGE_ORDER); in __rmqueue_fallback()
4678 if (WARN_ON_ONCE_GFP(order > MAX_PAGE_ORDER, gfp)) in __alloc_pages_noprof()
4974 * This function is also limited by MAX_PAGE_ORDER
[all...]
/linux/drivers/base/regmap/
H A Dregmap-debugfs.c229 if (count > (PAGE_SIZE << MAX_PAGE_ORDER)) in regmap_read_debugfs()
230 count = PAGE_SIZE << MAX_PAGE_ORDER; in regmap_read_debugfs()
376 if (count > (PAGE_SIZE << MAX_PAGE_ORDER)) in regmap_reg_ranges_read_file()
377 count = PAGE_SIZE << MAX_PAGE_ORDER; in regmap_reg_ranges_read_file()
/linux/kernel/events/
H A Dring_buffer.c619 if (order > MAX_PAGE_ORDER) in rb_alloc_aux_page()
620 order = MAX_PAGE_ORDER; in rb_alloc_aux_page()
718 if (get_order((unsigned long)nr_pages * sizeof(void *)) > MAX_PAGE_ORDER) in rb_alloc_aux()
835 if (order_base_2(size) > PAGE_SHIFT+MAX_PAGE_ORDER) in rb_alloc()
/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/drivers/gpu/drm/i915/gem/
H A Di915_gem_internal.c39 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/arch/arm64/kvm/hyp/nvhe/
H A Dpage_alloc.c231 pool->max_order = min(MAX_PAGE_ORDER, in hyp_pool_init()
/linux/fs/ramfs/
H A Dfile-nommu.c73 if (unlikely(order > MAX_PAGE_ORDER)) in ramfs_nommu_expand_for_mapping()
/linux/kernel/dma/
H A Dpool.c87 /* Cannot allocate larger than MAX_PAGE_ORDER */ in atomic_pool_expand()
88 order = min(get_order(pool_size), MAX_PAGE_ORDER); in atomic_pool_expand()
193 * sizes to 128KB per 1GB of memory, min 128KB, max MAX_PAGE_ORDER. in dma_atomic_pool_init()
/linux/Documentation/networking/
H A Dpacket_mmap.rst266 region allocated by __get_free_pages is determined by the MAX_PAGE_ORDER macro.
269 PAGE_SIZE << MAX_PAGE_ORDER
272 In a 2.4/i386 kernel MAX_PAGE_ORDER is 10
273 In a 2.6/i386 kernel MAX_PAGE_ORDER is 11
279 /usr/include/linux/mmzone.h to get PAGE_SIZE MAX_PAGE_ORDER declarations.
327 <max-order> is the value defined with MAX_PAGE_ORDER
/linux/io_uring/
H A Dmemmap.c23 if (order > MAX_PAGE_ORDER) in io_mem_alloc_compound()
/linux/arch/powerpc/mm/book3s64/
H A Diommu_api.c100 chunk = (1UL << (PAGE_SHIFT + MAX_PAGE_ORDER)) / in mm_iommu_do_alloc()
/linux/arch/um/kernel/
H A Dum_arch.c377 max_physmem &= ~((1 << (PAGE_SHIFT + MAX_PAGE_ORDER)) - 1); in linux_main()
/linux/drivers/misc/genwqe/
H A Dcard_utils.c213 if (get_order(size) > MAX_PAGE_ORDER) in __genwqe_alloc_consistent()
311 if (get_order(sgl->sgl_size) > MAX_PAGE_ORDER) { in genwqe_alloc_sync_sgl()
/linux/arch/nios2/
H A DKconfig55 contiguous allocations. The limit is called MAX_PAGE_ORDER and it

123