nfds_t
extern nfds_t num_pollfds;
nfds_t n;
nfds_t num_pollfds;
nfds_t nfds = 0;
int ses_poll(struct pollfd fds[], nfds_t nfds, int timeout);
ses_poll(struct pollfd fds[], nfds_t nfds, int timeout)
if (poll(&pollset, (nfds_t)1,
if (poll(&pollset, (nfds_t)1, timeout) > 0) {
extern int ppoll(struct pollfd *_RESTRICT_KYWD, nfds_t,
s10_poll(sysret_t *rval, struct pollfd *fds, nfds_t nfd, int timeout)
extern int _pollsys(struct pollfd *, nfds_t, const timespec_t *,
ppoll(struct pollfd *_RESTRICT_KYWD fds, nfds_t nfd,
poll(struct pollfd *fds, nfds_t nfd, int timeout)
nfds_t npfds = 0;
static nfds_t
nfds_t total = 0;
_pollsys(struct pollfd *fds, nfds_t nfd, const timespec_t *timeout,
extern int __pollsys(struct pollfd *, nfds_t, const timespec_t *,
while (res = poll(fds, (nfds_t)1, -1)) {
nfds_t pnfds;
rsm_intr_signal_wait_pollfd(struct pollfd fds[], nfds_t nfds, int timeout,
nfds_t nfds, int timeout, int *numfdsp)
nfds_t, int, int *);
int rsm_intr_signal_wait_pollfd(struct pollfd [], nfds_t, int, int *);
static void mc_recvmsg(struct pollfd *pfd, nfds_t nfds, slp_handle_impl_t *hp,
nfds_t i;
static void free_pfds(struct pollfd *, nfds_t);
struct pollfd [], nfds_t);
static void free_pfds(struct pollfd *pfds, nfds_t nfds) {
nfds_t i;
struct pollfd pfd[], nfds_t nfds) {
nfds_t nfds;
struct pollfd **fds, nfds_t *nfds,
nfds_t nfd_i;
struct pollfd **, nfds_t *, struct bc_ifs *);
static void mc_recvmsg(struct pollfd *, nfds_t, slp_handle_impl_t *,
poll_wrapper(pollfd_t *fds, nfds_t nfds, int timeout, time_t *elapsed)
dppoll(int pollfd, pollfd_t *fds, nfds_t nfds, int timeout, time_t *elapsed)
nfds_t nfds;
nfds_t nfds = 1;
dp_pcache_poll(dp_entry_t *dpep, void *dpbuf, pollcache_t *pcp, nfds_t nfds,
nfds_t pollfdnum;
int pollsys(pollfd_t *, nfds_t, timespec_t *, sigset_t *);
nfds_t dp_nfds; /* num of pollfd's in dp_fds[] */
int poll(struct pollfd *, nfds_t, int);
extern void pcache_create(pollcache_t *, nfds_t);
extern int pcache_poll(pollfd_t *, pollstate_t *, nfds_t, int *, int);
extern void pcache_insert_fd(pollcache_t *, polldat_t *, nfds_t);
extern void pcache_grow_hashtbl(pollcache_t *, nfds_t);
extern int pcacheset_resolve(pollstate_t *, nfds_t, int *, int);
static int pollchecksanity(pollstate_t *, nfds_t);
pcache_insert_fd(pollcache_t *pcp, polldat_t *pdp, nfds_t nfds)
pcache_grow_hashtbl(pollcache_t *pcp, nfds_t nfds)
pollchecksanity(pollstate_t *ps, nfds_t nfds)
pcacheset_resolve(pollstate_t *ps, nfds_t nfds, int *fdcntp, int which)
nfds_t old_nfds;
pollscanrevents(pollcache_t *pcp, pollfd_t *pollfdp, nfds_t nfds)
pcache_poll(pollfd_t *pollfdp, pollstate_t *ps, nfds_t nfds, int *fdcntp,
pcache_create(pollcache_t *pcp, nfds_t nfds)
nfds_t nfds = psp->ps_nfds;
poll_common(pollfd_t *fds, nfds_t nfds, timespec_t *tsp, k_sigset_t *ksetp)
nfds_t old_nfds;
pollsys(pollfd_t *fds, nfds_t nfds, timespec_t *timeoutp, sigset_t *setp)