hashinit
icc->cmp_table = hashinit(64, M_CXGBEI, &icc->cmp_hash_mask);
sc->clip_table = hashinit(CLIP_HASH_SIZE, M_CXGBE, &sc->clip_mask);
clip_db = hashinit(CLIP_HASH_SIZE, M_CXGBE, &clip_db_mask);
names->names_hash = hashinit(1000 /* XXXKIB */, M_GEM_NAMES,
trs->inflight_ht = hashinit(td->max_msg, M_DEVBUF, &trs->inflight_mask);
pmc_ownerhash = hashinit(pmc_hashsize, M_PMC,
pmc_processhash = hashinit(pmc_hashsize, M_PMC,
hwt_contexthash = hashinit(HWT_CONTEXTHASH_SIZE, M_HWT_CONTEXTHASH,
hwt_ownerhash = hashinit(HWT_OWNERHASH_SIZE, M_HWT_OWNERHASH,
fdhashtbl = hashinit(NFDCACHE, M_CACHE, &fdhash);
null_node_hashtbl = hashinit(desiredvnodes, M_NULLFSHASH,
pfs_vncache_hashtbl = hashinit(maxproc / 4, M_PFSVNCACHE, &pfs_vncache_hash);
unp->un_hashtbl = hashinit(NUNIONFSNODECACHE, M_UNIONFSHASH,
pidhashtbl = hashinit(maxproc / 4, M_PROC, &pidhash);
pgrphashtbl = hashinit(maxproc / 4, M_PROC, &pgrphash);
uihashtbl = hashinit(maxproc / 16, M_UIDINFO, &uihash);
tidhashtbl = hashinit(maxproc / 2, M_TIDHASH, &tidhash);
sf_buf_active = hashinit(nsfbufs, M_TEMP, &sf_buf_hashmask);
ksem_dictionary = hashinit(1024, M_KSEM, &ksem_hash);
shm_dictionary = hashinit(1024, M_SHMFD, &shm_hash);
vfs_hash_newtbl = hashinit(newmaxvnodes, M_VFS_HASH,
vfs_hash_tbl = hashinit(desiredvnodes, M_VFS_HASH, &vfs_hash_mask);
syncer_workitem_pending = hashinit(syncer_maxdelay, M_VNODE,
V_ng_ID_hash = hashinit(16, M_NETGRAPH_NODE, &V_ng_ID_hmask);
V_ng_name_hash = hashinit(16, M_NETGRAPH_NODE, &V_ng_name_hmask);
priv->hash = hashinit(16, M_NETGRAPH_SOCK, &priv->hmask);
pcbinfo->ipi_hash_exact = hashinit(hash_nelements, M_PCB,
pcbinfo->ipi_hash_wild = hashinit(hash_nelements, M_PCB,
pcbinfo->ipi_porthashbase = hashinit(porthash_nelements, M_PCB,
pcbinfo->ipi_lbgrouphashbase = hashinit(porthash_nelements, M_PCB,
V_in_ifaddrhashtbl = hashinit(INADDR_NHASH, M_IFADDR, &V_in_ifaddrhmask);
counter_hash = hashinit(SIFTR_EXPECTED_MAX_TCP_FLOWS, M_SIFTR,
V_in6_ifaddrhashtbl = hashinit(IN6ADDR_NHASH, M_IFADDR,
V_spdcachehashtbl = hashinit(V_key_spdcache_maxentries /
V_sphashtbl = hashinit(SPHASH_NHASH, M_IPSEC_SP, &V_sphash_mask);
V_savhashtbl = hashinit(SAVHASH_NHASH, M_IPSEC_SA, &V_savhash_mask);
V_sahaddrhashtbl = hashinit(SAHHASH_NHASH, M_IPSEC_SAH,
V_acqaddrhashtbl = hashinit(ACQHASH_NHASH, M_IPSEC_SAQ,
V_acqseqhashtbl = hashinit(ACQHASH_NHASH, M_IPSEC_SAQ,
void *hashinit(int count, struct malloc_type *type, u_long *hashmask);
sdp->sd_pdhash = hashinit(desiredvnodes / 5, M_PAGEDEP,
sdp->sd_idhash = hashinit(desiredvnodes, M_INODEDEP,
sdp->sd_newblkhash = hashinit(max_softdeps / 2, M_NEWBLK,
sdp->sd_bmhash = hashinit(1024, M_BMSAFEMAP, &sdp->sd_bmhashsize);
ump->um_trimhash = hashinit(MAXTRIMIO, M_TRIM,
dqhashtbl = hashinit(desiredvnodes, M_DQUOT, &dqhash);