Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/sys/
H A Dpoll_impl.h97 pollfd_t *pcs_pollfd; /* cached poll lists */
108 pollfd_t *ps_pollfd; /* hold the current poll list */
114 pollfd_t *ps_dpbuf; /* return pollfd buf used by devpoll */
236 extern int pcache_insert(pollstate_t *, file_t *, pollfd_t *, int *, ssize_t,
238 extern int pcache_poll(pollfd_t *, pollstate_t *, nfds_t, int *, int);
278 extern int pcacheset_cache_list(pollstate_t *, pollfd_t *, int *, int);
279 extern void pcacheset_remove_list(pollstate_t *, pollfd_t *, int, int, int,
282 extern int pcacheset_cmp(pollfd_t *, pollfd_t *, pollfd_t *, int);
H A Ddevpoll.h51 pollfd_t *dp_fds; /* pollfd array */
H A Dpoll.h48 } pollfd_t; typedef
/titanic_41/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_41/usr/src/uts/common/syscall/
H A Dpoll.c109 static int plist_chkdupfd(file_t *, polldat_t *, pollstate_t *, pollfd_t *, int,
291 poll_common(pollfd_t *fds, nfds_t nfds, timespec_t *tsp, k_sigset_t *ksetp) in poll_common()
299 pollfd_t *pollfdp; in poll_common()
396 kmem_free(ps->ps_pollfd, old_nfds * sizeof (pollfd_t)); in poll_common()
397 pollfdp = kmem_alloc(nfds * sizeof (pollfd_t), KM_SLEEP); in poll_common()
403 if (copyin(fds, pollfdp, nfds * sizeof (pollfd_t))) { in poll_common()
593 copyout(pollfdp, fds, nfds * sizeof (pollfd_t))) in poll_common()
629 pollsys(pollfd_t *fds, nfds_t nfds, timespec_t *timeoutp, sigset_t *setp) in pollsys()
1005 pcacheset_cmp(pollfd_t *current, pollfd_t *cached, pollfd_t *newlist, int n) in pcacheset_cmp()
1258 pcache_insert(pollstate_t *ps, file_t *fp, pollfd_t *pollfdp, int *fdcntp, in pcache_insert()
[all …]
/titanic_41/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_41/usr/src/uts/common/io/
H A Ddevpoll.c240 dp_pcache_poll(pollfd_t *pfdp, pollcache_t *pcp, nfds_t nfds, int *fdcntp) in dp_pcache_poll()
501 pollfd_t *pollfdp, *pfdp; in dpwrite()
522 pollfdnum = uiosize / sizeof (pollfd_t); in dpwrite()
798 kmem_free(ps->ps_dpbuf, sizeof (pollfd_t) * in dpioctl()
800 ps->ps_dpbuf = kmem_zalloc(sizeof (pollfd_t) * in dpioctl()
842 dp_fds), sizeof (pollfd_t) * fdcnt)) { in dpioctl()
853 pollfd_t pollfd; in dpioctl()
857 error = copyin((caddr_t)arg, &pollfd, sizeof (pollfd_t)); in dpioctl()
880 if (copyout(&pollfd, (caddr_t)arg, sizeof (pollfd_t))) { in dpioctl()
/titanic_41/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_41/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_41/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_41/usr/src/cmd/backup/dump/
H A Ddumpoptr.c85 pollfd_t pollset;
/titanic_41/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_41/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_41/usr/src/uts/common/rpc/
H A Dsvc.h852 extern pollfd_t *svc_pollfd;
/titanic_41/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_41/usr/src/cmd/consadm/
H A Dconsadm.c658 pollfd_t *fds; in fallbackdaemon()
/titanic_41/usr/src/lib/libpcp/common/
H A Dlibpcp.c1381 pollfd_t pollfd; in vldc_write()
/titanic_41/usr/src/uts/common/os/
H A Dsysent.c167 int pollsys(pollfd_t *, nfds_t, timespec_t *, sigset_t *);