Home
last modified time | relevance | path

Searched refs:pc_hashsize (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/portfs/
H A Dport_fd.c216 pcp->pc_hashsize = PORTHASH_START; in port_associate_fd()
217 pcp->pc_hash = kmem_zalloc(pcp->pc_hashsize * in port_associate_fd()
562 oldsize = pcp->pc_hashsize; in port_cache_grow_hashtbl()
564 pcp->pc_hashsize *= PORTHASH_MULT; in port_cache_grow_hashtbl()
565 pcp->pc_hash = kmem_zalloc(pcp->pc_hashsize * sizeof (portfd_t *), in port_cache_grow_hashtbl()
592 if (pcp->pc_fdcount > (pcp->pc_hashsize * PORTHASH_MULT)) in port_cache_insert_fd()
635 kmem_free(pcp->pc_hash, sizeof (polldat_t *) * pcp->pc_hashsize); in port_pcache_destroy()
666 for (index = 0; index < pcp->pc_hashsize; index++) { in port_close_sourcefd()
/illumos-gate/usr/src/uts/common/syscall/
H A Dpoll.c1090 hashindex = POLLHASH(pcp->pc_hashsize, fd); in pcache_lookup_fd()
1128 hashindex = POLLHASH(pcp->pc_hashsize, fd); in pcache_insert_fd()
1162 ASSERT(pcp->pc_hashsize % POLLHASHCHUNKSZ == 0); in pcache_grow_hashtbl()
1163 oldsize = pcp->pc_hashsize; in pcache_grow_hashtbl()
1165 if (nfds > pcp->pc_hashsize * POLLHASHINC) { in pcache_grow_hashtbl()
1166 pcp->pc_hashsize = (nfds + POLLHASHCHUNKSZ - 1) & in pcache_grow_hashtbl()
1169 pcp->pc_hashsize = pcp->pc_hashsize * POLLHASHINC; in pcache_grow_hashtbl()
1231 for (i = 0; i < pcp->pc_hashsize; i++) { in pcache_clean()
2841 for (i = 0; i < pcp->pc_hashsize; i++) { in checkpolldat()
2969 pcp->pc_hashsize = POLLHASHCHUNKSZ; in pcache_create()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dport_kernel.h133 int pc_hashsize; /* the size of current hash table */ member
H A Dpoll_impl.h248 int pc_hashsize; /* the size of current hash table */ member
H A Dport_impl.h217 (&(pcp)->pc_hash[((fd) % (pcp)->pc_hashsize)])
/illumos-gate/usr/src/uts/common/io/
H A Ddevpoll.c1645 for (i = 0; i < pcp->pc_hashsize; i++) { in dpclose()