polldat_t
polldat_t *pdp;
polldat_t *pdp;
static int port_bind_pollhead(pollhead_t **, polldat_t *, short *);
static void port_cache_insert_fd(port_fdcache_t *, polldat_t *);
port_bind_pollhead(pollhead_t **php, polldat_t *pdp, short *revents)
polldat_t *pdp;
polldat_t *pdp1;
port_cache_insert_fd(port_fdcache_t *pcp, polldat_t *pdp)
port_remove_portfd(polldat_t *pdp, port_fdcache_t *pcp)
kmem_free(pcp->pc_hash, sizeof (polldat_t *) * pcp->pc_hashsize);
polldat_t *pdp;
polldat_t *pdpnext;
polldat_t *pdp = PFTOD(pfd);
polldat_t *pdp;
polldat_t **hashtbl;
polldat_t *pdp;
polldat_t *pdp;
polldat_t *pdp;
polldat_t *pdp;
polldat_t *lpdp;
polldat_t *cpdp;
polldat_t *pdp = PFTOD(pfd);
polldat_t *pdp = PFTOD(pfd);
polldat_t *pd_next; /* next on pollhead's ph_list */
polldat_t *pd_hashnext; /* next on pollhead's ph_list */
polldat_t **pc_hash; /* points to a hash table of ptrs */
extern void polldat_associate(polldat_t *, pollhead_t *);
extern void polldat_disassociate(polldat_t *);
extern polldat_t *pcache_lookup_fd(pollcache_t *, int);
extern polldat_t *pcache_alloc_fd(int);
extern void pcache_insert_fd(pollcache_t *, polldat_t *, nfds_t);
extern void pcacheset_invalidate(pollstate_t *, polldat_t *);
polldat_t **wpp = &php->ph_list, *wp = php->ph_list;
polldat_t *
polldat_t *pdp;
polldat_t *
polldat_t *pdp;
pdp = kmem_zalloc(sizeof (polldat_t), KM_SLEEP);
pcache_insert_fd(pollcache_t *pcp, polldat_t *pdp, nfds_t nfds)
static int plist_chkdupfd(file_t *, polldat_t *, pollstate_t *, pollfd_t *, int,
polldat_t *pdp1;
polldat_t **oldtbl;
polldat_t *pdp, *pdp1;
pcp->pc_hash = kmem_zalloc(pcp->pc_hashsize * sizeof (polldat_t *),
kmem_free(oldtbl, oldsize * sizeof (polldat_t *));
polldat_t **hashtbl;
polldat_t *pdp;
pcacheset_invalidate(pollstate_t *ps, polldat_t *pdp)
polldat_t *pdp;
polldat_t *pdp;
polldat_t *pdp;
polldat_t *pdp;
polldat_t *pdp;
polldat_t *pdp;
polldat_t *pdp;
polldat_t *pdp;
polldat_t *pdp;
polldat_t **hashtbl;
polldat_t *pdp;
polldat_t *pdp;
polldat_t *pdp;
pcp->pc_hash = kmem_zalloc(pcp->pc_hashsize * sizeof (polldat_t *),
polldat_t **hashtbl;
polldat_t *pdp, *pdp2;
kmem_free(pdp, sizeof (polldat_t));
kmem_free(pcp->pc_hash, sizeof (polldat_t *) * pcp->pc_hashsize);
plist_chkdupfd(file_t *fp, polldat_t *pdp, pollstate_t *psp, pollfd_t *pollfdp,
polldat_t *pdp;
polldat_associate(polldat_t *pdp, pollhead_t *php)
for (polldat_t *wp = php->ph_list; wp != NULL; wp = wp->pd_next) {
polldat_disassociate(polldat_t *pdp)