| /freebsd-12.1/sys/kern/ |
| H A D | vfs_hash.c | 52 vfs_hash_tbl = hashinit(desiredvnodes, M_VFS_HASH, &vfs_hash_mask); in vfs_hashinit() 207 vfs_hash_newtbl = hashinit(newmaxvnodes, M_VFS_HASH, in vfs_hash_changesize()
|
| H A D | subr_hash.c | 86 hashinit(int elements, struct malloc_type *type, u_long *hashmask) in hashinit() function
|
| H A D | subr_sfbuf.c | 97 sf_buf_active = hashinit(nsfbufs, M_TEMP, &sf_buf_hashmask); in sf_buf_init()
|
| H A D | kern_thread.c | 345 tidhashtbl = hashinit(maxproc / 2, M_TIDHASH, &tidhash); in threadinit()
|
| H A D | uipc_sem.c | 1036 ksem_dictionary = hashinit(1024, M_KSEM, &ksem_hash); in ksem_module_init()
|
| H A D | vfs_cache.c | 1878 nchashtbl = hashinit(desiredvnodes * 2, M_VFSCACHE, &nchash); in nchinit() 1936 new_nchashtbl = hashinit(newmaxvnodes, M_VFSCACHE, &new_nchash); in cache_changesize()
|
| H A D | uipc_shm.c | 636 shm_dictionary = hashinit(1024, M_SHMFD, &shm_hash); in shm_init()
|
| H A D | kern_resource.c | 1311 uihashtbl = hashinit(maxproc / 16, M_UIDINFO, &uihash); in uihashinit()
|
| H A D | kern_proc.c | 191 pidhashtbl = hashinit(maxproc / 4, M_PROC, &pidhash); in procinit() 192 pgrphashtbl = hashinit(maxproc / 4, M_PROC, &pgrphash); in procinit()
|
| /freebsd-12.1/sys/netinet/ |
| H A D | in_pcbgroup.c | 173 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 D | in_pcb.c | 450 pcbinfo->ipi_hashbase = hashinit(hash_nelements, M_PCB, in in_pcbinfo_init() 452 pcbinfo->ipi_porthashbase = hashinit(porthash_nelements, M_PCB, in in_pcbinfo_init() 454 pcbinfo->ipi_lbgrouphashbase = hashinit(porthash_nelements, M_PCB, in in_pcbinfo_init()
|
| H A D | ip_input.c | 308 V_in_ifaddrhashtbl = hashinit(INADDR_NHASH, M_IFADDR, &V_in_ifaddrhmask); in ip_init()
|
| H A D | siftr.c | 1525 counter_hash = hashinit(SIFTR_EXPECTED_MAX_TCP_FLOWS, M_SIFTR, in init_siftr()
|
| /freebsd-12.1/sys/fs/nullfs/ |
| H A D | null_subr.c | 78 null_node_hashtbl = hashinit(desiredvnodes, M_NULLFSHASH,
|
| /freebsd-12.1/sys/dev/drm2/ |
| H A D | drm_gem_names.c | 53 names->names_hash = hashinit(1000 /* XXXKIB */, M_GEM_NAMES, in drm_gem_names_init()
|
| /freebsd-12.1/share/man/man9/ |
| H A D | Makefile | 152 hashinit.9 \ 1041 MLINKS+=hashinit.9 hashdestroy.9 \ 1042 hashinit.9 hashinit_flags.9 \ 1043 hashinit.9 phashinit.9
|
| /freebsd-12.1/sys/fs/fdescfs/ |
| H A D | fdesc_vnops.c | 106 fdhashtbl = hashinit(NFDCACHE, M_CACHE, &fdhash); in fdesc_init()
|
| /freebsd-12.1/sys/sys/ |
| H A D | systm.h | 218 void *hashinit(int count, struct malloc_type *type, u_long *hashmask);
|
| /freebsd-12.1/sys/netgraph/ |
| H A D | ng_socket.c | 555 priv->hash = hashinit(16, M_NETGRAPH_SOCK, &priv->hmask); in ng_attach_cntl()
|
| H A D | ng_base.c | 3138 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()
|
| /freebsd-12.1/sys/netipsec/ |
| H A D | key.c | 8230 V_spdcachehashtbl = hashinit(V_key_spdcache_maxentries / in spdcache_init() 8322 V_sphashtbl = hashinit(SPHASH_NHASH, M_IPSEC_SP, &V_sphash_mask); in key_init() 8323 V_savhashtbl = hashinit(SAVHASH_NHASH, M_IPSEC_SA, &V_savhash_mask); in key_init() 8324 V_sahaddrhashtbl = hashinit(SAHHASH_NHASH, M_IPSEC_SAH, in key_init() 8326 V_acqaddrhashtbl = hashinit(ACQHASH_NHASH, M_IPSEC_SAQ, in key_init() 8328 V_acqseqhashtbl = hashinit(ACQHASH_NHASH, M_IPSEC_SAQ, in key_init()
|
| /freebsd-12.1/sys/fs/unionfs/ |
| H A D | union_subr.c | 273 unp->un_hashtbl = hashinit(NUNIONFSNODECACHE, M_UNIONFSHASH, in unionfs_nodeget()
|
| /freebsd-12.1/sys/netinet6/ |
| H A D | ip6_input.c | 226 V_in6_ifaddrhashtbl = hashinit(IN6ADDR_NHASH, M_IFADDR, in ip6_init()
|
| /freebsd-12.1/sys/ufs/ufs/ |
| H A D | ufs_quota.c | 1175 dqhashtbl = hashinit(desiredvnodes, M_DQUOT, &dqhash); in dqinit()
|
| /freebsd-12.1/sys/ufs/ffs/ |
| H A D | ffs_vfsops.c | 1003 ump->um_trimhash = hashinit(MAXTRIMIO, M_TRIM,
|