Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/sys/
H A Dpoll_impl.h114 pollfd_t *pcs_pollfd; /* cached poll lists */
130 pollfd_t *ps_pollfd; /* hold the current poll list */
136 pollfd_t *ps_dpbuf; /* return pollfd buf used by devpoll */
320 extern int pcache_insert(pollstate_t *, file_t *, pollfd_t *, int *, ssize_t,
322 extern int pcache_poll(pollfd_t *, pollstate_t *, nfds_t, int *, int);
364 extern int pcacheset_cache_list(pollstate_t *, pollfd_t *, int *, int);
365 extern void pcacheset_remove_list(pollstate_t *, pollfd_t *, int, int, int,
368 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
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/syscall/
H A Dpoll.c113 static int plist_chkdupfd(file_t *, polldat_t *, pollstate_t *, pollfd_t *, int,
330 poll_common(pollfd_t *fds, nfds_t nfds, timespec_t *tsp, k_sigset_t *ksetp) in poll_common()
338 pollfd_t *pollfdp; in poll_common()
432 kmem_free(ps->ps_pollfd, old_nfds * sizeof (pollfd_t)); in poll_common()
433 pollfdp = kmem_alloc(nfds * sizeof (pollfd_t), KM_SLEEP); in poll_common()
439 if (copyin(fds, pollfdp, nfds * sizeof (pollfd_t))) { in poll_common()
629 copyout(pollfdp, fds, nfds * sizeof (pollfd_t))) in poll_common()
665 pollsys(pollfd_t *fds, nfds_t nfds, timespec_t *timeoutp, sigset_t *setp) in pollsys()
1046 pcacheset_cmp(pollfd_t *current, pollfd_t *cached, pollfd_t *newlist, int n) in pcacheset_cmp()
1296 pcache_insert(pollstate_t *ps, file_t *fp, pollfd_t *pollfdp, int *fdcntp, in pcache_insert()
[all …]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Drpc_sel2poll.c83 __rpc_compress_pollfd(int pollfdmax, pollfd_t *srcp, pollfd_t *p0) in __rpc_compress_pollfd()
86 pollfd_t *p = p0; in __rpc_compress_pollfd()
H A Drpc_comdata.c52 pollfd_t *svc_pollfd;
H A Dsvc_run.c59 extern int __rpc_compress_pollfd(int, pollfd_t *, pollfd_t *);
310 pollfd_t *tmp; in alloc_pollset()
315 sizeof (pollfd_t) * svc_pollset_allocd); in alloc_pollset()
H A Dclnt_vc.c82 extern int __rpc_compress_pollfd(int, pollfd_t *, pollfd_t *);
1163 extern pollfd_t *svc_pollfd; in read_vc()
H A Dsvc.c621 pollfd_t *tmp; in add_pollfd()
626 sizeof (pollfd_t) * svc_pollfd_allocd); in add_pollfd()
730 sizeof (pollfd_t) * svc_pollfd_allocd); in delete_pollfd()
/illumos-gate/usr/src/uts/common/io/
H A Ddevpoll.c254 pollfd_t *pfdp; in dp_pcache_poll()
269 pfdp = (pollfd_t *)dpbuf; in dp_pcache_poll()
711 pollfd_t *pollfdp, *pfdp; in dpwrite()
731 size = (is_epoll) ? sizeof (dvpoll_epollfd_t) : sizeof (pollfd_t); in dpwrite()
869 pfdp = (pollfd_t *)((uintptr_t)pfdp + size)) { in dpwrite()
1326 size = nfds * (fdsize = sizeof (pollfd_t)); in dpioctl()
1429 pollfd_t pollfd; in dpioctl()
1433 error = copyin((caddr_t)arg, &pollfd, sizeof (pollfd_t)); in dpioctl()
1456 if (copyout(&pollfd, (caddr_t)arg, sizeof (pollfd_t))) { in dpioctl()
/illumos-gate/usr/src/lib/libc/port/sys/
H A Depoll.c228 arg.dp_fds = (pollfd_t *)events; in epoll_wait()
246 arg.dp_fds = (pollfd_t *)events; in epoll_pwait()
/illumos-gate/usr/src/cmd/utmpd/
H A Dutmpd.c137 static pollfd_t *fdtable = NULL;
284 if ((fdtable = malloc(Max_fds * sizeof (pollfd_t))) == NULL) in main()
762 move_amt * sizeof (pollfd_t)); in add_pid()
828 move_amt * sizeof (pollfd_t)); in rem_pid()
/illumos-gate/usr/src/cmd/ypcmd/
H A Dyppush.c694 pollfd_t *pollset = NULL;
810 sizeof (pollfd_t) * svc_max_pollfd);
819 sizeof (pollfd_t) * svc_max_pollfd);
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumpoptr.c75 pollfd_t pollset; in query_once()
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/rpc/
H A Dsvc.h875 extern pollfd_t *svc_pollfd;
/illumos-gate/usr/src/cmd/consadm/
H A Dconsadm.c656 pollfd_t *fds; in fallbackdaemon()
/illumos-gate/usr/src/lib/libpcp/common/
H A Dlibpcp.c1379 pollfd_t pollfd; in vldc_write()
/illumos-gate/usr/src/cmd/bhyve/common/
H A Dpci_virtio_viona.c509 pollfd_t pollset; in pci_viona_poll_thread()
/illumos-gate/usr/src/uts/common/os/
H A Dsysent.c169 int pollsys(pollfd_t *, nfds_t, timespec_t *, sigset_t *);