Home
last modified time | relevance | path

Searched refs:lrsa (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/kernel/locking/
H A Dlocktorture.c103 struct lock_stress_stats *lrsa; /* reader statistics */ member
870 int tid = lrsp - cxt.lrsa; in lock_torture_reader()
964 __torture_print_stats(buf, cxt.lrsa, false); in lock_torture_stats_print()
1015 if (!cxt.lwsa && !cxt.lrsa) in lock_torture_cleanup()
1048 kfree(cxt.lrsa); in lock_torture_cleanup()
1049 cxt.lrsa = NULL; in lock_torture_cleanup()
1162 cxt.lrsa = kmalloc_array(cxt.nrealreaders_stress, in lock_torture_init()
1163 sizeof(*cxt.lrsa), in lock_torture_init()
1165 if (cxt.lrsa == NULL) { in lock_torture_init()
1174 cxt.lrsa[i].n_lock_fail = 0; in lock_torture_init()
[all …]