Lines Matching refs:lwsa
98 struct lock_stress_stats *lwsa; /* writer statistics */ member
670 int tid = lwsp - cxt.lwsa; in lock_torture_writer()
791 __torture_print_stats(buf, cxt.lwsa, true); in lock_torture_stats_print()
854 if (!cxt.lwsa && !cxt.lrsa) in lock_torture_cleanup()
886 kfree(cxt.lwsa); in lock_torture_cleanup()
887 cxt.lwsa = NULL; in lock_torture_cleanup()
971 cxt.lwsa = kmalloc_array(cxt.nrealwriters_stress, in lock_torture_init()
972 sizeof(*cxt.lwsa), in lock_torture_init()
974 if (cxt.lwsa == NULL) { in lock_torture_init()
981 cxt.lwsa[i].n_lock_fail = 0; in lock_torture_init()
982 cxt.lwsa[i].n_lock_acquired = 0; in lock_torture_init()
1007 kfree(cxt.lwsa); in lock_torture_init()
1008 cxt.lwsa = NULL; in lock_torture_init()
1083 firsterr = torture_create_kthread(lock_torture_writer, &cxt.lwsa[i], in lock_torture_init()