Lines Matching full:order

17 	pr_err("block info: header=%llx, state=%u, order=%d, offset=%llx size=%llx root=%s buddy=%s\n",  in __igt_dump_block()
204 unsigned int order; in igt_check_mm() local
220 order = i915_buddy_block_order(root); in igt_check_mm()
223 if (order != mm->max_order) { in igt_check_mm()
224 pr_err("max order root missing\n"); in igt_check_mm()
244 block = list_first_entry_or_null(&mm->free_list[order], in igt_check_mm()
248 pr_err("root mismatch at order=%u\n", order); in igt_check_mm()
318 int order; in igt_buddy_alloc_smoke() local
330 order = max_order; in igt_buddy_alloc_smoke()
335 block = i915_buddy_alloc(&mm, order); in igt_buddy_alloc_smoke()
339 pr_info("buddy_alloc hit -ENOMEM with order=%d\n", in igt_buddy_alloc_smoke()
340 order); in igt_buddy_alloc_smoke()
342 if (order--) { in igt_buddy_alloc_smoke()
347 pr_err("buddy_alloc with order=%d failed(%d)\n", in igt_buddy_alloc_smoke()
348 order, err); in igt_buddy_alloc_smoke()
356 if (i915_buddy_block_order(block) != order) { in igt_buddy_alloc_smoke()
357 pr_err("buddy_alloc order mismatch\n"); in igt_buddy_alloc_smoke()
393 unsigned int order; in igt_buddy_alloc_pessimistic() local
399 * order within. This should leave the mm with exactly one in igt_buddy_alloc_pessimistic()
410 for (order = 0; order < max_order; order++) { in igt_buddy_alloc_pessimistic()
411 block = i915_buddy_alloc(&mm, order); in igt_buddy_alloc_pessimistic()
413 pr_info("buddy_alloc hit -ENOMEM with order=%d\n", in igt_buddy_alloc_pessimistic()
414 order); in igt_buddy_alloc_pessimistic()
432 for (order = max_order; order--; ) { in igt_buddy_alloc_pessimistic()
433 block = i915_buddy_alloc(&mm, order); in igt_buddy_alloc_pessimistic()
435 pr_info("buddy_alloc unexpectedly succeeded at order %d, it should be full!", in igt_buddy_alloc_pessimistic()
436 order); in igt_buddy_alloc_pessimistic()
448 order = 1; in igt_buddy_alloc_pessimistic()
453 block = i915_buddy_alloc(&mm, order); in igt_buddy_alloc_pessimistic()
455 pr_info("buddy_alloc (realloc) hit -ENOMEM with order=%d\n", in igt_buddy_alloc_pessimistic()
456 order); in igt_buddy_alloc_pessimistic()
461 order++; in igt_buddy_alloc_pessimistic()
467 pr_info("buddy_alloc (realloc) hit -ENOMEM with order=%d\n", in igt_buddy_alloc_pessimistic()
486 int order; in igt_buddy_alloc_optimistic() local
490 * Create a mm with one block of each order available, and in igt_buddy_alloc_optimistic()
503 for (order = 0; order <= max_order; order++) { in igt_buddy_alloc_optimistic()
504 block = i915_buddy_alloc(&mm, order); in igt_buddy_alloc_optimistic()
506 pr_info("buddy_alloc hit -ENOMEM with order=%d\n", in igt_buddy_alloc_optimistic()
507 order); in igt_buddy_alloc_optimistic()
537 int order, top; in igt_buddy_alloc_pathological() local
542 * order within. This should leave the mm with exactly one in igt_buddy_alloc_pathological()
562 for (order = top; order--; ) { in igt_buddy_alloc_pathological()
563 block = i915_buddy_alloc(&mm, order); in igt_buddy_alloc_pathological()
565 pr_info("buddy_alloc hit -ENOMEM with order=%d, top=%d\n", in igt_buddy_alloc_pathological()
566 order, top); in igt_buddy_alloc_pathological()
584 pr_info("buddy_alloc unexpectedly succeeded at top-order %d/%d, it should be full!", in igt_buddy_alloc_pathological()
595 for (order = 1; order <= max_order; order++) { in igt_buddy_alloc_pathological()
596 block = i915_buddy_alloc(&mm, order); in igt_buddy_alloc_pathological()
598 pr_info("buddy_alloc unexpectedly succeeded at order %d, it should be full!", in igt_buddy_alloc_pathological()
599 order); in igt_buddy_alloc_pathological()