stress 373 kernel/locking/test-ww_mutex.c static void dummy_load(struct stress *stress) stress 380 kernel/locking/test-ww_mutex.c struct stress *stress = container_of(work, typeof(*stress), work); stress 381 kernel/locking/test-ww_mutex.c const int nlocks = stress->nlocks; stress 382 kernel/locking/test-ww_mutex.c struct ww_mutex *locks = stress->locks; stress 406 kernel/locking/test-ww_mutex.c dummy_load(stress); stress 426 kernel/locking/test-ww_mutex.c } while (!time_after(jiffies, stress->timeout)); stress 429 kernel/locking/test-ww_mutex.c kfree(stress); stress 439 kernel/locking/test-ww_mutex.c struct stress *stress = container_of(work, typeof(*stress), work); stress 446 kernel/locking/test-ww_mutex.c order = get_random_order(stress->nlocks); stress 450 kernel/locking/test-ww_mutex.c for (n = 0; n < stress->nlocks; n++) { stress 455 kernel/locking/test-ww_mutex.c ll->lock = &stress->locks[order[n]]; stress 483 kernel/locking/test-ww_mutex.c dummy_load(stress); stress 488 kernel/locking/test-ww_mutex.c } while (!time_after(jiffies, stress->timeout)); stress 494 kernel/locking/test-ww_mutex.c kfree(stress); stress 499 kernel/locking/test-ww_mutex.c struct stress *stress = container_of(work, typeof(*stress), work); stress 500 kernel/locking/test-ww_mutex.c const int nlocks = stress->nlocks; stress 501 kernel/locking/test-ww_mutex.c struct ww_mutex *lock = stress->locks + (get_random_int() % nlocks); stress 507 kernel/locking/test-ww_mutex.c dummy_load(stress); stress 514 kernel/locking/test-ww_mutex.c } while (!time_after(jiffies, stress->timeout)); stress 516 kernel/locking/test-ww_mutex.c kfree(stress); stress 537 kernel/locking/test-ww_mutex.c struct stress *stress; stress 559 kernel/locking/test-ww_mutex.c stress = kmalloc(sizeof(*stress), GFP_KERNEL); stress 560 kernel/locking/test-ww_mutex.c if (!stress) stress 563 kernel/locking/test-ww_mutex.c INIT_WORK(&stress->work, fn); stress 564 kernel/locking/test-ww_mutex.c stress->locks = locks; stress 565 kernel/locking/test-ww_mutex.c stress->nlocks = nlocks; stress 566 kernel/locking/test-ww_mutex.c stress->timeout = jiffies + 2*HZ; stress 568 kernel/locking/test-ww_mutex.c queue_work(wq, &stress->work); stress 610 kernel/locking/test-ww_mutex.c ret = stress(16, 2*ncpus, STRESS_INORDER); stress 614 kernel/locking/test-ww_mutex.c ret = stress(16, 2*ncpus, STRESS_REORDER); stress 618 kernel/locking/test-ww_mutex.c ret = stress(4095, hweight32(STRESS_ALL)*ncpus, STRESS_ALL); stress 1171 tools/testing/selftests/vm/userfaultfd.c if (stress(userfaults))