Lines Matching full:ll
442 struct reorder_lock *ll, *ln; in stress_reorder_work() local
451 ll = kmalloc(sizeof(*ll), GFP_KERNEL); in stress_reorder_work()
452 if (!ll) in stress_reorder_work()
455 ll->lock = &stress->locks[order[n]]; in stress_reorder_work()
456 list_add(&ll->link, &locks); in stress_reorder_work()
464 list_for_each_entry(ll, &locks, link) { in stress_reorder_work()
465 err = ww_mutex_lock(ll->lock, &ctx); in stress_reorder_work()
469 ln = ll; in stress_reorder_work()
479 ww_mutex_lock_slow(ll->lock, &ctx); in stress_reorder_work()
480 list_move(&ll->link, &locks); /* restarts iteration */ in stress_reorder_work()
484 list_for_each_entry(ll, &locks, link) in stress_reorder_work()
485 ww_mutex_unlock(ll->lock); in stress_reorder_work()
491 list_for_each_entry_safe(ll, ln, &locks, link) in stress_reorder_work()
492 kfree(ll); in stress_reorder_work()