Lines Matching refs:order
200 unsigned int order; in igt_check_mm() local
216 order = i915_buddy_block_order(root); in igt_check_mm()
219 if (order != mm->max_order) { in igt_check_mm()
240 block = list_first_entry_or_null(&mm->free_list[order], in igt_check_mm()
244 pr_err("root mismatch at order=%u\n", order); in igt_check_mm()
305 int *order; in igt_buddy_alloc_smoke() local
318 order = i915_random_order(mm.max_order + 1, &prng); in igt_buddy_alloc_smoke()
319 if (!order) in igt_buddy_alloc_smoke()
324 int max_order = order[i]; in igt_buddy_alloc_smoke()
327 int order; in igt_buddy_alloc_smoke() local
338 order = max_order; in igt_buddy_alloc_smoke()
343 block = i915_buddy_alloc(&mm, order); in igt_buddy_alloc_smoke()
348 order); in igt_buddy_alloc_smoke()
350 if (order--) { in igt_buddy_alloc_smoke()
356 order, err); in igt_buddy_alloc_smoke()
364 if (i915_buddy_block_order(block) != order) { in igt_buddy_alloc_smoke()
398 kfree(order); in igt_buddy_alloc_smoke()
410 unsigned int order; in igt_buddy_alloc_pessimistic() local
427 for (order = 0; order < max_order; order++) { in igt_buddy_alloc_pessimistic()
428 block = i915_buddy_alloc(&mm, order); in igt_buddy_alloc_pessimistic()
431 order); in igt_buddy_alloc_pessimistic()
449 for (order = max_order; order--; ) { in igt_buddy_alloc_pessimistic()
450 block = i915_buddy_alloc(&mm, order); in igt_buddy_alloc_pessimistic()
453 order); in igt_buddy_alloc_pessimistic()
465 order = 1; in igt_buddy_alloc_pessimistic()
470 block = i915_buddy_alloc(&mm, order); in igt_buddy_alloc_pessimistic()
473 order); in igt_buddy_alloc_pessimistic()
478 order++; in igt_buddy_alloc_pessimistic()
503 int order; in igt_buddy_alloc_optimistic() local
520 for (order = 0; order <= max_order; order++) { in igt_buddy_alloc_optimistic()
521 block = i915_buddy_alloc(&mm, order); in igt_buddy_alloc_optimistic()
524 order); in igt_buddy_alloc_optimistic()
554 int order, top; in igt_buddy_alloc_pathological() local
579 for (order = top; order--; ) { in igt_buddy_alloc_pathological()
580 block = i915_buddy_alloc(&mm, order); in igt_buddy_alloc_pathological()
583 order, top); in igt_buddy_alloc_pathological()
612 for (order = 1; order <= max_order; order++) { in igt_buddy_alloc_pathological()
613 block = i915_buddy_alloc(&mm, order); in igt_buddy_alloc_pathological()
616 order); in igt_buddy_alloc_pathological()