Lines Matching refs:cycles
323 struct test_cycle *cycles; in __test_cycle() local
327 cycles = kmalloc_objs(*cycles, nthreads); in __test_cycle()
328 if (!cycles) in __test_cycle()
332 struct test_cycle *cycle = &cycles[n]; in __test_cycle()
337 cycle->b_mutex = &cycles[0].a_mutex; in __test_cycle()
339 cycle->b_mutex = &cycles[n + 1].a_mutex; in __test_cycle()
342 cycle->a_signal = &cycles[last].b_signal; in __test_cycle()
344 cycle->a_signal = &cycles[n - 1].b_signal; in __test_cycle()
352 queue_work(wq, &cycles[n].work); in __test_cycle()
358 struct test_cycle *cycle = &cycles[n]; in __test_cycle()
370 ww_mutex_destroy(&cycles[n].a_mutex); in __test_cycle()
371 kfree(cycles); in __test_cycle()