Home
last modified time | relevance | path

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

12

/freebsd-14-stable/sys/kern/
HDvfs_hash.c50 vfs_hash_tbl = hashinit(desiredvnodes, M_VFS_HASH, &vfs_hash_mask); in vfs_hashinit()
214 vfs_hash_newtbl = hashinit(newmaxvnodes, M_VFS_HASH, in vfs_hash_changesize()
HDsubr_hash.c84 hashinit(int elements, struct malloc_type *type, u_long *hashmask) in hashinit() function
HDsubr_sfbuf.c95 sf_buf_active = hashinit(nsfbufs, M_TEMP, &sf_buf_hashmask); in sf_buf_init()
HDuipc_sem.c1035 ksem_dictionary = hashinit(1024, M_KSEM, &ksem_hash); in ksem_module_init()
HDkern_thread.c579 tidhashtbl = hashinit(maxproc / 2, M_TIDHASH, &tidhash); in threadinit()
HDkern_resource.c1503 uihashtbl = hashinit(maxproc / 16, M_UIDINFO, &uihash); in uihashinit()
HDkern_proc.c192 pidhashtbl = hashinit(maxproc / 4, M_PROC, &pidhash); in procinit()
200 pgrphashtbl = hashinit(maxproc / 4, M_PROC, &pgrphash); in procinit()
/freebsd-14-stable/sys/dev/drm2/
HDdrm_gem_names.c50 names->names_hash = hashinit(1000 /* XXXKIB */, M_GEM_NAMES, in drm_gem_names_init()
/freebsd-14-stable/sys/fs/nullfs/
HDnull_subr.c75 null_node_hashtbl = hashinit(desiredvnodes, M_NULLFSHASH, in nullfs_init()
/freebsd-14-stable/sys/fs/pseudofs/
HDpseudofs_vncache.c92 pfs_vncache_hashtbl = hashinit(maxproc / 4, M_PFSVNCACHE, &pfs_vncache_hash);
/freebsd-14-stable/sys/dev/cxgbe/
HDt4_clip.c385 sc->clip_table = hashinit(CLIP_HASH_SIZE, M_CXGBE, &sc->clip_mask); in t4_init_clip_table()
846 clip_db = hashinit(CLIP_HASH_SIZE, M_CXGBE, &clip_db_mask); in t4_clip_modload()
/freebsd-14-stable/sys/contrib/openzfs/module/os/freebsd/spl/
HDspl_taskq.c80 tqenthashtbl = hashinit(mp_ncpus * 8, M_TASKQ, &tqenthash); in system_taskq_init()
/freebsd-14-stable/share/man/man9/
HDMakefile171 hashinit.9 \
1203 MLINKS+=hashinit.9 hashdestroy.9 \
1204 hashinit.9 hashinit_flags.9 \
1205 hashinit.9 phashinit.9
/freebsd-14-stable/sys/fs/fdescfs/
HDfdesc_vnops.c104 fdhashtbl = hashinit(NFDCACHE, M_CACHE, &fdhash); in fdesc_init()
/freebsd-14-stable/sys/netinet/
HDin_pcb.c531 pcbinfo->ipi_hash_exact = hashinit(hash_nelements, M_PCB, in in_pcbinfo_init()
533 pcbinfo->ipi_hash_wild = hashinit(hash_nelements, M_PCB, in in_pcbinfo_init()
536 pcbinfo->ipi_porthashbase = hashinit(porthash_nelements, M_PCB, in in_pcbinfo_init()
538 pcbinfo->ipi_lbgrouphashbase = hashinit(porthash_nelements, M_PCB, in in_pcbinfo_init()
HDsiftr.c1304 counter_hash = hashinit(SIFTR_EXPECTED_MAX_TCP_FLOWS, M_SIFTR, in init_siftr()
HDip_input.c318 V_in_ifaddrhashtbl = hashinit(INADDR_NHASH, M_IFADDR, &V_in_ifaddrhmask); in ip_vnet_init()
/freebsd-14-stable/sys/sys/
HDsystm.h155 void *hashinit(int count, struct malloc_type *type, u_long *hashmask);
/freebsd-14-stable/sys/netgraph/
HDng_socket.c577 priv->hash = hashinit(16, M_NETGRAPH_SOCK, &priv->hmask); in ng_attach_cntl()
HDng_base.c3145 V_ng_ID_hash = hashinit(16, M_NETGRAPH_NODE, &V_ng_ID_hmask); in vnet_netgraph_init()
3146 V_ng_name_hash = hashinit(16, M_NETGRAPH_NODE, &V_ng_name_hmask); in vnet_netgraph_init()
/freebsd-14-stable/sys/netipsec/
HDkey.c8246 V_spdcachehashtbl = hashinit(V_key_spdcache_maxentries / in spdcache_init()
8335 V_sphashtbl = hashinit(SPHASH_NHASH, M_IPSEC_SP, &V_sphash_mask); in key_vnet_init()
8336 V_savhashtbl = hashinit(SAVHASH_NHASH, M_IPSEC_SA, &V_savhash_mask); in key_vnet_init()
8337 V_sahaddrhashtbl = hashinit(SAHHASH_NHASH, M_IPSEC_SAH, in key_vnet_init()
8339 V_acqaddrhashtbl = hashinit(ACQHASH_NHASH, M_IPSEC_SAQ, in key_vnet_init()
8341 V_acqseqhashtbl = hashinit(ACQHASH_NHASH, M_IPSEC_SAQ, in key_vnet_init()
/freebsd-14-stable/sys/fs/unionfs/
HDunion_subr.c352 unp->un_hashtbl = hashinit(NUNIONFSNODECACHE, M_UNIONFSHASH, in unionfs_nodeget()
/freebsd-14-stable/sys/netinet6/
HDip6_input.c237 V_in6_ifaddrhashtbl = hashinit(IN6ADDR_NHASH, M_IFADDR, in ip6_vnet_init()
/freebsd-14-stable/sys/ufs/ufs/
HDufs_quota.c1170 dqhashtbl = hashinit(desiredvnodes, M_DQUOT, &dqhash); in dqinit()
/freebsd-14-stable/sys/dev/cxgbe/cxgbei/
HDicl_cxgbei.c910 icc->cmp_table = hashinit(64, M_CXGBEI, &icc->cmp_hash_mask); in icl_cxgbei_new_conn()

12