Searched refs:hashinit (Results 1 - 23 of 23) sorted by relevance

/darwin-on-arm/xnu/bsd/sys/
H A Dsystm.h205 void *hashinit(int count, int type, u_long *hashmask);
/darwin-on-arm/xnu/bsd/hfs/hfscommon/BTree/
H A DBTreeNodeReserve.c95 nr_hashtbl = hashinit(NR_CACHE, M_HFSMNT, &nr_hashmask);
/darwin-on-arm/xnu/bsd/netinet/
H A Dip_divert.c160 divcbinfo.hashbase = hashinit(1, M_PCB, &divcbinfo.hashmask);
161 divcbinfo.porthashbase = hashinit(1, M_PCB, &divcbinfo.porthashmask);
H A Draw_ip.c164 ripcbinfo.hashbase = hashinit(1, M_PCB, &ripcbinfo.hashmask);
165 ripcbinfo.porthashbase = hashinit(1, M_PCB, &ripcbinfo.porthashmask);
H A Dudp_usrreq.c225 udbinfo.hashbase = hashinit(UDBHASHSIZE, M_PCB, &udbinfo.hashmask);
226 udbinfo.porthashbase = hashinit(UDBHASHSIZE, M_PCB,
H A Dtcp_subr.c375 tcbinfo.hashbase = hashinit(tcp_tcbhashsize, M_PCB, &tcbinfo.hashmask);
376 tcbinfo.porthashbase = hashinit(tcp_tcbhashsize, M_PCB,
/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_chash.c131 hfsmp->hfs_cnodehashtbl = hashinit(desiredvnodes / 4, M_HFSMNT, &hfsmp->hfs_cnodehash);
/darwin-on-arm/xnu/bsd/nfs/
H A Dnfs_srvcache.c166 nfsrv_reqcache_hashtbl = hashinit(nfsrv_reqcache_size, M_NFSD, &nfsrv_reqcache_hash);
H A Dnfs_node.c117 nfsnodehashtbl = hashinit(desiredvnodes, M_NFSNODE, &nfsnodehash);
H A Dnfs_gss.c247 nfs_gss_svc_ctx_hashtbl = hashinit(SVC_CTX_HASHSZ, M_TEMP, &nfs_gss_svc_ctx_hash);
H A Dnfs_bio.c162 nfsbufhashtbl = hashinit(nfsbufmax/4, M_TEMP, &nfsbufhash);
H A Dnfs_subs.c2767 nfsrv_export_hashtbl = hashinit(nfsrv_export_hash_size, M_TEMP, &nfsrv_export_hash);
H A Dnfs_serv.c217 nfsrv_fmod_hashtbl = hashinit(NFSRVFMODHASHSZ, M_TEMP, &nfsrv_fmod_hash);
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_cache.c1729 nchashtbl = hashinit(MAX(CONFIG_NC_HASH, (2 *desiredNodes)), M_CACHE, &nchash);
1799 new_table = hashinit(2 * dNodes, M_CACHE, &nchashmask);
2002 new_table = hashinit((string_table_mask + 1) * 2, M_CACHE, &new_mask);
2041 string_ref_table = hashinit(CONFIG_VFS_NAMES, M_CACHE, &string_table_mask);
H A Dvfs_quota.c188 dqhashtbl = hashinit(desiredvnodes, M_DQUOT, &dqhash);
H A Dvfs_bio.c1913 bufhashtbl = hashinit(nbuf_hashelements, M_CACHE, &bufhash);
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_proc.c196 pidhashtbl = hashinit(maxproc / 4, M_PROC, &pidhash);
197 pgrphashtbl = hashinit(maxproc / 4, M_PROC, &pgrphash);
198 sesshashtbl = hashinit(maxproc / 4, M_PROC, &sesshash);
199 uihashtbl = hashinit(maxproc / 16, M_PROC, &uihash);
H A Dkern_subr.c311 hashinit(int elements, int type, u_long *hashmask) function
318 panic("hashinit: bad cnt");
H A Dposix_sem.c311 psemhashtbl = hashinit(posix_sem_max / 2, M_SHM, &psemhash);
H A Dposix_shm.c326 pshmhashtbl = hashinit(desiredvnodes / 8, M_SHM, &pshmhash);
H A Dkern_event.c2546 fdp->fd_knhash = hashinit(CONFIG_KN_HASHSIZE, M_KQUEUE,
H A Dpthread_support.c2602 pth_glob_hashtbl = hashinit(PTH_HASHSIZE * 4, M_PROC, &pthhash);
2630 p->p_pthhash = hashinit(PTH_HASHSIZE, M_PROC, &pthhash);
/darwin-on-arm/xnu/bsd/miscfs/devfs/
H A Ddevfs_fdesc_support.c146 fdhashtbl = hashinit(NFDCACHE, M_CACHE, &fdhash);

Completed in 221 milliseconds