Lines Matching refs:maxlocks
71 * TM[maxlocks] per-lock mutex array
103 u_int maxlocks = 20; /* -l: Backing locks. */
153 maxlocks = (u_int)atoi(optarg);
206 len = sizeof(TM) * (1 + nthreads * nprocs + maxlocks);
252 progname, nprocs, nthreads, nlocks, maxlocks);
430 lock = (u_int)rand() % maxlocks;
673 1 + nthreads * nprocs + maxlocks)) != 0) {
752 printf("Allocate %d per-lock mutexes: ", maxlocks);
753 for (i = 0; i < maxlocks; ++i) {
802 for (i = 0; i < maxlocks; ++i) {
826 for (i = 0; i < maxlocks; ++i) {
933 "[-v] [-l maxlocks]",
995 snprintf(lbuf, sizeof(lbuf), "%d", maxlocks);