Home
last modified time | relevance | path

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

/kernel/locking/
Dlocktorture.c96 struct lock_stress_stats *lwsa; /* writer statistics */ member
737 __torture_print_stats(buf, cxt.lwsa, true); in lock_torture_stats_print()
799 if (!cxt.lwsa && !cxt.lrsa) in lock_torture_cleanup()
831 kfree(cxt.lwsa); in lock_torture_cleanup()
832 cxt.lwsa = NULL; in lock_torture_cleanup()
908 cxt.lwsa = kmalloc_array(cxt.nrealwriters_stress, in lock_torture_init()
909 sizeof(*cxt.lwsa), in lock_torture_init()
911 if (cxt.lwsa == NULL) { in lock_torture_init()
918 cxt.lwsa[i].n_lock_fail = 0; in lock_torture_init()
919 cxt.lwsa[i].n_lock_acquired = 0; in lock_torture_init()
[all …]