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

/illumos-gate/usr/src/uts/common/fs/portfs/
H A Dport_fd.c218 pcp->pc_hashsize = PORTHASH_START;
219 pcp->pc_hash = kmem_zalloc(pcp->pc_hashsize *
566 oldsize = pcp->pc_hashsize;
568 pcp->pc_hashsize *= PORTHASH_MULT;
569 pcp->pc_hash = kmem_zalloc(pcp->pc_hashsize * sizeof (portfd_t *),
596 if (pcp->pc_fdcount > (pcp->pc_hashsize * PORTHASH_MULT))
639 kmem_free(pcp->pc_hash, sizeof (polldat_t *) * pcp->pc_hashsize);
670 for (index = 0; index < pcp->pc_hashsize; index++) {
/illumos-gate/usr/src/uts/common/sys/
H A Dport_kernel.h132 int pc_hashsize; /* the size of current hash table */ member in struct:port_fdcache
H A Dpoll_impl.h244 int pc_hashsize; /* the size of current hash table */ member in struct:pollcache
H A Dport_impl.h217 (&(pcp)->pc_hash[((fd) % (pcp)->pc_hashsize)])
/illumos-gate/usr/src/uts/common/syscall/
H A Dpoll.c1047 hashindex = POLLHASH(pcp->pc_hashsize, fd);
1080 if ((pcp->pc_fdcount > pcp->pc_hashsize * POLLHASHTHRESHOLD) ||
1081 (nfds > pcp->pc_hashsize * POLLHASHTHRESHOLD)) {
1085 hashindex = POLLHASH(pcp->pc_hashsize, fd);
1119 ASSERT(pcp->pc_hashsize % POLLHASHCHUNKSZ == 0);
1120 oldsize = pcp->pc_hashsize;
1122 if (nfds > pcp->pc_hashsize * POLLHASHINC) {
1123 pcp->pc_hashsize = (nfds + POLLHASHCHUNKSZ - 1) &
1126 pcp->pc_hashsize = pcp->pc_hashsize * POLLHASHIN
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Ddevpoll.c1524 for (i = 0; i < pcp->pc_hashsize; i++) {

Completed in 90 milliseconds