Lines Matching refs:bonds

332 	I915_DEFINE_CONTEXT_ENGINES_BOND(bonds[16], 1);  in invalid_bonds()
346 memset(bonds, 0, sizeof(bonds)); in invalid_bonds()
347 for (int n = 0; n < ARRAY_SIZE(bonds); n++) { in invalid_bonds()
348 bonds[n].base.name = I915_CONTEXT_ENGINES_EXT_BOND; in invalid_bonds()
349 bonds[n].base.next_extension = in invalid_bonds()
350 n ? to_user_pointer(&bonds[n - 1]) : 0; in invalid_bonds()
351 bonds[n].num_bonds = 1; in invalid_bonds()
353 engines.extensions = to_user_pointer(&bonds); in invalid_bonds()
356 bonds[0].base.next_extension = -1ull; in invalid_bonds()
359 bonds[0].base.next_extension = to_user_pointer(&bonds[0]); in invalid_bonds()
362 engines.extensions = to_user_pointer(&bonds[1]); in invalid_bonds()
364 bonds[0].base.next_extension = 0; in invalid_bonds()
371 memcpy(ptr + 4096, &bonds[0], sizeof(bonds[0])); in invalid_bonds()
375 memcpy(ptr, &bonds[0], sizeof(bonds[0])); in invalid_bonds()
376 bonds[0].base.next_extension = to_user_pointer(ptr); in invalid_bonds()
377 memcpy(ptr + 4096, &bonds[0], sizeof(bonds[0])); in invalid_bonds()
383 bonds[0].base.next_extension = 0; in invalid_bonds()
384 memcpy(ptr + 8192, &bonds[0], sizeof(bonds[0])); in invalid_bonds()
385 bonds[0].base.next_extension = to_user_pointer(ptr) + 8192; in invalid_bonds()
386 memcpy(ptr + 4096, &bonds[0], sizeof(bonds[0])); in invalid_bonds()
567 I915_DEFINE_CONTEXT_ENGINES_BOND(bonds[16], 1); in bonded()
579 memset(bonds, 0, sizeof(bonds)); in bonded()
580 for (int n = 0; n < ARRAY_SIZE(bonds); n++) { in bonded()
581 bonds[n].base.name = I915_CONTEXT_ENGINES_EXT_BOND; in bonded()
582 bonds[n].base.next_extension = in bonded()
583 n ? to_user_pointer(&bonds[n - 1]) : 0; in bonded()
584 bonds[n].num_bonds = 1; in bonded()
606 igt_assert(limit <= ARRAY_SIZE(bonds)); in bonded()
608 bonds[n].master = master_engines[n]; in bonded()
609 bonds[n].engines[0] = siblings[n]; in bonded()
615 set_load_balancer(i915, ctx, siblings, count, &bonds[limit - 1]); in bonded()