Home
last modified time | relevance | path

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

123

/mirbsd/src/lib/libevent/
Dpoll.c62 struct pollfd *event_set;
129 struct pollfd *pfd = &pop->event_set[i]; in poll_check_ok()
210 struct pollfd *pfd = NULL; in poll_add()
220 struct pollfd *tmp_event_set; in poll_add()
232 tmp_event_count * sizeof(struct pollfd)); in poll_add()
315 struct pollfd *pfd = NULL; in poll_del()
354 sizeof(struct pollfd)); in poll_del()
/mirbsd/src/sys/sys/
Dpoll.h31 typedef struct pollfd { struct
57 int poll(struct pollfd[], nfds_t, int); argument
/mirbsd/src/gnu/usr.bin/perl/ext/IO/
Dpoll.h28 typedef struct pollfd { struct
49 int poll (struct pollfd *, unsigned long, int); argument
DIO.xs238 SV *tmpsv = NEWSV(999,nfd * sizeof(struct pollfd));
239 struct pollfd *fds = (struct pollfd *)SvPVX(tmpsv);
/mirbsd/src/gnu/usr.bin/binutils/gdb/
Devent-loop.c149 struct pollfd *poll_fds;
444 struct pollfd fds; in add_file_handler()
517 (struct pollfd *) xrealloc (gdb_notifier.poll_fds, in create_file_handler()
519 * sizeof (struct pollfd))); in create_file_handler()
522 (struct pollfd *) xmalloc (sizeof (struct pollfd)); in create_file_handler()
567 struct pollfd *new_poll_fds; in delete_file_handler()
589 (struct pollfd *) xmalloc ((gdb_notifier.num_fds - 1) * sizeof (struct pollfd)); in delete_file_handler()
/mirbsd/src/gnu/usr.sbin/sendmail/libmilter/
Dworker.c355 struct pollfd *pfd = NULL;
368 pfd = (struct pollfd *) malloc(PFD_STEP * sizeof(struct pollfd));
465 struct pollfd *tpfd;
470 tpfd = (struct pollfd *)
Dlibmilter.h178 # define FD_RD_VAR(rds, excs) struct pollfd rds
179 # define FD_WR_VAR(wrs) struct pollfd wrs
/mirbsd/src/usr.bin/ssh/
Datomicio.c48 struct pollfd pfd; in atomicio()
83 struct pollfd pfd; in atomiciov()
/mirbsd/src/usr.bin/vi/ex/
Dex_script.c210 struct pollfd pfd[1];
373 struct pollfd *pfd; in sscr_check_input()
384 pfd = calloc(nfds, sizeof(struct pollfd)); in sscr_check_input()
440 struct pollfd *pfd;
453 pfd = calloc(nfds, sizeof(struct pollfd));
504 struct pollfd pfd[1];
/mirbsd/src/include/rpc/
Dsvc.h267 extern struct pollfd *svc_pollfd;
280 extern void svc_getreq_poll(struct pollfd *, const int);
/mirbsd/src/bin/systrace/
Dintercept.c490 struct pollfd pollfd; in intercept_read() local
493 pollfd.fd = fd; in intercept_read()
494 pollfd.events = POLLIN; in intercept_read()
497 n = poll(&pollfd, 1, -1); in intercept_read()
504 if (!(pollfd.revents & (POLLIN|POLLRDNORM))) in intercept_read()
/mirbsd/src/lib/libncurses/src/ncurses/tty/
Dlib_twait.c158 struct pollfd fd_list[2]; in _nc_timed_wait()
159 struct pollfd *fds = fd_list; in _nc_timed_wait()
199 fds = typeMalloc(struct pollfd, 2 + evl->count); in _nc_timed_wait()
/mirbsd/src/lib/libc/rpc/
Drpc_commondata.c40 struct pollfd *svc_pollfd;
Dsvc_run.c45 struct pollfd *pfd = NULL, *newp; in svc_run()
/mirbsd/src/lib/libpthread/uthread/
Duthread_select.c109 data.fds = (struct pollfd *) realloc(curthread->poll_data.fds, in select()
110 sizeof(struct pollfd) * MAX(POLLDATA_MIN, fd_count)); in select()
Duthread_poll.c48 poll(struct pollfd fds[], nfds_t nfds, int timeout) in poll()
Dpthread_private.h519 struct pollfd *fds;
939 SCLASS struct pollfd *_thread_pfd_table
1314 int _thread_sys_poll(struct pollfd *, unsigned, int);
/mirbsd/src/usr.sbin/timed/timedc/
Dcmds.c85 struct pollfd pfd; in daydiff()
289 struct pollfd pfd; in msite()
474 struct pollfd pfd; in tracing()
/mirbsd/src/usr.sbin/isdn/isdnd/
Dcurses.c175 struct pollfd set[1]; in do_menu()
547 struct pollfd set[1]; in display_chans()
689 struct pollfd set[1]; in display_cards()
748 struct pollfd set[1]; in display_budget()
/mirbsd/src/usr.sbin/syslogd/
Dsyslogd.h55 extern struct pollfd pfd[N_PFD];
/mirbsd/src/usr.bin/talk/
Dctl_transact.c61 struct pollfd pfd[1];
Dio.c64 struct pollfd fds[2]; in talk()
/mirbsd/src/sys/kern/
Dsys_generic.c67 void pollscan(struct proc *, struct pollfd *, u_int, register_t *);
871 struct pollfd *pl;
913 struct pollfd pfds[4], *pl = pfds; in sys_poll()
924 sz = sizeof(struct pollfd) * nfds; in sys_poll()
928 pl = (struct pollfd *) malloc(sz, M_TEMP, M_WAITOK); in sys_poll()
/mirbsd/src/usr.sbin/dhcrelay/
Ddispatch.c142 struct pollfd *fds; in dispatch()
149 fds = malloc(nfds * sizeof(struct pollfd)); in dispatch()
/mirbsd/src/usr.sbin/isdn/isdnmonitor/
Dcurses.c316 struct pollfd set[1]; in do_menu()
484 struct pollfd set[1]; in display_chans()

123