pollstate_t
pollstate_t *ps;
pollstate_t *ps = curthread->t_pollstate;
pollstate_t *ps =
pollstate_t *ps_contend_nextp; /* next in contender list */
pollstate_t **ps_contend_pnextp; /* pointer-to-previous-next */
extern pollstate_t *pollstate_create(void);
extern void pollstate_destroy(pollstate_t *);
extern int pcache_insert(pollstate_t *, file_t *, pollfd_t *, int *, ssize_t,
extern int pcache_poll(pollfd_t *, pollstate_t *, nfds_t, int *, int);
extern int pcache_delete_fd(pollstate_t *, int, size_t, int, uint_t);
extern void pcache_clean_entry(pollstate_t *, int);
extern int pcacheset_cache_list(pollstate_t *, pollfd_t *, int *, int);
extern void pcacheset_remove_list(pollstate_t *, pollfd_t *, int, int, int,
extern int pcacheset_resolve(pollstate_t *, nfds_t, int *, int);
extern void pcacheset_invalidate(pollstate_t *, polldat_t *);
extern void pcacheset_reset_count(pollstate_t *, int);
extern int pcacheset_replace(pollstate_t *);
static pollstate_t *pollstate_contenders = NULL;
static int pollchecksanity(pollstate_t *, nfds_t);
static int pollcheckxref(pollstate_t *, int);
static int pollcheckrevents(pollstate_t *, int, int, int);
static void checkpolldat(pollstate_t *);
static int plist_chkdupfd(file_t *, polldat_t *, pollstate_t *, pollfd_t *, int,
pcacheset_invalidate(pollstate_t *ps, polldat_t *pdp)
pcache_insert(pollstate_t *ps, file_t *fp, pollfd_t *pollfdp, int *fdcntp,
pcache_delete_fd(pollstate_t *ps, int fd, size_t pos, int which, uint_t cevent)
pollchecksanity(pollstate_t *ps, nfds_t nfds)
pcacheset_resolve(pollstate_t *ps, nfds_t nfds, int *fdcntp, int which)
pcache_poll(pollfd_t *pollfdp, pollstate_t *ps, nfds_t nfds, int *fdcntp,
pcacheset_cache_list(pollstate_t *ps, pollfd_t *fds, int *fdcntp, int which)
pcache_clean_entry(pollstate_t *ps, int fd)
pollstate_t *
pollstate_t *ps = curthread->t_pollstate;
ps = kmem_zalloc(sizeof (pollstate_t), KM_SLEEP);
pollstate_destroy(pollstate_t *ps)
kmem_free(ps, sizeof (pollstate_t));
pollstate_contend(pollstate_t *ps, pollcache_t *pcp)
pollstate_t *rem, *next;
pollstate_t *ps = curthread->t_pollstate;
pollstate_t *ps = curthread->t_pollstate;
pollstate_t *ps = curthread->t_pollstate;
pollstate_t *ps = fpip->fp_thread->t_pollstate;
pcacheset_reset_count(pollstate_t *ps, int index)
pcacheset_replace(pollstate_t *ps)
pollstate_t *ps;
pcacheset_remove_list(pollstate_t *ps, pollfd_t *pollfdp, int start, int end,
pollcheckxref(pollstate_t *ps, int cacheindex)
checkpolldat(pollstate_t *ps)
pollcheckrevents(pollstate_t *ps, int begin, int end, int cacheindex)
pollstate_t *ps = curthread->t_pollstate;
plist_chkdupfd(file_t *fp, polldat_t *pdp, pollstate_t *psp, pollfd_t *pollfdp,
pollstate_t *ps;
pollstate_t *ps = curthread->t_pollstate;