Lines Matching refs:ll
482 struct reorder_lock *ll, *ln; in stress_reorder_work() local
491 ll = kmalloc(sizeof(*ll), GFP_KERNEL); in stress_reorder_work()
492 if (!ll) in stress_reorder_work()
495 ll->lock = &stress->locks[order[n]]; in stress_reorder_work()
496 list_add(&ll->link, &locks); in stress_reorder_work()
504 list_for_each_entry(ll, &locks, link) { in stress_reorder_work()
505 err = ww_mutex_lock(ll->lock, &ctx); in stress_reorder_work()
509 ln = ll; in stress_reorder_work()
519 ww_mutex_lock_slow(ll->lock, &ctx); in stress_reorder_work()
520 list_move(&ll->link, &locks); /* restarts iteration */ in stress_reorder_work()
524 list_for_each_entry(ll, &locks, link) in stress_reorder_work()
525 ww_mutex_unlock(ll->lock); in stress_reorder_work()
531 list_for_each_entry_safe(ll, ln, &locks, link) in stress_reorder_work()
532 kfree(ll); in stress_reorder_work()