Lines Matching refs:spin
105 igt_spin_t *spin; in semaphore() local
117 spin = igt_spin_new(fd, in semaphore()
148 igt_spin_free(fd, spin); in semaphore()
363 igt_spin_t *spin[nhandles]; in close_race() local
369 spin[i] = __igt_spin_new(fd, in close_race()
371 handles[i] = spin[i]->handle; in close_race()
376 igt_spin_free(fd, spin[i]); in close_race()
377 spin[i] = __igt_spin_new(fd, in close_race()
379 handles[i] = spin[i]->handle; in close_race()
388 igt_spin_free(fd, spin[i]); in close_race()
420 igt_spin_t *spin = igt_spin_new(fd, .engine = I915_EXEC_DEFAULT); in has_extended_busy_ioctl() local
423 __gem_busy(fd, spin->handle, &read, &write); in has_extended_busy_ioctl()
424 igt_spin_free(fd, spin); in has_extended_busy_ioctl()
431 igt_spin_t *spin = in basic() local
439 busy = gem_bo_busy(fd, spin->handle); in basic()
443 igt_spin_end(spin); in basic()
449 while (gem_bo_busy(fd, spin->handle)) { in basic()
460 igt_spin_free(fd, spin); in basic()