/freebsd/sys/kern/ |
H A D | vfs_hash.c | 49 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 D | subr_hash.c | 81 hashinit(int elements, struct malloc_type *type, u_long *hashmask) in hashinit() function
|
H A D | subr_sfbuf.c | 94 sf_buf_active = hashinit(nsfbufs, M_TEMP, &sf_buf_hashmask); in sf_buf_init()
|
H A D | uipc_sem.c | 1035 ksem_dictionary = hashinit(1024, M_KSEM, &ksem_hash); in ksem_module_init()
|
H A D | kern_thread.c | 577 tidhashtbl = hashinit(maxproc / 2, M_TIDHASH, &tidhash); in threadinit()
|
H A D | kern_resource.c | 1500 uihashtbl = hashinit(maxproc / 16, M_UIDINFO, &uihash); in uihashinit()
|
H A D | kern_proc.c | 190 pidhashtbl = hashinit(maxproc / 4, M_PROC, &pidhash); in procinit() 198 pgrphashtbl = hashinit(maxproc / 4, M_PROC, &pgrphash); in procinit()
|
/freebsd/sys/fs/nullfs/ |
H A D | null_subr.c | 73 null_node_hashtbl = hashinit(desiredvnodes, M_NULLFSHASH, in nullfs_init()
|
/freebsd/sys/dev/drm2/ |
H A D | drm_gem_names.c | 49 names->names_hash = hashinit(1000 /* XXXKIB */, M_GEM_NAMES, in drm_gem_names_init()
|
/freebsd/sys/fs/pseudofs/ |
H A D | pseudofs_vncache.c | 92 pfs_vncache_hashtbl = hashinit(maxproc / 4, M_PFSVNCACHE, &pfs_vncache_hash);
|
/freebsd/sys/dev/cxgbe/ |
H A D | t4_clip.c | 385 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 D | spl_taskq.c | 80 tqenthashtbl = hashinit(mp_ncpus * 8, M_TASKQ, &tqenthash); in system_taskq_init()
|
/freebsd/share/man/man9/ |
H A D | Makefile | 171 hashinit.9 \ 1207 MLINKS+=hashinit.9 hashdestroy.9 \ 1208 hashinit.9 hashinit_flags.9 \ 1209 hashinit.9 phashinit.9
|
/freebsd/sys/fs/fdescfs/ |
H A D | fdesc_vnops.c | 102 fdhashtbl = hashinit(NFDCACHE, M_CACHE, &fdhash); in fdesc_init()
|
/freebsd/sys/netinet/ |
H A D | in_pcb.c | 569 pcbinfo->ipi_hash_exact = hashinit(hash_nelements, M_PCB, in in_pcbinfo_init() 571 pcbinfo->ipi_hash_wild = hashinit(hash_nelements, M_PCB, in in_pcbinfo_init() 574 pcbinfo->ipi_porthashbase = hashinit(porthash_nelements, M_PCB, in in_pcbinfo_init() 576 pcbinfo->ipi_lbgrouphashbase = hashinit(porthash_nelements, M_PCB, in in_pcbinfo_init()
|
H A D | siftr.c | 1330 counter_hash = hashinit(SIFTR_EXPECTED_MAX_TCP_FLOWS, M_SIFTR, in init_siftr()
|
H A D | ip_input.c | 316 V_in_ifaddrhashtbl = hashinit(INADDR_NHASH, M_IFADDR, &V_in_ifaddrhmask); in ip_vnet_init()
|
/freebsd/sys/sys/ |
H A D | systm.h | 151 void *hashinit(int count, struct malloc_type *type, u_long *hashmask);
|
/freebsd/sys/dev/firmware/arm/ |
H A D | scmi.c | 330 trs->inflight_ht = hashinit(td->max_msg, M_DEVBUF, &trs->inflight_mask); in scmi_transport_init()
|
/freebsd/sys/netgraph/ |
H A D | ng_socket.c | 573 priv->hash = hashinit(16, M_NETGRAPH_SOCK, &priv->hmask); in ng_attach_cntl()
|
H A D | ng_base.c | 3145 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/netinet6/ |
H A D | ip6_input.c | 235 V_in6_ifaddrhashtbl = hashinit(IN6ADDR_NHASH, M_IFADDR, in ip6_vnet_init()
|
/freebsd/sys/netipsec/ |
H A D | key.c | 8532 V_spdcachehashtbl = hashinit(V_key_spdcache_maxentries / in spdcache_init() 8621 V_sphashtbl = hashinit(SPHASH_NHASH, M_IPSEC_SP, &V_sphash_mask); in key_vnet_init() 8622 V_savhashtbl = hashinit(SAVHASH_NHASH, M_IPSEC_SA, &V_savhash_mask); in key_vnet_init() 8623 V_sahaddrhashtbl = hashinit(SAHHASH_NHASH, M_IPSEC_SAH, in key_vnet_init() 8625 V_acqaddrhashtbl = hashinit(ACQHASH_NHASH, M_IPSEC_SAQ, in key_vnet_init() 8627 V_acqseqhashtbl = hashinit(ACQHASH_NHASH, M_IPSEC_SAQ, in key_vnet_init()
|
/freebsd/sys/fs/unionfs/ |
H A D | union_subr.c | 354 unp->un_hashtbl = hashinit(NUNIONFSNODECACHE, M_UNIONFSHASH, in unionfs_nodeget()
|
/freebsd/sys/ufs/ufs/ |
H A D | ufs_quota.c | 1168 dqhashtbl = hashinit(desiredvnodes, M_DQUOT, &dqhash); in dqinit()
|