Home
last modified time | relevance | path

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

1234567891011

/freebsd-14.2/sys/sys/
H A Dselect.h71 typedef struct fd_set { struct
73 } fd_set; argument
86 fd_set *_p; \
98 int pselect(int, fd_set *__restrict, fd_set *__restrict, fd_set *__restrict,
103 int select(int, fd_set *, fd_set *, fd_set *, struct timeval *);
/freebsd-14.2/contrib/llvm-project/lldb/source/Utility/
H A DSelectHelper.cpp132 fd_set *read_fdset_ptr = nullptr; in Select()
133 fd_set *write_fdset_ptr = nullptr; 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()
157 for (auto &fd_set : error_fdset) in Select() local
158 FD_ZERO(&fd_set); in Select()
160 fd_set read_fdset; in Select()
161 fd_set write_fdset; in Select()
[all …]
/freebsd-14.2/usr.sbin/ppp/
H A Dphysical.h62 int (*removefromset)(struct physical *, fd_set *, fd_set *, fd_set *);
157 extern int physical_doUpdateSet(struct fdescriptor *, fd_set *, fd_set *,
158 fd_set *, int *, int);
159 extern int physical_IsSet(struct fdescriptor *, const fd_set *);
161 const fd_set *);
163 extern int physical_RemoveFromSet(struct physical *, fd_set *, fd_set *,
164 fd_set *);
H A Ddescriptor.h44 int (*UpdateSet)(struct fdescriptor *, fd_set *, fd_set *, fd_set *, int *);
45 int (*IsSet)(struct fdescriptor *, const fd_set *);
46 void (*Read)(struct fdescriptor *, struct bundle *, const fd_set *);
47 int (*Write)(struct fdescriptor *, struct bundle *, const fd_set *);
H A Dexec.c118 exec_RemoveFromSet(struct physical *p, fd_set *r, fd_set *w, fd_set *e) in exec_RemoveFromSet()
204 exec_UpdateSet(struct fdescriptor *d, fd_set *r, fd_set *w, fd_set *e, int *n) in exec_UpdateSet()
230 exec_IsSet(struct fdescriptor *d, const fd_set *fdset) in exec_IsSet()
H A Ddatalink.h151 extern int datalink_RemoveFromSet(struct datalink *, fd_set *, fd_set *,
152 fd_set *);
H A Dether.c136 ether_RemoveFromSet(struct physical *p, fd_set *r, fd_set *w, fd_set *e) in ether_RemoveFromSet()
223 fd_set *r; in ether_MessageIn()
376 ether_UpdateSet(struct fdescriptor *d, fd_set *r, fd_set *w, fd_set *e, int *n) in ether_UpdateSet()
395 ether_IsSet(struct fdescriptor *d, const fd_set *fdset) in ether_IsSet()
409 const fd_set *fdset) in ether_DescriptorRead()
H A Dserver.c51 server_UpdateSet(struct fdescriptor *d, fd_set *r, fd_set *w, fd_set *e, int *n) in server_UpdateSet()
73 server_IsSet(struct fdescriptor *d, const fd_set *fdset) in server_IsSet()
89 server_Read(struct fdescriptor *d, struct bundle *bundle, const fd_set *fdset) in server_Read()
196 const fd_set *fdset __unused) in server_Write()
/freebsd-14.2/contrib/ntp/libntp/lib/isc/win32/include/isc/
H A Dnet.h159 for (__i = 0; __i < ((fd_set FAR *)(set))->fd_count; __i++) { \
160 if (((fd_set FAR *)(set))->fd_array[__i] == (SOCKET) fd) { \
161 while (__i < ((fd_set FAR *)(set))->fd_count-1) { \
162 ((fd_set FAR *)(set))->fd_array[__i] = \
163 ((fd_set FAR *)(set))->fd_array[__i+1]; \
166 ((fd_set FAR *)(set))->fd_count--; \
176 if (((fd_set FAR *)(set))->fd_array[__i] == (SOCKET)(fd)) { \
180 if (__i == ((fd_set FAR *)(set))->fd_count) { \
181 if (((fd_set FAR *)(set))->fd_count < FD_SETSIZE) { \
182 ((fd_set FAR *)(set))->fd_array[__i] = (SOCKET)(fd); \
[all …]
/freebsd-14.2/lib/libc/sys/
H A Dselect.c40 select(int n, fd_set *rs, fd_set *ws, fd_set *es, struct timeval *t) in select()
43 return (((int (*)(int, fd_set *, fd_set *, fd_set *, struct timeval *)) in select()
H A Dpselect.c40 pselect(int n, fd_set *rs, fd_set *ws, fd_set *es, const struct timespec *t, in pselect()
44 return (((int (*)(int, fd_set *, fd_set *, fd_set *, in pselect()
/freebsd-14.2/contrib/ntp/include/
H A Dntp_select.h15 extern int select(int width, fd_set *pReadFds, fd_set *pWriteFds,
16 fd_set *pExceptFds, struct timeval *pTimeOut);
32 } fd_set; typedef
H A Dl_stdlib.h111 extern int select (int, fd_set *, fd_set *, fd_set *, struct timeval *);
/freebsd-14.2/contrib/ntp/sntp/libevent/
H A Dselect.c82 fd_set *event_readset_in;
83 fd_set *event_writeset_in;
84 fd_set *event_readset_out;
85 fd_set *event_writeset_out;
147 fd_set *readset_out=NULL, *writeset_out=NULL; in select_dispatch()
214 fd_set *readset_in = NULL; in select_resize()
215 fd_set *writeset_in = NULL; in select_resize()
/freebsd-14.2/contrib/libevent/
H A Dselect.c82 fd_set *event_readset_in;
83 fd_set *event_writeset_in;
84 fd_set *event_readset_out;
85 fd_set *event_writeset_out;
147 fd_set *readset_out=NULL, *writeset_out=NULL; in select_dispatch()
214 fd_set *readset_in = NULL; in select_resize()
215 fd_set *writeset_in = NULL; in select_resize()
/freebsd-14.2/crypto/openssh/openbsd-compat/
H A Dbsd-pselect.c120 pselect_notify_prepare(fd_set *readset) in pselect_notify_prepare()
126 pselect_notify_done(fd_set *readset) in pselect_notify_done()
154 pselect(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, in pselect()
H A Dbsd-misc.h130 int pselect(int, fd_set *, fd_set *, fd_set *, const struct timespec *,
H A Dkludge-fd_set.c19 void kludge_FD_SET(int n, fd_set *set) { in kludge_FD_SET()
22 int kludge_FD_ISSET(int n, fd_set *set) { in kludge_FD_ISSET()
/freebsd-14.2/contrib/pf/libevent/
H A Dselect.c65 fd_set *event_readset_in;
66 fd_set *event_writeset_in;
67 fd_set *event_readset_out;
68 fd_set *event_writeset_out;
218 fd_set *readset_in = NULL; in select_resize()
219 fd_set *writeset_in = NULL; in select_resize()
220 fd_set *readset_out = NULL; in select_resize()
221 fd_set *writeset_out = NULL; in select_resize()
/freebsd-14.2/lib/libc/include/
H A Dlibc_private.h319 struct fd_set;
366 int __sys_pselect(int, struct fd_set *, struct fd_set *,
367 struct fd_set *, const struct timespec *,
382 int __sys_select(int, struct fd_set *, struct fd_set *,
383 struct fd_set *, struct timeval *);
/freebsd-14.2/contrib/telnet/telnet/
H A Dnetwork.c81 fd_set excepts; in stilloob()
87 value = select(net+1, (fd_set *)0, (fd_set *)0, &excepts, &timeout); in stilloob()
/freebsd-14.2/lib/libc/rpc/
H A Drtime.c73 fd_set readfds; in rtime()
110 (fd_set *)NULL, (fd_set *)NULL, timeout); in rtime()
/freebsd-14.2/contrib/ofed/librdmacm/
H A Drsocket.h70 int rselect(int nfds, fd_set *readfds, fd_set *writefds,
71 fd_set *exceptfds, struct timeval *timeout);
/freebsd-14.2/contrib/capsicum-test/
H A Dselect.cc13 int AddFDToSet(fd_set* fset, int fd, int maxfd) { in AddFDToSet()
19 int InitFDSet(fd_set* fset, int *fds, int fdcount) { in InitFDSet()
57 fd_set rset;
58 fd_set wset;
/freebsd-14.2/lib/libc/isc/
H A Deventlib_p.h231 fd_set rdLast, rdNext;
232 fd_set wrLast, wrNext;
233 fd_set exLast, exNext;
234 fd_set nonblockBefore;

1234567891011