Home
last modified time | relevance | path

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

12

/freebsd/sys/kern/
H A Dvfs_hash.c49 vfs_hash_tbl = hashinit(desiredvnodes, M_VFS_HASH, &vfs_hash_mask); in vfs_hashinit()
213 vfs_hash_newtbl = hashinit(newmaxvnodes, M_VFS_HASH, in vfs_hash_changesize()
H A Dsubr_sfbuf.c94 sf_buf_active = hashinit(nsfbufs, M_TEMP, &sf_buf_hashmask); in sf_buf_init()
H A Dsubr_hash.c396 hashinit(int elements, struct malloc_type *type, u_long *hashmask) in hashinit() function
H A Duipc_sem.c1035 ksem_dictionary = hashinit(1024, M_KSEM, &ksem_hash); in ksem_module_init()
H A Dkern_thread.c581 tidhashtbl = hashinit(maxproc / 2, M_TIDHASH, &tidhash); in threadinit()
H A Dkern_resource.c1521 uihashtbl = hashinit(maxproc / 16, M_UIDINFO, &uihash); in uihashinit()
/freebsd/sys/dev/hwt/
H A Dhwt_contexthash.c123 hwt_contexthash = hashinit(HWT_CONTEXTHASH_SIZE, M_HWT_CONTEXTHASH, in hwt_contexthash_load()
H A Dhwt_ownerhash.c118 hwt_ownerhash = hashinit(HWT_OWNERHASH_SIZE, M_HWT_OWNERHASH, in hwt_ownerhash_load()
/freebsd/sys/dev/drm2/
H A Ddrm_gem_names.c49 names->names_hash = hashinit(1000 /* XXXKIB */, M_GEM_NAMES, in drm_gem_names_init()
/freebsd/sys/fs/nullfs/
H A Dnull_subr.c78 null_node_hashtbl = hashinit(desiredvnodes, M_NULLFSHASH, in nullfs_init()
/freebsd/sys/fs/pseudofs/
H A Dpseudofs_vncache.c92 pfs_vncache_hashtbl = hashinit(maxproc / 4, M_PFSVNCACHE, &pfs_vncache_hash);
/freebsd/sys/dev/cxgbe/
H A Dt4_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/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_taskq.c81 tqenthashtbl = hashinit(mp_ncpus * 8, M_TASKQ, &tqenthash); in system_taskq_init()
/freebsd/share/man/man9/
H A DMakefile179 hashinit.9 \
1228 MLINKS+=hashinit.9 hashdestroy.9 \
1229 hashinit.9 hashinit_flags.9 \
1230 hashinit.9 phashinit.9
/freebsd/sys/fs/fdescfs/
H A Dfdesc_vnops.c102 fdhashtbl = hashinit(NFDCACHE, M_CACHE, &fdhash); in fdesc_init()
/freebsd/sys/sys/
H A Dsystm.h150 void *hashinit(int count, struct malloc_type *type, u_long *hashmask);
/freebsd/sys/dev/firmware/arm/
H A Dscmi.c330 trs->inflight_ht = hashinit(td->max_msg, M_DEVBUF, &trs->inflight_mask); in scmi_transport_init()
/freebsd/sys/netgraph/
H A Dng_socket.c495 priv->hash = hashinit(16, M_NETGRAPH_SOCK, &priv->hmask); in ngc_attach()
H A Dng_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/sys/netinet/
H A Dsiftr.c1330 counter_hash = hashinit(SIFTR_EXPECTED_MAX_TCP_FLOWS, M_SIFTR, in init_siftr()
/freebsd/sys/netinet6/
H A Dip6_input.c240 V_in6_ifaddrhashtbl = hashinit(IN6ADDR_NHASH, M_IFADDR, in ip6_vnet_init()
/freebsd/sys/netipsec/
H A Dkey.c8547 V_spdcachehashtbl = hashinit(V_key_spdcache_maxentries / in spdcache_init()
8636 V_sphashtbl = hashinit(SPHASH_NHASH, M_IPSEC_SP, &V_sphash_mask); in key_vnet_init()
8637 V_savhashtbl = hashinit(SAVHASH_NHASH, M_IPSEC_SA, &V_savhash_mask); in key_vnet_init()
8638 V_sahaddrhashtbl = hashinit(SAHHASH_NHASH, M_IPSEC_SAH, in key_vnet_init()
8640 V_acqaddrhashtbl = hashinit(ACQHASH_NHASH, M_IPSEC_SAQ, in key_vnet_init()
8642 V_acqseqhashtbl = hashinit(ACQHASH_NHASH, M_IPSEC_SAQ, in key_vnet_init()
/freebsd/sys/fs/unionfs/
H A Dunion_subr.c354 unp->un_hashtbl = hashinit(NUNIONFSNODECACHE, M_UNIONFSHASH, in unionfs_nodeget()
/freebsd/sys/ufs/ufs/
H A Dufs_quota.c1168 dqhashtbl = hashinit(desiredvnodes, M_DQUOT, &dqhash); in dqinit()
/freebsd/sys/dev/cxgbe/cxgbei/
H A Dicl_cxgbei.c911 icc->cmp_table = hashinit(64, M_CXGBEI, &icc->cmp_hash_mask); in icl_cxgbei_new_conn()

12