Home
last modified time | relevance | path

Searched refs:hashinit (Results 1 – 22 of 22) sorted by relevance

/f-stack/freebsd/kern/
H A Dvfs_hash.c52 vfs_hash_tbl = hashinit(desiredvnodes, M_VFS_HASH, &vfs_hash_mask); in vfs_hashinit()
209 vfs_hash_newtbl = hashinit(newmaxvnodes, M_VFS_HASH, in vfs_hash_changesize()
H A Dsubr_hash.c86 hashinit(int elements, struct malloc_type *type, u_long *hashmask) in hashinit() function
H A Dsubr_sfbuf.c97 sf_buf_active = hashinit(nsfbufs, M_TEMP, &sf_buf_hashmask); in sf_buf_init()
H A Duipc_sem.c1037 ksem_dictionary = hashinit(1024, M_KSEM, &ksem_hash); in ksem_module_init()
H A Dkern_thread.c533 tidhashtbl = hashinit(maxproc / 2, M_TIDHASH, &tidhash); in threadinit()
H A Dkern_resource.c1337 uihashtbl = hashinit(maxproc / 16, M_UIDINFO, &uihash); in uihashinit()
H A Dkern_proc.c186 pidhashtbl = hashinit(maxproc / 4, M_PROC, &pidhash); in procinit()
194 pgrphashtbl = hashinit(maxproc / 4, M_PROC, &pgrphash); in procinit()
H A Duipc_shm.c941 shm_dictionary = hashinit(1024, M_SHMFD, &shm_hash); in shm_init()
H A Dvfs_subr.c683 syncer_workitem_pending = hashinit(syncer_maxdelay, M_VNODE, in vntblinit()
/f-stack/lib/
H A Dff_kern_synch.c83 se_active = hashinit(64, M_TEMP, &se_hashmask); in synch_setup()
H A Dff_kern_subr.c89 hashinit(int elements, struct malloc_type *type, u_long *hashmask) in hashinit() function
H A Dff_ng_base.c3162 V_ng_ID_hash = hashinit(16, M_NETGRAPH_NODE, &V_ng_ID_hmask); in vnet_netgraph_init()
3163 V_ng_name_hash = hashinit(16, M_NETGRAPH_NODE, &V_ng_name_hmask); in vnet_netgraph_init()
/f-stack/freebsd/netinet/
H A Din_pcbgroup.c173 pcbinfo->ipi_wildbase = hashinit(hash_nelements, M_PCB, in in_pcbgroup_init()
177 pcbgroup->ipg_hashbase = hashinit(hash_nelements, M_PCB, in in_pcbgroup_init()
H A Din_pcb.c536 pcbinfo->ipi_hashbase = hashinit(hash_nelements, M_PCB, in in_pcbinfo_init()
538 pcbinfo->ipi_porthashbase = hashinit(porthash_nelements, M_PCB, in in_pcbinfo_init()
540 pcbinfo->ipi_lbgrouphashbase = hashinit(porthash_nelements, M_PCB, in in_pcbinfo_init()
H A Dip_input.c318 V_in_ifaddrhashtbl = hashinit(INADDR_NHASH, M_IFADDR, &V_in_ifaddrhmask); in ip_init()
H A Dsiftr.c1530 counter_hash = hashinit(SIFTR_EXPECTED_MAX_TCP_FLOWS, M_SIFTR, in init_siftr()
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_taskq.c87 tqenthashtbl = hashinit(mp_ncpus * 8, M_TASKQ, &tqenthash); in system_taskq_init()
/f-stack/freebsd/sys/
H A Dsystm.h251 void *hashinit(int count, struct malloc_type *type, u_long *hashmask);
/f-stack/freebsd/netgraph/
H A Dng_socket.c568 priv->hash = hashinit(16, M_NETGRAPH_SOCK, &priv->hmask); in ng_attach_cntl()
H A Dng_base.c3138 V_ng_ID_hash = hashinit(16, M_NETGRAPH_NODE, &V_ng_ID_hmask); in vnet_netgraph_init()
3139 V_ng_name_hash = hashinit(16, M_NETGRAPH_NODE, &V_ng_name_hmask); in vnet_netgraph_init()
/f-stack/freebsd/netipsec/
H A Dkey.c8185 V_spdcachehashtbl = hashinit(V_key_spdcache_maxentries / in spdcache_init()
8277 V_sphashtbl = hashinit(SPHASH_NHASH, M_IPSEC_SP, &V_sphash_mask); in key_init()
8278 V_savhashtbl = hashinit(SAVHASH_NHASH, M_IPSEC_SA, &V_savhash_mask); in key_init()
8279 V_sahaddrhashtbl = hashinit(SAHHASH_NHASH, M_IPSEC_SAH, in key_init()
8281 V_acqaddrhashtbl = hashinit(ACQHASH_NHASH, M_IPSEC_SAQ, in key_init()
8283 V_acqseqhashtbl = hashinit(ACQHASH_NHASH, M_IPSEC_SAQ, in key_init()
/f-stack/freebsd/netinet6/
H A Dip6_input.c226 V_in6_ifaddrhashtbl = hashinit(IN6ADDR_NHASH, M_IFADDR, in ip6_init()