MAX_ORDER 153 arch/alpha/mm/numa.c node_min_pfn &= ~((1UL << (MAX_ORDER-1))-1); MAX_ORDER 182 arch/ia64/mm/hugetlbpage.c size >= (1UL << PAGE_SHIFT << MAX_ORDER)) { MAX_ORDER 24 arch/powerpc/include/asm/fadump-internal.h max_t(unsigned long, MAX_ORDER - 1, \ MAX_ORDER 100 arch/powerpc/mm/book3s64/iommu_api.c chunk = (1UL << (PAGE_SHIFT + MAX_ORDER - 1)) / MAX_ORDER 2410 arch/powerpc/platforms/powernv/pci-ioda.c const u64 maxblock = 1UL << (PAGE_SHIFT + MAX_ORDER - 1); MAX_ORDER 1155 arch/s390/kernel/setup.c memblock_trim_memory(1UL << (MAX_ORDER - 1 + PAGE_SHIFT)); MAX_ORDER 195 arch/sparc/kernel/pci_sun4v.c if (unlikely(order >= MAX_ORDER)) MAX_ORDER 902 arch/sparc/kernel/traps_64.c for (order = 0; order < MAX_ORDER; order++) { MAX_ORDER 405 arch/sparc/mm/tsb.c if (max_tsb_size > (PAGE_SIZE << MAX_ORDER)) MAX_ORDER 406 arch/sparc/mm/tsb.c max_tsb_size = (PAGE_SIZE << MAX_ORDER); MAX_ORDER 309 arch/um/kernel/um_arch.c max_physmem &= ~((1 << (PAGE_SHIFT + MAX_ORDER)) - 1); MAX_ORDER 45 drivers/gpu/drm/i915/gem/i915_gem_internal.c max_order = MAX_ORDER; MAX_ORDER 92 drivers/gpu/drm/i915/gem/selftests/huge_pages.c GEM_BUG_ON(order >= MAX_ORDER); MAX_ORDER 200 drivers/iommu/arm-smmu-v3.c #define Q_MAX_SZ_SHIFT (PAGE_SHIFT + MAX_ORDER - 1) MAX_ORDER 498 drivers/iommu/dma-iommu.c order_mask &= (2U << MAX_ORDER) - 1; MAX_ORDER 1922 drivers/irqchip/irq-gic-v3-its.c if (new_order >= MAX_ORDER) { MAX_ORDER 1923 drivers/irqchip/irq-gic-v3-its.c new_order = MAX_ORDER - 1; MAX_ORDER 78 drivers/lightnvm/pblk-rb.c unsigned int max_order = MAX_ORDER - 1; MAX_ORDER 440 drivers/misc/genwqe/card_dev.c if (get_order(vsize) > MAX_ORDER) MAX_ORDER 210 drivers/misc/genwqe/card_utils.c if (get_order(size) >= MAX_ORDER) MAX_ORDER 308 drivers/misc/genwqe/card_utils.c if (get_order(sgl->sgl_size) > MAX_ORDER) { MAX_ORDER 1101 drivers/misc/mic/scif/scif_api.c int chunk_len = min(len, (1 << (MAX_ORDER + PAGE_SHIFT - 1))); MAX_ORDER 1162 drivers/misc/mic/scif/scif_api.c int chunk_len = min(len, (1 << (MAX_ORDER + PAGE_SHIFT - 1))); MAX_ORDER 417 drivers/misc/mic/scif/scif_rma.h if (align && get_order(align) < MAX_ORDER) MAX_ORDER 39 drivers/net/ethernet/ibm/ibmvnic.h #define IBMVNIC_MAX_LTB_SIZE ((1 << (MAX_ORDER - 1)) * PAGE_SIZE) MAX_ORDER 113 drivers/of/of_reserved_mem.c max_t(unsigned long, MAX_ORDER - 1, pageblock_order); MAX_ORDER 199 drivers/video/fbdev/vermilion/vermilion.c while (requested > (PAGE_SIZE << order) && order < MAX_ORDER) MAX_ORDER 35 drivers/virtio/virtio_balloon.c #define VIRTIO_BALLOON_FREE_PAGE_ORDER (MAX_ORDER - 1) MAX_ORDER 73 fs/ramfs/file-nommu.c if (unlikely(order >= MAX_ORDER)) MAX_ORDER 433 include/linux/hugetlb.h return huge_page_order(h) >= MAX_ORDER; MAX_ORDER 31 include/linux/mmzone.h #define MAX_ORDER_NR_PAGES (1 << (MAX_ORDER - 1)) MAX_ORDER 86 include/linux/mmzone.h for (order = 0; order < MAX_ORDER; order++) \ MAX_ORDER 515 include/linux/mmzone.h struct free_area free_area[MAX_ORDER]; MAX_ORDER 1143 include/linux/mmzone.h #if (MAX_ORDER - 1 + PAGE_SHIFT) > SECTION_SIZE_BITS MAX_ORDER 48 include/linux/pageblock-flags.h #define pageblock_order (MAX_ORDER-1) MAX_ORDER 247 include/linux/slab.h #define KMALLOC_SHIFT_HIGH ((MAX_ORDER + PAGE_SHIFT - 1) <= 25 ? \ MAX_ORDER 248 include/linux/slab.h (MAX_ORDER + PAGE_SHIFT - 1) : 25) MAX_ORDER 261 include/linux/slab.h #define KMALLOC_SHIFT_MAX (MAX_ORDER + PAGE_SHIFT - 1) MAX_ORDER 274 include/linux/slab.h #define KMALLOC_SHIFT_MAX (MAX_ORDER + PAGE_SHIFT - 1) MAX_ORDER 448 kernel/crash_core.c VMCOREINFO_LENGTH(zone.free_area, MAX_ORDER); MAX_ORDER 301 kernel/dma/contiguous.c phys_addr_t align = PAGE_SIZE << max(MAX_ORDER - 1, pageblock_order); MAX_ORDER 571 kernel/events/ring_buffer.c if (order > MAX_ORDER) MAX_ORDER 572 kernel/events/ring_buffer.c order = MAX_ORDER; MAX_ORDER 766 kernel/events/ring_buffer.c if (order_base_2(size) >= PAGE_SHIFT+MAX_ORDER) MAX_ORDER 193 mm/cma.c max_t(unsigned long, MAX_ORDER - 1, pageblock_order); MAX_ORDER 280 mm/cma.c max_t(unsigned long, MAX_ORDER - 1, pageblock_order)); MAX_ORDER 583 mm/compaction.c if (likely(order < MAX_ORDER)) { MAX_ORDER 890 mm/compaction.c if (freepage_order > 0 && freepage_order < MAX_ORDER) MAX_ORDER 905 mm/compaction.c if (likely(order < MAX_ORDER)) MAX_ORDER 1889 mm/compaction.c for (order = cc->order; order < MAX_ORDER; order++) { MAX_ORDER 403 mm/huge_memory.c MAYBE_BUILD_BUG_ON(HPAGE_PMD_ORDER >= MAX_ORDER); MAX_ORDER 1447 mm/hugetlb.c if (compound_order(page_head) >= MAX_ORDER) MAX_ORDER 2254 mm/hugetlb.c if (unlikely(order > (MAX_ORDER - 1))) MAX_ORDER 3057 mm/hugetlb.c if (hugetlb_max_hstate && parsed_hstate->order >= MAX_ORDER) MAX_ORDER 1897 mm/memblock.c order = min(MAX_ORDER - 1UL, __ffs(start)); MAX_ORDER 629 mm/memory_hotplug.c order = min(MAX_ORDER - 1, get_order(PFN_PHYS(end_pfn - pfn))); MAX_ORDER 1162 mm/memory_hotplug.c if ((order < MAX_ORDER) && (order >= pageblock_order)) MAX_ORDER 728 mm/page_alloc.c if (kstrtoul(buf, 10, &res) < 0 || res > MAX_ORDER / 2) { MAX_ORDER 908 mm/page_alloc.c max_order = min_t(unsigned int, MAX_ORDER, pageblock_order + 1); MAX_ORDER 947 mm/page_alloc.c if (max_order < MAX_ORDER) { MAX_ORDER 983 mm/page_alloc.c if ((order < MAX_ORDER-2) && pfn_valid_within(buddy_pfn) MAX_ORDER 1986 mm/page_alloc.c if (pageblock_order >= MAX_ORDER) { MAX_ORDER 1991 mm/page_alloc.c __free_pages(p, MAX_ORDER - 1); MAX_ORDER 2191 mm/page_alloc.c for (current_order = order; current_order < MAX_ORDER; ++current_order) { MAX_ORDER 2575 mm/page_alloc.c for (order = 0; order < MAX_ORDER; order++) { MAX_ORDER 2659 mm/page_alloc.c for (current_order = MAX_ORDER - 1; current_order >= min_order; MAX_ORDER 2685 mm/page_alloc.c for (current_order = order; current_order < MAX_ORDER; MAX_ORDER 2698 mm/page_alloc.c VM_BUG_ON(current_order == MAX_ORDER); MAX_ORDER 3453 mm/page_alloc.c for (o = order; o < MAX_ORDER; o++) { MAX_ORDER 4735 mm/page_alloc.c if (unlikely(order >= MAX_ORDER)) { MAX_ORDER 5399 mm/page_alloc.c unsigned long nr[MAX_ORDER], flags, total = 0; MAX_ORDER 5400 mm/page_alloc.c unsigned char types[MAX_ORDER]; MAX_ORDER 5408 mm/page_alloc.c for (order = 0; order < MAX_ORDER; order++) { MAX_ORDER 5422 mm/page_alloc.c for (order = 0; order < MAX_ORDER; order++) { MAX_ORDER 6635 mm/page_alloc.c order = MAX_ORDER - 1; MAX_ORDER 8153 mm/page_alloc.c } else if (get_order(size) >= MAX_ORDER || hashdist) { MAX_ORDER 8467 mm/page_alloc.c if (++order >= MAX_ORDER) { MAX_ORDER 8631 mm/page_alloc.c for (order = 0; order < MAX_ORDER; order++) { MAX_ORDER 8639 mm/page_alloc.c return order < MAX_ORDER; MAX_ORDER 8657 mm/page_alloc.c for (order = 0; order < MAX_ORDER; order++) { MAX_ORDER 299 mm/page_owner.c if (freepage_order < MAX_ORDER) MAX_ORDER 496 mm/page_owner.c if (freepage_order < MAX_ORDER) MAX_ORDER 590 mm/page_owner.c if (order > 0 && order < MAX_ORDER) MAX_ORDER 19 mm/shuffle.h #define SHUFFLE_ORDER (MAX_ORDER-1) MAX_ORDER 468 mm/slab.c min(slab_max_order, MAX_ORDER - 1); MAX_ORDER 3335 mm/slub.c order = slab_order(size, 1, MAX_ORDER, 1); MAX_ORDER 3336 mm/slub.c if (order < MAX_ORDER) MAX_ORDER 3788 mm/slub.c slub_max_order = min(slub_max_order, (unsigned int)MAX_ORDER - 1); MAX_ORDER 3284 mm/vmscan.c BUILD_BUG_ON(MAX_ORDER > S8_MAX); MAX_ORDER 1030 mm/vmstat.c for (order = 0; order < MAX_ORDER; order++) { MAX_ORDER 1058 mm/vmstat.c if (WARN_ON_ONCE(order >= MAX_ORDER)) MAX_ORDER 1357 mm/vmstat.c for (order = 0; order < MAX_ORDER; ++order) MAX_ORDER 1382 mm/vmstat.c for (order = 0; order < MAX_ORDER; ++order) { MAX_ORDER 1422 mm/vmstat.c for (order = 0; order < MAX_ORDER; ++order) MAX_ORDER 2032 mm/vmstat.c for (order = 0; order < MAX_ORDER; ++order) { MAX_ORDER 2094 mm/vmstat.c for (order = 0; order < MAX_ORDER; ++order) { MAX_ORDER 479 net/smc/smc_ib.c smc_order = MAX_ORDER - cqe_size_order - 1; MAX_ORDER 43 security/integrity/ima/ima_crypto.c if (order >= MAX_ORDER)