Symbol: stress
kernel/locking/test-ww_mutex.c
431
static void dummy_load(struct stress *stress)
kernel/locking/test-ww_mutex.c
438
struct stress *stress = container_of(work, typeof(*stress), work);
kernel/locking/test-ww_mutex.c
439
const int nlocks = stress->nlocks;
kernel/locking/test-ww_mutex.c
440
struct ww_mutex *locks = stress->locks;
kernel/locking/test-ww_mutex.c
452
ww_acquire_init(&ctx, stress->class);
kernel/locking/test-ww_mutex.c
464
dummy_load(stress);
kernel/locking/test-ww_mutex.c
473
if (!time_after(jiffies, stress->timeout)) {
kernel/locking/test-ww_mutex.c
485
} while (!time_after(jiffies, stress->timeout));
kernel/locking/test-ww_mutex.c
497
struct stress *stress = container_of(work, typeof(*stress), work);
kernel/locking/test-ww_mutex.c
504
order = get_random_order(stress->nlocks);
kernel/locking/test-ww_mutex.c
508
for (n = 0; n < stress->nlocks; n++) {
kernel/locking/test-ww_mutex.c
513
ll->lock = &stress->locks[order[n]];
kernel/locking/test-ww_mutex.c
520
ww_acquire_init(&ctx, stress->class);
kernel/locking/test-ww_mutex.c
541
dummy_load(stress);
kernel/locking/test-ww_mutex.c
546
} while (!time_after(jiffies, stress->timeout));
kernel/locking/test-ww_mutex.c
556
struct stress *stress = container_of(work, typeof(*stress), work);
kernel/locking/test-ww_mutex.c
557
const int nlocks = stress->nlocks;
kernel/locking/test-ww_mutex.c
558
struct ww_mutex *lock = stress->locks + get_random_u32_below(nlocks);
kernel/locking/test-ww_mutex.c
564
dummy_load(stress);
kernel/locking/test-ww_mutex.c
571
} while (!time_after(jiffies, stress->timeout));
kernel/locking/test-ww_mutex.c
582
struct stress *stress_array;
kernel/locking/test-ww_mutex.c
600
struct stress *stress;
kernel/locking/test-ww_mutex.c
622
stress = &stress_array[count++];
kernel/locking/test-ww_mutex.c
624
INIT_WORK(&stress->work, fn);
kernel/locking/test-ww_mutex.c
625
stress->class = class;
kernel/locking/test-ww_mutex.c
626
stress->locks = locks;
kernel/locking/test-ww_mutex.c
627
stress->nlocks = nlocks;
kernel/locking/test-ww_mutex.c
628
stress->timeout = jiffies + 2*HZ;
kernel/locking/test-ww_mutex.c
630
queue_work(wq, &stress->work);
kernel/locking/test-ww_mutex.c
671
ret = stress(class, 16, 2 * ncpus, STRESS_INORDER);
kernel/locking/test-ww_mutex.c
675
ret = stress(class, 16, 2 * ncpus, STRESS_REORDER);
kernel/locking/test-ww_mutex.c
679
ret = stress(class, 2046, hweight32(STRESS_ALL) * ncpus, STRESS_ALL);
tools/testing/selftests/mm/uffd-stress.c
348
if (stress(args)) {