Lines Matching refs:ll
500 struct reorder_lock *ll, *ln; in stress_reorder_work() local
509 ll = kmalloc_obj(*ll); in stress_reorder_work()
510 if (!ll) in stress_reorder_work()
513 ll->lock = &stress->locks[order[n]]; in stress_reorder_work()
514 list_add(&ll->link, &locks); in stress_reorder_work()
522 list_for_each_entry(ll, &locks, link) { in stress_reorder_work()
523 err = ww_mutex_lock(ll->lock, &ctx); in stress_reorder_work()
527 ln = ll; in stress_reorder_work()
537 ww_mutex_lock_slow(ll->lock, &ctx); in stress_reorder_work()
538 list_move(&ll->link, &locks); /* restarts iteration */ in stress_reorder_work()
542 list_for_each_entry(ll, &locks, link) in stress_reorder_work()
543 ww_mutex_unlock(ll->lock); in stress_reorder_work()
549 list_for_each_entry_safe(ll, ln, &locks, link) in stress_reorder_work()
550 kfree(ll); in stress_reorder_work()