Searched refs:pc_hash (Results 1 – 7 of 7) sorted by relevance
202 if (pcp->pc_hash == NULL) { in port_associate_fd()219 pcp->pc_hash = kmem_zalloc(pcp->pc_hashsize * in port_associate_fd()459 if (pcp->pc_hash == NULL) { in port_dissociate_fd()567 oldtbl = pcp->pc_hash; in port_cache_grow_hashtbl()569 pcp->pc_hash = kmem_zalloc(pcp->pc_hashsize * sizeof (portfd_t *), in port_cache_grow_hashtbl()639 kmem_free(pcp->pc_hash, sizeof (polldat_t *) * pcp->pc_hashsize); in port_pcache_destroy()669 hashtbl = pcp->pc_hash; in port_close_sourcefd()
131 struct portfd **pc_hash; /* points to a hash table of ptrs */ member
175 polldat_t **pc_hash; /* points to a hash table of ptrs */ member
217 (&(pcp)->pc_hash[((fd) % (pcp)->pc_hashsize)])
1050 pdp = pcp->pc_hash[hashindex]; in pcache_lookup_fd()1088 pdp->pd_hashnext = pcp->pc_hash[hashindex]; in pcache_insert_fd()1089 pcp->pc_hash[hashindex] = pdp; in pcache_insert_fd()1123 oldtbl = pcp->pc_hash; in pcache_grow_hashtbl()1130 pcp->pc_hash = kmem_zalloc(pcp->pc_hashsize * sizeof (polldat_t *), in pcache_grow_hashtbl()1189 hashtbl = pcp->pc_hash; in pcache_clean()2596 hashtbl = pcp->pc_hash; in checkpolldat()2727 pcp->pc_hash = kmem_zalloc(pcp->pc_hashsize * sizeof (polldat_t *), in pcache_create()2737 hashtbl = pcp->pc_hash; in pcache_destroy()2756 kmem_free(pcp->pc_hash, sizeof (polldat_t *) * pcp->pc_hashsize); in pcache_destroy()
863 if (pcp->pc_hash == NULL) { in dpioctl()942 hashtbl = pcp->pc_hash; in dpclose()
1336 pc_hash(const char *auth) in pc_hash() function1362 h = pc_hash(auth); in pc_exists()1412 j = pc_hash(ep->pce_auth) & (new_bnum - 1); in pc_grow()1442 i = pc_hash(auth) & (pcp->pc_bnum - 1); in pc_add()