Lines Matching refs:nTxBlock
97 static int nTxBlock = -1; /* number of transaction blocks */ variable
98 module_param(nTxBlock, int, 0);
99 MODULE_PARM_DESC(nTxBlock,
246 if (nTxBlock == -1) { in txInit()
253 } else if (nTxBlock > (8 * 1024)) in txInit()
256 nTxLock = nTxBlock << 3; in txInit()
258 if (nTxBlock == -1) in txInit()
259 nTxBlock = nTxLock >> 3; in txInit()
262 if (nTxBlock < 16) in txInit()
263 nTxBlock = 16; /* No one should set it this low */ in txInit()
264 if (nTxBlock > 65536) in txInit()
265 nTxBlock = 65536; in txInit()
272 nTxBlock, nTxLock); in txInit()
283 size = sizeof(struct tblock) * nTxBlock; in txInit()
288 for (k = 1; k < nTxBlock - 1; k++) { in txInit()