Lines Matching refs:ll
455 struct reorder_lock *ll, *ln; in stress_reorder_work() local
464 ll = kmalloc(sizeof(*ll), GFP_KERNEL); in stress_reorder_work()
465 if (!ll) in stress_reorder_work()
468 ll->lock = &stress->locks[order[n]]; in stress_reorder_work()
469 list_add(&ll->link, &locks); in stress_reorder_work()
477 list_for_each_entry(ll, &locks, link) { in stress_reorder_work()
478 err = ww_mutex_lock(ll->lock, &ctx); in stress_reorder_work()
482 ln = ll; in stress_reorder_work()
492 ww_mutex_lock_slow(ll->lock, &ctx); in stress_reorder_work()
493 list_move(&ll->link, &locks); /* restarts iteration */ in stress_reorder_work()
497 list_for_each_entry(ll, &locks, link) in stress_reorder_work()
498 ww_mutex_unlock(ll->lock); in stress_reorder_work()
504 list_for_each_entry_safe(ll, ln, &locks, link) in stress_reorder_work()
505 kfree(ll); in stress_reorder_work()