Searched refs:pollfd (Results 1 - 25 of 59) sorted by relevance

123

/osnet-11/usr/src/lib/libcurses/screen/
H A Dnapms.c75 struct pollfd pollfd; local
77 if (poll(&pollfd, 0L, ms) == -1)
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/IO/
H A Dpoll.h28 typedef struct pollfd { struct
49 int poll (struct pollfd *, unsigned long, int);
H A Dpoll.c46 poll(struct pollfd *fds, unsigned long nfds, int timeout)
/osnet-11/usr/src/lib/libc/port/gen/
H A Dpoll.c34 ppoll(struct pollfd *_RESTRICT_KYWD fds, nfds_t nfd,
42 poll(struct pollfd *fds, nfds_t nfd, int timeout)
H A Dselect_large_fdset.c70 static struct pollfd *realloc_fds(int *, struct pollfd **, struct pollfd *);
85 * Rather than have a mammoth pollfd (65K) list on the stack
90 struct pollfd pfd[DEFAULT_POLL_SIZE];
91 struct pollfd *p;
92 struct pollfd *pfd_list;
134 * the appropriate pollfd struct.
141 * nused reflects the number of pollfd structs currently used
372 struct pollfd *
[all...]
H A Dselect.c66 struct pollfd *pfd;
67 struct pollfd *p;
83 p = pfd = (struct pollfd *)alloca(nfds * sizeof (struct pollfd));
107 * the appropriate pollfd struct.
137 n = (int)(p - pfd); /* number of pollfd's */
/osnet-11/usr/src/lib/libshell/common/bltins/
H A Dpoll_solaris.c310 struct pollfd *pollfd = alloca(sizeof(struct pollfd)*(numpollfd+1)); local
313 struct pollfd pollfd[numpollfd+1]; local
326 errormsg(SH_DICT, ERROR_system(1), "missing pollfd %s[%s].fd", varname, subname);
329 errormsg(SH_DICT, ERROR_system(1), "invalid pollfd fd %d", fd);
331 pollfd[i].fd = fd;
335 errormsg(SH_DICT, ERROR_system(1), "missing pollfd %s[%s].events", varname, subname);
339 errormsg(SH_DICT, ERROR_system(1), "missing pollfd event
[all...]
/osnet-11/usr/src/lib/libnsl/rpc/
H A Drpc_sel2poll.c43 * initialize the supplied pollfd array for RPC's use (RPC only
44 * polls for input events). We return the number of pollfd slots
51 struct pollfd *p0) /* target pollfd array */
55 struct pollfd *p = p0;
59 * the appropriate pollfd struct.
81 * elements. This function scans the source pollfd array
H A Drtime_tli.c103 struct pollfd pfd;
/osnet-11/usr/src/lib/libwanboot/common/
H A Dsocket_inet.c51 struct pollfd pfd;
/osnet-11/usr/src/lib/libinetutil/common/
H A Dlibinetutil_impl.h100 struct pollfd *iueh_pollfds; /* array of pollfds */
102 iu_event_node_t *iueh_events; /* corresponding pollfd info */
H A Deh.c144 struct pollfd *new_pollfds;
151 total_fds * sizeof (struct pollfd));
/osnet-11/usr/src/lib/libslp/clib/
H A Dslp_net.c91 struct pollfd **, nfds_t *, struct bc_ifs *);
94 static SLPError mc_sendmsg(struct pollfd *, struct msghdr *,
96 static SLPError bc_sendmsg(struct pollfd *, struct msghdr *, struct bc_ifs *);
97 static void mc_recvmsg(struct pollfd *, nfds_t, slp_handle_impl_t *,
101 static void free_pfds(struct pollfd *, nfds_t);
107 struct pollfd [], nfds_t);
197 struct pollfd pfd[1];
338 struct pollfd *pfd;
698 struct pollfd **fds, nfds_t *nfds,
757 /* allocate a pollfd arra
[all...]
/osnet-11/usr/src/lib/libast/common/tm/
H A Dtvsleep.c115 struct pollfd pfd;
/osnet-11/usr/src/lib/libast/common/sfio/
H A Dsfpoll.c101 { struct pollfd* fds;
109 if(!(fds = (struct pollfd*)malloc(m*sizeof(struct pollfd))) )
/osnet-11/usr/src/cmd/sendmail/libmilter/
H A Dworker.c344 /* Poll structure array (pollfd) size step */
354 struct pollfd *pfd = NULL;
367 pfd = (struct pollfd *) malloc(PFD_STEP * sizeof(struct pollfd));
370 smi_log(SMI_LOG_ERR, "Failed to malloc pollfd array: %s",
453 /* add the session to the pollfd array? */
458 ** Resize the pollfd array if it
464 struct pollfd *tpfd;
469 tpfd = (struct pollfd *)
479 "Failed to realloc pollfd arra
[all...]
H A Dlibmilter.h178 # define FD_RD_VAR(rds, excs) struct pollfd rds
179 # define FD_WR_VAR(wrs) struct pollfd wrs
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/
H A Dos-ip.c65 struct pollfd *ossi_pollfds;
84 * matches the LDAP_X_PollFD pollfd.
92 #define NSLDAPI_CB_POLL_MATCH( sbp, pollfd ) \
93 ( ((sbp)->sb_sd == NSLDAPI_CB_POLL_SD_CAST ((pollfd).lpoll_fd)) && \
94 (((sbp)->sb_sasl_fns.lbextiofn_socket_arg == (pollfd).lpoll_socketarg) || \
95 ((sbp)->sb_ext_io_fns.lbextiofn_socket_arg == (pollfd).lpoll_socketarg) ) )
97 #define NSLDAPI_CB_POLL_MATCH( sbp, pollfd ) \
98 ((sbp)->sb_sd == NSLDAPI_CB_POLL_SD_CAST ((pollfd).lpoll_fd) && \
99 (sbp)->sb_ext_io_fns.lbextiofn_socket_arg == (pollfd).lpoll_socketarg)
143 extern int _poll(struct pollfd *fd
[all...]
/osnet-11/usr/src/lib/auditd_plugins/remote/
H A Dtransport.c102 static void do_reset(int *, struct pollfd *, boolean_t);
103 static void do_cleanup(int *, struct pollfd *, boolean_t);
506 struct pollfd fds;
555 struct pollfd fds;
604 struct pollfd fds;
953 struct pollfd fds[2];
955 struct pollfd *pipe_fd = &fds[0];
956 struct pollfd *recv_fd = &fds[1];
967 * one struct pollfd in the vector which contains file descriptor of the
969 * descriptors (struct pollfd) i
[all...]
/osnet-11/usr/src/lib/libdhcpagent/common/
H A Ddhcpagent_ipc.c977 struct pollfd pollfd; local
981 pollfd.fd = fd;
982 pollfd.events = POLLIN;
988 retv = poll(&pollfd, 1, *msec);
1010 if (!(pollfd.revents & POLLIN)) {
/osnet-11/usr/src/lib/fm/libldom/sparc/
H A Dldom_xmpp_client.c349 pollfd_t pollfd[2]; local
350 struct pollfd *pipe_fd = &pollfd[0];
351 struct pollfd *recv_fd = &pollfd[1];
384 if (poll(pollfd, 2, -1) <= 0) {
H A Dldmsvcs_utils.c175 pollfd_t pollfd; local
180 pollfd.events = POLLIN;
181 pollfd.revents = 0;
182 pollfd.fd = fd;
192 if (errno == EAGAIN && poll(&pollfd, 1, 3000) > 0)
448 pollfd_t pollfd[2]; local
449 struct pollfd *pipe_fd = &pollfd[0];
450 struct pollfd *recv_fd = &pollfd[
[all...]
/osnet-11/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_name_service.c639 struct pollfd pollfd; local
720 pollfd.fd = fd;
721 pollfd.events = POLLIN | POLLOUT;
722 pollfd.revents = 0;
736 retval = poll(&pollfd, 1, tmo);
/osnet-11/usr/src/lib/libfsmgt/common/
H A Dcmd.c295 struct pollfd pollfds[1];
310 * Set up the pollfd structure with appropriate information.
/osnet-11/usr/src/lib/libipmp/common/
H A Dipmp_mpathd.c215 struct pollfd pfd;

Completed in 39 milliseconds

123