Lines Matching refs:nTxLock
89 static int nTxLock = -1; /* number of transaction locks */ variable
90 module_param(nTxLock, int, 0);
91 MODULE_PARM_DESC(nTxLock,
232 if (nTxLock == -1) { in txInit()
237 nTxLock = 64 * 1024; in txInit()
239 nTxLock = si.totalram >> 2; in txInit()
241 nTxLock = 64 * 1024; in txInit()
243 nTxLock = nTxBlock << 3; in txInit()
246 nTxBlock = nTxLock >> 3; in txInit()
253 if (nTxLock < 256) in txInit()
254 nTxLock = 256; /* No one should set it this low */ in txInit()
255 if (nTxLock > 65536) in txInit()
256 nTxLock = 65536; in txInit()
259 nTxBlock, nTxLock); in txInit()
266 TxLockLWM = (nTxLock * 4) / 10; in txInit()
267 TxLockHWM = (nTxLock * 7) / 10; in txInit()
268 TxLockVHWM = (nTxLock * 8) / 10; in txInit()
295 size = sizeof(struct tlock) * nTxLock; in txInit()
303 for (k = 1; k < nTxLock - 1; k++) in txInit()