Lines Matching refs:ll
494 struct reorder_lock *ll, *ln; in stress_reorder_work() local
503 ll = kmalloc(sizeof(*ll), GFP_KERNEL); in stress_reorder_work()
504 if (!ll) in stress_reorder_work()
507 ll->lock = &stress->locks[order[n]]; in stress_reorder_work()
508 list_add(&ll->link, &locks); in stress_reorder_work()
516 list_for_each_entry(ll, &locks, link) { in stress_reorder_work()
517 err = ww_mutex_lock(ll->lock, &ctx); in stress_reorder_work()
521 ln = ll; in stress_reorder_work()
531 ww_mutex_lock_slow(ll->lock, &ctx); in stress_reorder_work()
532 list_move(&ll->link, &locks); /* restarts iteration */ in stress_reorder_work()
536 list_for_each_entry(ll, &locks, link) in stress_reorder_work()
537 ww_mutex_unlock(ll->lock); in stress_reorder_work()
543 list_for_each_entry_safe(ll, ln, &locks, link) in stress_reorder_work()
544 kfree(ll); in stress_reorder_work()