Lines Matching refs:nTxLock
102 static int nTxLock = -1; /* number of transaction locks */ variable
103 module_param(nTxLock, int, 0);
104 MODULE_PARM_DESC(nTxLock,
245 if (nTxLock == -1) { in txInit()
250 nTxLock = 64 * 1024; in txInit()
252 nTxLock = si.totalram >> 2; in txInit()
254 nTxLock = 64 * 1024; in txInit()
256 nTxLock = nTxBlock << 3; in txInit()
259 nTxBlock = nTxLock >> 3; in txInit()
266 if (nTxLock < 256) in txInit()
267 nTxLock = 256; /* No one should set it this low */ in txInit()
268 if (nTxLock > 65536) in txInit()
269 nTxLock = 65536; in txInit()
272 nTxBlock, nTxLock); in txInit()
279 TxLockLWM = (nTxLock * 4) / 10; in txInit()
280 TxLockHWM = (nTxLock * 7) / 10; in txInit()
281 TxLockVHWM = (nTxLock * 8) / 10; in txInit()
308 size = sizeof(struct tlock) * nTxLock; in txInit()
316 for (k = 1; k < nTxLock - 1; k++) in txInit()