Lines Matching defs:locks
39 torture_param(int, nested_locks, 0, "Number of nested locks (max = 8)");
579 } locks[3], *ll, *ln;
582 locks[0].lock = &torture_ww_mutex_0;
583 list_add(&locks[0].link, &list);
585 locks[1].lock = &torture_ww_mutex_1;
586 list_add(&locks[1].link, &list);
588 locks[2].lock = &torture_ww_mutex_2;
589 list_add(&locks[2].link, &list);
1256 * of threads as the writer-only locks default.
1341 * Create the kthreads and start torturing (oh, those poor little locks).