Lines Matching refs:hashsize
296 int hashsize = TCBHASHSIZE;
316 if (!powerof2(hashsize)) {
318 hashsize = 512; /* safe default */
320 tcp_tcbhashsize = hashsize;
321 tcbinfo.hashsize = hashsize;
322 tcbinfo.hashbase = hashinit(hashsize, M_PCB, &tcbinfo.hashmask);
323 tcbinfo.porthashbase = hashinit(hashsize, M_PCB,
363 delack_bitmask = _MALLOC((4 * hashsize)/32, M_PCB, M_WAITOK);
367 for (i=0; i < (tcbinfo.hashsize / 32); i++)