max_order 2160 block/blk-mq.c unsigned int i, j, entries_per_page, max_order = 4; max_order 2179 block/blk-mq.c int this_order = max_order; max_order 42 drivers/gpu/drm/i915/gem/i915_gem_internal.c int max_order; max_order 45 drivers/gpu/drm/i915/gem/i915_gem_internal.c max_order = MAX_ORDER; max_order 54 drivers/gpu/drm/i915/gem/i915_gem_internal.c max_order = min(max_order, ilog2(max_segment)); max_order 82 drivers/gpu/drm/i915/gem/i915_gem_internal.c int order = min(fls(npages) - 1, max_order); max_order 94 drivers/gpu/drm/i915/gem/i915_gem_internal.c max_order = order; max_order 114 drivers/gpu/drm/i915/gem/i915_gem_internal.c max_order = 0; max_order 110 drivers/gpu/drm/i915/i915_buddy.c mm->max_order = ilog2(size) - ilog2(chunk_size); max_order 112 drivers/gpu/drm/i915/i915_buddy.c GEM_BUG_ON(mm->max_order > I915_BUDDY_MAX_ORDER); max_order 114 drivers/gpu/drm/i915/i915_buddy.c mm->free_list = kmalloc_array(mm->max_order + 1, max_order 120 drivers/gpu/drm/i915/i915_buddy.c for (i = 0; i <= mm->max_order; ++i) max_order 152 drivers/gpu/drm/i915/i915_buddy.c GEM_BUG_ON(i > mm->max_order); max_order 284 drivers/gpu/drm/i915/i915_buddy.c for (i = order; i <= mm->max_order; ++i) { max_order 63 drivers/gpu/drm/i915/i915_buddy.h unsigned int max_order; max_order 223 drivers/gpu/drm/i915/selftests/i915_buddy.c if (order != mm->max_order) { max_order 301 drivers/gpu/drm/i915/selftests/i915_buddy.c int max_order; max_order 316 drivers/gpu/drm/i915/selftests/i915_buddy.c for (max_order = mm.max_order; max_order >= 0; max_order--) { max_order 328 drivers/gpu/drm/i915/selftests/i915_buddy.c pr_info("filling from max_order=%u\n", max_order); max_order 330 drivers/gpu/drm/i915/selftests/i915_buddy.c order = max_order; max_order 390 drivers/gpu/drm/i915/selftests/i915_buddy.c const unsigned int max_order = 16; max_order 403 drivers/gpu/drm/i915/selftests/i915_buddy.c err = i915_buddy_init(&mm, PAGE_SIZE << max_order, PAGE_SIZE); max_order 408 drivers/gpu/drm/i915/selftests/i915_buddy.c GEM_BUG_ON(mm.max_order != max_order); max_order 410 drivers/gpu/drm/i915/selftests/i915_buddy.c for (order = 0; order < max_order; order++) { max_order 432 drivers/gpu/drm/i915/selftests/i915_buddy.c for (order = max_order; order--; ) { max_order 465 drivers/gpu/drm/i915/selftests/i915_buddy.c block = i915_buddy_alloc(&mm, max_order); max_order 468 drivers/gpu/drm/i915/selftests/i915_buddy.c max_order); max_order 482 drivers/gpu/drm/i915/selftests/i915_buddy.c const int max_order = 16; max_order 495 drivers/gpu/drm/i915/selftests/i915_buddy.c PAGE_SIZE * ((1 << (max_order + 1)) - 1), max_order 501 drivers/gpu/drm/i915/selftests/i915_buddy.c GEM_BUG_ON(mm.max_order != max_order); max_order 503 drivers/gpu/drm/i915/selftests/i915_buddy.c for (order = 0; order <= max_order; order++) { max_order 532 drivers/gpu/drm/i915/selftests/i915_buddy.c const int max_order = 16; max_order 547 drivers/gpu/drm/i915/selftests/i915_buddy.c err = i915_buddy_init(&mm, PAGE_SIZE << max_order, PAGE_SIZE); max_order 552 drivers/gpu/drm/i915/selftests/i915_buddy.c GEM_BUG_ON(mm.max_order != max_order); max_order 554 drivers/gpu/drm/i915/selftests/i915_buddy.c for (top = max_order; top; top--) { max_order 585 drivers/gpu/drm/i915/selftests/i915_buddy.c top, max_order); max_order 595 drivers/gpu/drm/i915/selftests/i915_buddy.c for (order = 1; order <= max_order; order++) { max_order 277 drivers/gpu/drm/i915/selftests/scatterlist.c const unsigned long max_order = 20; /* approximating a 4GiB object */ max_order 282 drivers/gpu/drm/i915/selftests/scatterlist.c for_each_prime_number(prime, max_order) { max_order 317 drivers/infiniband/hw/hns/hns_roce_device.h int max_order; max_order 77 drivers/infiniband/hw/hns/hns_roce_mr.c for (o = order; o <= buddy->max_order; ++o) { max_order 79 drivers/infiniband/hw/hns/hns_roce_mr.c m = 1 << (buddy->max_order - o); max_order 125 drivers/infiniband/hw/hns/hns_roce_mr.c static int hns_roce_buddy_init(struct hns_roce_buddy *buddy, int max_order) max_order 129 drivers/infiniband/hw/hns/hns_roce_mr.c buddy->max_order = max_order; max_order 131 drivers/infiniband/hw/hns/hns_roce_mr.c buddy->bits = kcalloc(buddy->max_order + 1, max_order 134 drivers/infiniband/hw/hns/hns_roce_mr.c buddy->num_free = kcalloc(buddy->max_order + 1, max_order 140 drivers/infiniband/hw/hns/hns_roce_mr.c for (i = 0; i <= buddy->max_order; ++i) { max_order 141 drivers/infiniband/hw/hns/hns_roce_mr.c s = BITS_TO_LONGS(1 << (buddy->max_order - i)); max_order 151 drivers/infiniband/hw/hns/hns_roce_mr.c set_bit(0, buddy->bits[buddy->max_order]); max_order 152 drivers/infiniband/hw/hns/hns_roce_mr.c buddy->num_free[buddy->max_order] = 1; max_order 157 drivers/infiniband/hw/hns/hns_roce_mr.c for (i = 0; i <= buddy->max_order; ++i) max_order 170 drivers/infiniband/hw/hns/hns_roce_mr.c for (i = 0; i <= buddy->max_order; ++i) max_order 207 drivers/infiniband/hw/mthca/mthca_dev.h int max_order; max_order 92 drivers/infiniband/hw/mthca/mthca_mr.c for (o = order; o <= buddy->max_order; ++o) max_order 94 drivers/infiniband/hw/mthca/mthca_mr.c m = 1 << (buddy->max_order - o); max_order 140 drivers/infiniband/hw/mthca/mthca_mr.c static int mthca_buddy_init(struct mthca_buddy *buddy, int max_order) max_order 144 drivers/infiniband/hw/mthca/mthca_mr.c buddy->max_order = max_order; max_order 147 drivers/infiniband/hw/mthca/mthca_mr.c buddy->bits = kcalloc(buddy->max_order + 1, sizeof(long *), max_order 149 drivers/infiniband/hw/mthca/mthca_mr.c buddy->num_free = kcalloc((buddy->max_order + 1), sizeof *buddy->num_free, max_order 154 drivers/infiniband/hw/mthca/mthca_mr.c for (i = 0; i <= buddy->max_order; ++i) { max_order 155 drivers/infiniband/hw/mthca/mthca_mr.c s = BITS_TO_LONGS(1 << (buddy->max_order - i)); max_order 160 drivers/infiniband/hw/mthca/mthca_mr.c 1 << (buddy->max_order - i)); max_order 163 drivers/infiniband/hw/mthca/mthca_mr.c set_bit(0, buddy->bits[buddy->max_order]); max_order 164 drivers/infiniband/hw/mthca/mthca_mr.c buddy->num_free[buddy->max_order] = 1; max_order 169 drivers/infiniband/hw/mthca/mthca_mr.c for (i = 0; i <= buddy->max_order; ++i) max_order 183 drivers/infiniband/hw/mthca/mthca_mr.c for (i = 0; i <= buddy->max_order; ++i) max_order 921 drivers/infiniband/hw/mthca/mthca_mr.c dev->mr_table.fmr_mtt_buddy->max_order); max_order 78 drivers/lightnvm/pblk-rb.c unsigned int max_order = MAX_ORDER - 1; max_order 105 drivers/lightnvm/pblk-rb.c if (alloc_order >= max_order) { max_order 106 drivers/lightnvm/pblk-rb.c order = max_order; max_order 107 drivers/lightnvm/pblk-rb.c iter = (1 << (alloc_order - max_order)); max_order 254 drivers/net/ethernet/mellanox/mlx4/mlx4.h u32 max_order; max_order 54 drivers/net/ethernet/mellanox/mlx4/mr.c for (o = order; o <= buddy->max_order; ++o) max_order 56 drivers/net/ethernet/mellanox/mlx4/mr.c m = 1 << (buddy->max_order - o); max_order 102 drivers/net/ethernet/mellanox/mlx4/mr.c static int mlx4_buddy_init(struct mlx4_buddy *buddy, int max_order) max_order 106 drivers/net/ethernet/mellanox/mlx4/mr.c buddy->max_order = max_order; max_order 109 drivers/net/ethernet/mellanox/mlx4/mr.c buddy->bits = kcalloc(buddy->max_order + 1, sizeof(long *), max_order 111 drivers/net/ethernet/mellanox/mlx4/mr.c buddy->num_free = kcalloc(buddy->max_order + 1, sizeof(*buddy->num_free), max_order 116 drivers/net/ethernet/mellanox/mlx4/mr.c for (i = 0; i <= buddy->max_order; ++i) { max_order 117 drivers/net/ethernet/mellanox/mlx4/mr.c s = BITS_TO_LONGS(1 << (buddy->max_order - i)); max_order 123 drivers/net/ethernet/mellanox/mlx4/mr.c set_bit(0, buddy->bits[buddy->max_order]); max_order 124 drivers/net/ethernet/mellanox/mlx4/mr.c buddy->num_free[buddy->max_order] = 1; max_order 129 drivers/net/ethernet/mellanox/mlx4/mr.c for (i = 0; i <= buddy->max_order; ++i) max_order 143 drivers/net/ethernet/mellanox/mlx4/mr.c for (i = 0; i <= buddy->max_order; ++i) max_order 938 drivers/net/ethernet/mellanox/mlx4/mr.c mr_table->mtt_buddy.max_order); max_order 931 drivers/pci/setup-bus.c int max_order) max_order 937 drivers/pci/setup-bus.c for (order = 0; order <= max_order; order++) { max_order 980 drivers/pci/setup-bus.c int order, max_order; max_order 991 drivers/pci/setup-bus.c max_order = 0; max_order 1041 drivers/pci/setup-bus.c if (order > max_order) max_order 1042 drivers/pci/setup-bus.c max_order = order; max_order 1052 drivers/pci/setup-bus.c min_align = calculate_mem_align(aligns, max_order); max_order 76 drivers/staging/android/ion/ion_system_heap.c unsigned int max_order) max_order 84 drivers/staging/android/ion/ion_system_heap.c if (max_order < orders[i]) max_order 111 drivers/staging/android/ion/ion_system_heap.c unsigned int max_order = orders[0]; max_order 119 drivers/staging/android/ion/ion_system_heap.c max_order); max_order 124 drivers/staging/android/ion/ion_system_heap.c max_order = compound_order(page); max_order 73 drivers/video/fbdev/vermilion/vermilion.c static int vmlfb_alloc_vram_area(struct vram_area *va, unsigned max_order, max_order 79 drivers/video/fbdev/vermilion/vermilion.c max_order++; max_order 90 drivers/video/fbdev/vermilion/vermilion.c __get_free_pages(flags, --max_order); max_order 91 drivers/video/fbdev/vermilion/vermilion.c } while (va->logical == 0 && max_order > min_order); max_order 97 drivers/video/fbdev/vermilion/vermilion.c va->size = PAGE_SIZE << max_order; max_order 98 drivers/video/fbdev/vermilion/vermilion.c va->order = max_order; max_order 634 kernel/events/ring_buffer.c int ret = -ENOMEM, max_order; max_order 643 kernel/events/ring_buffer.c max_order = ilog2(nr_pages); max_order 650 kernel/events/ring_buffer.c if (!max_order) max_order 653 kernel/events/ring_buffer.c max_order--; max_order 666 kernel/events/ring_buffer.c order = min(max_order, ilog2(nr_pages - rb->aux_nr_pages)); max_order 686 kernel/events/ring_buffer.c if (page_private(page) != max_order) max_order 178 lib/test_xarray.c unsigned int max_order = IS_ENABLED(CONFIG_XARRAY_MULTI) ? 8 : 1; max_order 207 lib/test_xarray.c for (order = 2; order < max_order; order++) { max_order 307 lib/test_xarray.c unsigned int max_order = IS_ENABLED(CONFIG_XARRAY_MULTI) ? 15 : 1; max_order 331 lib/test_xarray.c for (order = 0; order < max_order; order++) { max_order 576 lib/test_xarray.c unsigned int max_order = (sizeof(long) == 4) ? 30 : 60; max_order 620 lib/test_xarray.c for (i = 0; i < max_order; i++) { max_order 621 lib/test_xarray.c for (j = 0; j < max_order; j++) { max_order 625 lib/test_xarray.c for (k = 0; k < max_order; k++) { max_order 874 lib/test_xarray.c unsigned int max_order = IS_ENABLED(CONFIG_XARRAY_MULTI) ? 20 : 1; max_order 876 lib/test_xarray.c for (i = 0; i < max_order; i++) { max_order 943 lib/test_xarray.c unsigned int max_order = IS_ENABLED(CONFIG_XARRAY_MULTI) ? 10 : 1; max_order 947 lib/test_xarray.c for (i = 0; i < max_order; i++) { max_order 1444 lib/test_xarray.c unsigned int max_order = IS_ENABLED(CONFIG_XARRAY_MULTI) ? 12 : 1; max_order 1446 lib/test_xarray.c for (order = 0; order < max_order; order++) { max_order 905 mm/page_alloc.c unsigned int max_order; max_order 908 mm/page_alloc.c max_order = min_t(unsigned int, MAX_ORDER, pageblock_order + 1); max_order 921 mm/page_alloc.c while (order < max_order - 1) { max_order 947 mm/page_alloc.c if (max_order < MAX_ORDER) { max_order 968 mm/page_alloc.c max_order++; max_order 3266 mm/slub.c unsigned int min_objects, unsigned int max_order, max_order 3276 mm/slub.c order <= max_order; order++) { max_order 539 mm/workingset.c unsigned int max_order; max_order 551 mm/workingset.c max_order = fls_long(totalram_pages() - 1); max_order 552 mm/workingset.c if (max_order > timestamp_bits) max_order 553 mm/workingset.c bucket_order = max_order - timestamp_bits; max_order 555 mm/workingset.c timestamp_bits, max_order, bucket_order); max_order 19 tools/testing/radix-tree/iteration_check.c static int max_order; max_order 29 tools/testing/radix-tree/iteration_check.c for (order = max_order; order >= 0; order--) { max_order 172 tools/testing/radix-tree/iteration_check.c max_order = order;