Home
last modified time | relevance | path

Searched refs:pollfd_t (Results 1 – 25 of 25) sorted by relevance

/titanic_50/usr/src/uts/common/sys/
H A Dpoll_impl.h113 pollfd_t *pcs_pollfd; /* cached poll lists */
129 pollfd_t *ps_pollfd; /* hold the current poll list */
135 pollfd_t *ps_dpbuf; /* return pollfd buf used by devpoll */
308 extern int pcache_insert(pollstate_t *, file_t *, pollfd_t *, int *, ssize_t,
310 extern int pcache_poll(pollfd_t *, pollstate_t *, nfds_t, int *, int);
352 extern int pcacheset_cache_list(pollstate_t *, pollfd_t *, int *, int);
353 extern void pcacheset_remove_list(pollstate_t *, pollfd_t *, int, int, int,
356 extern int pcacheset_cmp(pollfd_t *, pollfd_t *, pollfd_t *, int);
H A Ddevpoll.h55 pollfd_t *dp_fds; /* pollfd array */
69 pollfd_t dpep_pollfd; /* must be first member */
H A Dpoll.h52 } pollfd_t; typedef
/titanic_50/usr/src/test/os-tests/tests/poll/
H A Dpoll_test.c163 poll_wrapper(pollfd_t *fds, nfds_t nfds, int timeout, time_t *elapsed) in poll_wrapper()
181 dppoll(int pollfd, pollfd_t *fds, nfds_t nfds, int timeout, time_t *elapsed) in dppoll()
207 pollfd_t fd; in clear_fd()
213 ret = write(pollfd, &fd, sizeof (pollfd_t)); in clear_fd()
215 if (ret != sizeof (pollfd_t)) { in clear_fd()
264 pollfd_t fd; in poll_with_fds_test()
325 pollfd_t fds[5]; in dev_poll_with_fds_test()
341 ret = write(pollfd, fds, sizeof (pollfd_t)); in dev_poll_with_fds_test()
343 if (ret != sizeof (pollfd_t)) { in dev_poll_with_fds_test()
/titanic_50/usr/src/lib/libnsl/rpc/
H A Drpc_sel2poll.c85 __rpc_compress_pollfd(int pollfdmax, pollfd_t *srcp, pollfd_t *p0) in __rpc_compress_pollfd()
88 pollfd_t *p = p0; in __rpc_compress_pollfd()
H A Drpc_comdata.c47 pollfd_t *svc_pollfd;
H A Dsvc_run.c59 extern int __rpc_compress_pollfd(int, pollfd_t *, pollfd_t *);
314 pollfd_t *tmp; in alloc_pollset()
319 sizeof (pollfd_t) * svc_pollset_allocd); in alloc_pollset()
H A Dclnt_vc.c81 extern int __rpc_compress_pollfd(int, pollfd_t *, pollfd_t *);
1202 extern pollfd_t *svc_pollfd; in read_vc()
H A Dsvc.c618 pollfd_t *tmp; in add_pollfd()
623 sizeof (pollfd_t) * svc_pollfd_allocd); in add_pollfd()
727 sizeof (pollfd_t) * svc_pollfd_allocd); in delete_pollfd()
/titanic_50/usr/src/uts/common/syscall/
H A Dpoll.c116 static int plist_chkdupfd(file_t *, polldat_t *, pollstate_t *, pollfd_t *, int,
325 poll_common(pollfd_t *fds, nfds_t nfds, timespec_t *tsp, k_sigset_t *ksetp) in poll_common()
333 pollfd_t *pollfdp; in poll_common()
427 kmem_free(ps->ps_pollfd, old_nfds * sizeof (pollfd_t)); in poll_common()
428 pollfdp = kmem_alloc(nfds * sizeof (pollfd_t), KM_SLEEP); in poll_common()
434 if (copyin(fds, pollfdp, nfds * sizeof (pollfd_t))) { in poll_common()
624 copyout(pollfdp, fds, nfds * sizeof (pollfd_t))) in poll_common()
660 pollsys(pollfd_t *fds, nfds_t nfds, timespec_t *timeoutp, sigset_t *setp) in pollsys()
1037 pcacheset_cmp(pollfd_t *current, pollfd_t *cached, pollfd_t *newlist, int n) in pcacheset_cmp()
1290 pcache_insert(pollstate_t *ps, file_t *fp, pollfd_t *pollfdp, int *fdcntp, in pcache_insert()
[all …]
/titanic_50/usr/src/lib/libc/port/sys/
H A Depoll.c185 arg.dp_fds = (pollfd_t *)events; in epoll_wait()
203 arg.dp_fds = (pollfd_t *)events; in epoll_pwait()
/titanic_50/usr/src/uts/common/io/
H A Ddevpoll.c259 pollfd_t *pfdp; in dp_pcache_poll()
278 pfdp = (pollfd_t *)dpbuf; in dp_pcache_poll()
637 pollfd_t *pollfdp, *pfdp; in dpwrite()
660 size = (is_epoll) ? sizeof (dvpoll_epollfd_t) : sizeof (pollfd_t); in dpwrite()
747 pfdp = (pollfd_t *)((uintptr_t)pfdp + size)) { in dpwrite()
1184 size = nfds * (fdsize = sizeof (pollfd_t)); in dpioctl()
1283 pollfd_t pollfd; in dpioctl()
1287 error = copyin((caddr_t)arg, &pollfd, sizeof (pollfd_t)); in dpioctl()
1310 if (copyout(&pollfd, (caddr_t)arg, sizeof (pollfd_t))) { in dpioctl()
/titanic_50/usr/src/cmd/utmpd/
H A Dutmpd.c136 static pollfd_t *fdtable = NULL;
283 if ((fdtable = malloc(Max_fds * sizeof (pollfd_t))) == NULL) in main()
761 move_amt * sizeof (pollfd_t)); in add_pid()
827 move_amt * sizeof (pollfd_t)); in rem_pid()
/titanic_50/usr/src/cmd/rexd/
H A Drpc.rexd.c122 extern void HelperRead(pollfd_t *fdp, int, int *);
133 pollfd_t *pollset = NULL; in main()
315 sizeof (pollfd_t) * svc_max_pollfd); in main()
323 sizeof (pollfd_t) * svc_max_pollfd); in main()
H A Dunix_login.c572 HelperRead(pollfd_t *fdp, int nfds, int *pollretval) in HelperRead()
/titanic_50/usr/src/cmd/ypcmd/
H A Dyppush.c693 pollfd_t *pollset = NULL;
809 sizeof (pollfd_t) * svc_max_pollfd);
818 sizeof (pollfd_t) * svc_max_pollfd);
/titanic_50/usr/src/cmd/backup/dump/
H A Ddumpoptr.c85 pollfd_t pollset;
/titanic_50/usr/src/cmd/fm/modules/sun4v/etm/
H A Detm_xport_api_dd.c657 pollfd_t pollfd; in etm_xport_buffered_read()
957 pollfd_t pollfd; in etm_xport_accept()
/titanic_50/usr/src/cmd/krb5/kadmin/server/
H A Dovsec_kadmd.c1251 rfd = realloc(rfd, sizeof (pollfd_t) * svc_max_pollfd); in kadm_svc_run()
1256 sizeof (pollfd_t) * svc_max_pollfd); in kadm_svc_run()
/titanic_50/usr/src/lib/fm/libldom/sparc/
H A Dldom_xmpp_client.c346 pollfd_t pollfd[2]; in xmpp_client_thr()
H A Dldmsvcs_utils.c175 pollfd_t pollfd; in read_stream()
448 pollfd_t pollfd[2]; in poller_loop()
/titanic_50/usr/src/uts/common/rpc/
H A Dsvc.h852 extern pollfd_t *svc_pollfd;
/titanic_50/usr/src/cmd/consadm/
H A Dconsadm.c658 pollfd_t *fds; in fallbackdaemon()
/titanic_50/usr/src/lib/libpcp/common/
H A Dlibpcp.c1381 pollfd_t pollfd; in vldc_write()
/titanic_50/usr/src/uts/common/os/
H A Dsysent.c167 int pollsys(pollfd_t *, nfds_t, timespec_t *, sigset_t *);