Home
last modified time | relevance | path

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

12345

/openbsd-src/sys/sys/
H A Dselect.h74 typedef struct fd_set { struct
76 } fd_set; typedef
79 __fd_set(int fd, fd_set *p) in __fd_set()
86 __fd_clr(int fd, fd_set *p) in __fd_clr()
93 __fd_isset(int fd, const fd_set *p) in __fd_isset()
103 fd_set *_p = (p); \
128 int select(int, fd_set * __restrict, fd_set * __restrict,
129 fd_set * __restrict, struct timeval * __restrict);
130 int pselect(int, fd_set * __restrict, fd_set * __restrict,
131 fd_set * __restrict, const struct timespec * __restrict,
/openbsd-src/usr.sbin/sasyncd/
H A Dsasyncd.h121 void carp_set_rfd(fd_set *);
122 void carp_read_message(fd_set *);
154 void net_handle_messages(fd_set *);
156 void net_send_messages(fd_set *);
157 int net_set_rfds(fd_set *);
158 int net_set_pending_wfds(fd_set *);
164 void pfkey_read_message(fd_set *);
165 void pfkey_send_message(fd_set *);
166 void pfkey_set_rfd(fd_set *);
167 void pfkey_set_pending_wfd(fd_set *);
H A Dpfkey.c366 pfkey_set_rfd(fd_set *fds) in pfkey_set_rfd()
373 pfkey_set_pending_wfd(fd_set *fds) in pfkey_set_pending_wfd()
380 pfkey_read_message(fd_set *fds) in pfkey_read_message()
388 pfkey_send_message(fd_set *fds) in pfkey_send_message()
/openbsd-src/gnu/llvm/lldb/source/Utility/
H A DSelectHelper.cpp132 fd_set *read_fdset_ptr = nullptr; in Select()
133 fd_set *write_fdset_ptr = nullptr; in Select()
134 fd_set *error_fdset_ptr = nullptr; in Select()
137 llvm::SmallVector<fd_set, 1> read_fdset; in Select()
138 llvm::SmallVector<fd_set, 1> write_fdset; in Select()
139 llvm::SmallVector<fd_set, 1> error_fdset; in Select()
153 for (auto &fd_set : read_fdset) in Select() local
154 FD_ZERO(&fd_set); in Select()
155 for (auto &fd_set : write_fdset) in Select() local
156 FD_ZERO(&fd_set); in Select()
[all …]
/openbsd-src/sbin/isakmpd/
H A Dtransport.h74 int (*fd_set) (struct transport *, fd_set *, int); member
77 int (*fd_isset) (struct transport *, fd_set *);
149 extern int transport_fd_set(fd_set *);
150 extern void transport_handle_messages(fd_set *);
153 extern int transport_pending_wfd_set(fd_set *);
159 extern void transport_send_messages(fd_set *);
H A Dtransport.c179 transport_fd_set(fd_set * fds) in transport_fd_set()
187 n = t->vtbl->fd_set(t, fds, 1); in transport_fd_set()
205 transport_pending_wfd_set(fd_set * fds) in transport_pending_wfd_set()
214 n = t->vtbl->fd_set(t, fds, 1); in transport_pending_wfd_set()
231 transport_handle_messages(fd_set *fds) in transport_handle_messages()
239 (*t->vtbl->fd_set)(t, fds, 0); in transport_handle_messages()
254 transport_send_messages(fd_set * fds) in transport_send_messages()
276 t->vtbl->fd_set(t, fds, 0); in transport_send_messages()
/openbsd-src/lib/libc/sys/
H A Dw_select.c22 select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, in select()
H A Dw_pselect.c23 pselect(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, in pselect()
/openbsd-src/sys/kern/
H A Dsys_generic.c82 int pselregister(struct proc *, fd_set **, fd_set **, int, int *, int *);
83 int pselcollect(struct proc *, struct kevent *, fd_set **, int *);
88 int dopselect(struct proc *, int, fd_set *, fd_set *, fd_set *,
529 syscallarg(fd_set *) in; in sys_select()
530 syscallarg(fd_set *) ou; in sys_select()
531 syscallarg(fd_set *) ex; in sys_select()
561 syscallarg(fd_set *) i in sys_pselect()
[all...]
/openbsd-src/lib/libevent/
H A Dselect.c53 fd_set *event_readset_in;
54 fd_set *event_writeset_in;
55 fd_set *event_readset_out;
56 fd_set *event_writeset_out;
191 fd_set *readset_in = NULL; in select_resize()
192 fd_set *writeset_in = NULL; in select_resize()
193 fd_set *readset_out = NULL; in select_resize()
194 fd_set *writeset_out = NULL; in select_resize()
/openbsd-src/gnu/gcc/fixincludes/tests/base/sys/
H A Dtime.h34 extern int select(int, fd_set *, fd_set *, fd_set *, struct timeval *);
/openbsd-src/gnu/usr.bin/cvs/os2/
H A Dtcpip.h109 extern int select(int, fd_set *, fd_set *, fd_set *, struct timeval *);
/openbsd-src/regress/lib/libpthread/select/
H A Dselect.c78 fd_set r; in fg_routine()
104 CHECKe(n = select(maxfd + 1, &r, (fd_set *) 0, (fd_set *) 0, in fg_routine()
/openbsd-src/usr.sbin/mopd/otherOS/
H A Dloop-linux2.c95 fd_set fds, listeners; in Loop()
131 if (select(maxfd + 1, &listeners, (fd_set *) 0, in Loop()
132 (fd_set *) 0, (struct timeval *) 0) < 0) { in Loop()
H A Dloop.c131 fd_set fds, listeners; in Loop()
154 if (select(maxfd + 1, &listeners, (fd_set *) 0, in Loop()
155 (fd_set *) 0, (struct timeval *) 0) < 0) { in Loop()
/openbsd-src/gnu/lib/libreadline/
H A Dparens.c116 fd_set readfds;
135 ready = select (1, &readfds, (fd_set *)NULL, (fd_set *)NULL, &timer);
H A Dinput.c174 fd_set readfds, exceptfds; in rl_gather_tyi()
187 result = select (tty + 1, &readfds, (fd_set *)NULL, &exceptfds, &timeout); in rl_gather_tyi()
267 fd_set readfds, exceptfds; in _rl_input_available()
284 return (select (tty + 1, &readfds, (fd_set *)NULL, &exceptfds, &timeout) > 0); in _rl_input_available()
/openbsd-src/usr.sbin/amd/amd/
H A Dnfs_start.c99 do_select(sigset_t *mask, sigset_t *omask, int fds, fd_set *fdp, in do_select()
158 fd_set *fdsp; in rpc_pending_now()
208 extern fd_set *__svc_fdset; in run_rpc()
209 fd_set *fdsp; in run_rpc()
222 fd_set *fdsp; in run_rpc()
/openbsd-src/regress/sys/kern/select/
H A Dselect_regevent.c32 fd_set rfd; in main()
33 fd_set wfd; in main()
/openbsd-src/include/rpc/
H A Dsvc.h264 extern fd_set svc_fdset;
280 extern void svc_getreqset(fd_set *);
281 extern void svc_getreqset2(fd_set *, int);
/openbsd-src/games/hunt/huntd/
H A Dextern.c44 fd_set Fds_mask; /* mask for the file descriptors */
45 fd_set Have_inp; /* which file descriptors have input */
/openbsd-src/regress/lib/libpthread/cancel2/
H A Dcancel2.c22 fd_set read_fds; in select_thread()
37 fd_set read_fds; in pselect_thread()
/openbsd-src/lib/libc/rpc/
H A Dsvc.c74 fd_set *__svc_fdset = &svc_fdset;
171 fd_set *fds; in svc_fd_insert()
176 if ((fds = (fd_set *)mem_alloc(bytes)) != NULL) { in svc_fd_insert()
518 svc_getreqset(fd_set *readfds) in svc_getreqset()
524 svc_getreqset2(fd_set *readfds, int width) in svc_getreqset2()
/openbsd-src/usr.sbin/nsd/
H A Dmini_event.c201 fd_set r, w; in handle_select()
208 memmove(&r, &base->reads, sizeof(fd_set)); in handle_select()
209 memmove(&w, &base->writes, sizeof(fd_set)); in handle_select()
210 memmove(&base->ready, &base->content, sizeof(fd_set)); in handle_select()
/openbsd-src/usr.sbin/unbound/util/
H A Dmini_event.c180 fd_set r, w; in handle_select()
187 memmove(&r, &base->reads, sizeof(fd_set)); in handle_select()
188 memmove(&w, &base->writes, sizeof(fd_set)); in handle_select()
189 memmove(&base->ready, &base->content, sizeof(fd_set)); in handle_select()

12345