Home
last modified time | relevance | path

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

12345678910>>...12

/freebsd-13.1/sys/sys/
H A Dselect.h73 typedef struct fd_set { struct
75 } fd_set; argument
88 fd_set *_p; \
100 int pselect(int, fd_set *__restrict, fd_set *__restrict, fd_set *__restrict,
105 int select(int, fd_set *, fd_set *, fd_set *, struct timeval *);
/freebsd-13.1/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-13.1/usr.sbin/ppp/
H A Dphysical.h64 int (*removefromset)(struct physical *, fd_set *, fd_set *, fd_set *);
159 extern int physical_doUpdateSet(struct fdescriptor *, fd_set *, fd_set *,
160 fd_set *, int *, int);
161 extern int physical_IsSet(struct fdescriptor *, const fd_set *);
163 const fd_set *);
165 extern int physical_RemoveFromSet(struct physical *, fd_set *, fd_set *,
166 fd_set *);
H A Ddescriptor.h46 int (*UpdateSet)(struct fdescriptor *, fd_set *, fd_set *, fd_set *, int *);
47 int (*IsSet)(struct fdescriptor *, const fd_set *);
48 void (*Read)(struct fdescriptor *, struct bundle *, const fd_set *);
49 int (*Write)(struct fdescriptor *, struct bundle *, const fd_set *);
H A Dexec.c120 exec_RemoveFromSet(struct physical *p, fd_set *r, fd_set *w, fd_set *e) in exec_RemoveFromSet()
206 exec_UpdateSet(struct fdescriptor *d, fd_set *r, fd_set *w, fd_set *e, int *n) in exec_UpdateSet()
232 exec_IsSet(struct fdescriptor *d, const fd_set *fdset) in exec_IsSet()
H A Ddatalink.h153 extern int datalink_RemoveFromSet(struct datalink *, fd_set *, fd_set *,
154 fd_set *);
H A Dether.c138 ether_RemoveFromSet(struct physical *p, fd_set *r, fd_set *w, fd_set *e) in ether_RemoveFromSet()
225 fd_set *r; in ether_MessageIn()
378 ether_UpdateSet(struct fdescriptor *d, fd_set *r, fd_set *w, fd_set *e, int *n) in ether_UpdateSet()
397 ether_IsSet(struct fdescriptor *d, const fd_set *fdset) in ether_IsSet()
411 const fd_set *fdset) in ether_DescriptorRead()
H A Dserver.c53 server_UpdateSet(struct fdescriptor *d, fd_set *r, fd_set *w, fd_set *e, int *n) in server_UpdateSet()
75 server_IsSet(struct fdescriptor *d, const fd_set *fdset) in server_IsSet()
91 server_Read(struct fdescriptor *d, struct bundle *bundle, const fd_set *fdset) in server_Read()
198 const fd_set *fdset __unused) in server_Write()
/freebsd-13.1/contrib/ntp/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-13.1/lib/libc/sys/
H A Dselect.c44 select(int n, fd_set *rs, fd_set *ws, fd_set *es, struct timeval *t) in select()
47 return (((int (*)(int, fd_set *, fd_set *, fd_set *, struct timeval *)) in select()
H A Dpselect.c44 pselect(int n, fd_set *rs, fd_set *ws, fd_set *es, const struct timespec *t, in pselect()
48 return (((int (*)(int, fd_set *, fd_set *, fd_set *, in pselect()
/freebsd-13.1/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-13.1/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-13.1/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-13.1/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-13.1/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-13.1/lib/libc/include/
H A Dlibc_private.h312 struct fd_set;
359 int __sys_pselect(int, struct fd_set *, struct fd_set *,
360 struct fd_set *, const struct timespec *,
375 int __sys_select(int, struct fd_set *, struct fd_set *,
376 struct fd_set *, struct timeval *);
/freebsd-13.1/contrib/telnet/telnet/
H A Dnetwork.c83 fd_set excepts; in stilloob()
89 value = select(net+1, (fd_set *)0, (fd_set *)0, &excepts, &timeout); in stilloob()
/freebsd-13.1/lib/libc/rpc/
H A Drtime.c76 fd_set readfds; in rtime()
113 (fd_set *)NULL, (fd_set *)NULL, timeout); in rtime()
/freebsd-13.1/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-13.1/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-13.1/contrib/apr/poll/unix/
H A Dselect.c36 fd_set readset, writeset, exceptset; in apr_poll()
187 fd_set readset, writeset, exceptset;
347 fd_set readset, writeset, exceptset; in impl_pollset_poll()
375 memcpy(&readset, &(pollset->p->readset), sizeof(fd_set)); in impl_pollset_poll()
376 memcpy(&writeset, &(pollset->p->writeset), sizeof(fd_set)); in impl_pollset_poll()
377 memcpy(&exceptset, &(pollset->p->exceptset), sizeof(fd_set)); in impl_pollset_poll()

12345678910>>...12