Home
last modified time | relevance | path

Searched refs:fd_set_bytes (Results 1 – 12 of 12) sorted by relevance

/dports/net/haproxy20/haproxy-2.0.26/src/
H A Dev_select.c213 int fd_set_bytes; in init_select_per_thread() local
215 fd_set_bytes = sizeof(fd_set) * (global.maxsock + FD_SETSIZE - 1) / FD_SETSIZE; in init_select_per_thread()
216 if ((tmp_evts[DIR_RD] = (fd_set *)calloc(1, fd_set_bytes)) == NULL) in init_select_per_thread()
218 if ((tmp_evts[DIR_WR] = (fd_set *)calloc(1, fd_set_bytes)) == NULL) in init_select_per_thread()
240 int fd_set_bytes; in _do_init() local
247 fd_set_bytes = sizeof(fd_set) * (global.maxsock + FD_SETSIZE - 1) / FD_SETSIZE; in _do_init()
249 if ((fd_evts[DIR_RD] = calloc(1, fd_set_bytes)) == NULL) in _do_init()
251 if ((fd_evts[DIR_WR] = calloc(1, fd_set_bytes)) == NULL) in _do_init()
/dports/net/haproxy19/haproxy-1.9.16/src/
H A Dev_select.c213 int fd_set_bytes; in init_select_per_thread() local
215 fd_set_bytes = sizeof(fd_set) * (global.maxsock + FD_SETSIZE - 1) / FD_SETSIZE; in init_select_per_thread()
216 if ((tmp_evts[DIR_RD] = (fd_set *)calloc(1, fd_set_bytes)) == NULL) in init_select_per_thread()
218 if ((tmp_evts[DIR_WR] = (fd_set *)calloc(1, fd_set_bytes)) == NULL) in init_select_per_thread()
240 int fd_set_bytes; in _do_init() local
247 fd_set_bytes = sizeof(fd_set) * (global.maxsock + FD_SETSIZE - 1) / FD_SETSIZE; in _do_init()
249 if ((fd_evts[DIR_RD] = calloc(1, fd_set_bytes)) == NULL) in _do_init()
251 if ((fd_evts[DIR_WR] = calloc(1, fd_set_bytes)) == NULL) in _do_init()
/dports/net/haproxy21/haproxy-2.1.12/src/
H A Dev_select.c225 int fd_set_bytes; in init_select_per_thread() local
227 fd_set_bytes = sizeof(fd_set) * (global.maxsock + FD_SETSIZE - 1) / FD_SETSIZE; in init_select_per_thread()
228 if ((tmp_evts[DIR_RD] = (fd_set *)calloc(1, fd_set_bytes)) == NULL) in init_select_per_thread()
230 if ((tmp_evts[DIR_WR] = (fd_set *)calloc(1, fd_set_bytes)) == NULL) in init_select_per_thread()
252 int fd_set_bytes; in _do_init() local
259 fd_set_bytes = sizeof(fd_set) * (global.maxsock + FD_SETSIZE - 1) / FD_SETSIZE; in _do_init()
261 if ((fd_evts[DIR_RD] = calloc(1, fd_set_bytes)) == NULL) in _do_init()
263 if ((fd_evts[DIR_WR] = calloc(1, fd_set_bytes)) == NULL) in _do_init()
/dports/net/haproxy/haproxy-2.4.10/src/
H A Dev_select.c229 int fd_set_bytes; in init_select_per_thread() local
231 fd_set_bytes = sizeof(fd_set) * (global.maxsock + FD_SETSIZE - 1) / FD_SETSIZE; in init_select_per_thread()
232 tmp_evts[DIR_RD] = calloc(1, fd_set_bytes); in init_select_per_thread()
235 tmp_evts[DIR_WR] = calloc(1, fd_set_bytes); in init_select_per_thread()
258 int fd_set_bytes; in _do_init() local
265 fd_set_bytes = sizeof(fd_set) * (global.maxsock + FD_SETSIZE - 1) / FD_SETSIZE; in _do_init()
267 if ((fd_evts[DIR_RD] = calloc(1, fd_set_bytes)) == NULL) in _do_init()
269 if ((fd_evts[DIR_WR] = calloc(1, fd_set_bytes)) == NULL) in _do_init()
/dports/net/haproxy23/haproxy-2.3.16/src/
H A Dev_select.c229 int fd_set_bytes; in init_select_per_thread() local
231 fd_set_bytes = sizeof(fd_set) * (global.maxsock + FD_SETSIZE - 1) / FD_SETSIZE; in init_select_per_thread()
232 tmp_evts[DIR_RD] = (fd_set *)calloc(1, fd_set_bytes); in init_select_per_thread()
235 tmp_evts[DIR_WR] = (fd_set *)calloc(1, fd_set_bytes); in init_select_per_thread()
260 int fd_set_bytes; in _do_init() local
267 fd_set_bytes = sizeof(fd_set) * (global.maxsock + FD_SETSIZE - 1) / FD_SETSIZE; in _do_init()
269 if ((fd_evts[DIR_RD] = calloc(1, fd_set_bytes)) == NULL) in _do_init()
271 if ((fd_evts[DIR_WR] = calloc(1, fd_set_bytes)) == NULL) in _do_init()
/dports/net/haproxy22/haproxy-2.2.19/src/
H A Dev_select.c229 int fd_set_bytes; in init_select_per_thread() local
231 fd_set_bytes = sizeof(fd_set) * (global.maxsock + FD_SETSIZE - 1) / FD_SETSIZE; in init_select_per_thread()
232 tmp_evts[DIR_RD] = (fd_set *)calloc(1, fd_set_bytes); in init_select_per_thread()
235 tmp_evts[DIR_WR] = (fd_set *)calloc(1, fd_set_bytes); in init_select_per_thread()
260 int fd_set_bytes; in _do_init() local
267 fd_set_bytes = sizeof(fd_set) * (global.maxsock + FD_SETSIZE - 1) / FD_SETSIZE; in _do_init()
269 if ((fd_evts[DIR_RD] = calloc(1, fd_set_bytes)) == NULL) in _do_init()
271 if ((fd_evts[DIR_WR] = calloc(1, fd_set_bytes)) == NULL) in _do_init()
/dports/net/nuster/nuster-5.0.4.21/src/
H A Dev_select.c225 int fd_set_bytes; in init_select_per_thread() local
227 fd_set_bytes = sizeof(fd_set) * (global.maxsock + FD_SETSIZE - 1) / FD_SETSIZE; in init_select_per_thread()
228 if ((tmp_evts[DIR_RD] = (fd_set *)calloc(1, fd_set_bytes)) == NULL) in init_select_per_thread()
230 if ((tmp_evts[DIR_WR] = (fd_set *)calloc(1, fd_set_bytes)) == NULL) in init_select_per_thread()
253 int fd_set_bytes; in _do_init() local
260 fd_set_bytes = sizeof(fd_set) * (global.maxsock + FD_SETSIZE - 1) / FD_SETSIZE; in _do_init()
262 if ((fd_evts[DIR_RD] = calloc(1, fd_set_bytes)) == NULL) in _do_init()
264 if ((fd_evts[DIR_WR] = calloc(1, fd_set_bytes)) == NULL) in _do_init()
/dports/net/haproxy18/haproxy-1.8.30/src/
H A Dev_select.c213 int fd_set_bytes; in init_select_per_thread() local
215 fd_set_bytes = sizeof(fd_set) * (global.maxsock + FD_SETSIZE - 1) / FD_SETSIZE; in init_select_per_thread()
216 if ((tmp_evts[DIR_RD] = (fd_set *)calloc(1, fd_set_bytes)) == NULL) in init_select_per_thread()
218 if ((tmp_evts[DIR_WR] = (fd_set *)calloc(1, fd_set_bytes)) == NULL) in init_select_per_thread()
240 int fd_set_bytes; in _do_init() local
247 fd_set_bytes = sizeof(fd_set) * (global.maxsock + FD_SETSIZE - 1) / FD_SETSIZE; in _do_init()
249 if ((fd_evts[DIR_RD] = (fd_set *)calloc(1, fd_set_bytes)) == NULL) in _do_init()
251 if ((fd_evts[DIR_WR] = (fd_set *)calloc(1, fd_set_bytes)) == NULL) in _do_init()
/dports/mail/avenger/avenger-0.8.5/libasync/
H A Dcore.C33 int fd_set_bytes; // Size in bytes of a [wide] fd_set variable
246 memcpy (fdspt[i], fdsp[i], fd_set_bytes); in fdcb_check()
487 fd_set_bytes = sizeof (fd_set); in start()
492 fd_set_bytes = (maxfd+7)/8; in start()
493 if (fd_set_bytes % FD_SETSIZE_ROUND) in start()
494 fd_set_bytes += FD_SETSIZE_ROUND - (fd_set_bytes % FD_SETSIZE_ROUND); in start()
499 fdsp[i] = (fd_set *) xmalloc (fd_set_bytes); in start()
500 bzero (fdsp[i], fd_set_bytes); in start()
501 fdspt[i] = (fd_set *) xmalloc (fd_set_bytes); in start()
502 bzero (fdspt[i], fd_set_bytes); in start()
/dports/net/haproxy17/haproxy-1.7.14/src/
H A Dev_select.c162 int fd_set_bytes; in _do_init() local
169 fd_set_bytes = sizeof(fd_set) * (global.maxsock + FD_SETSIZE - 1) / FD_SETSIZE; in _do_init()
171 if ((tmp_evts[DIR_RD] = (fd_set *)calloc(1, fd_set_bytes)) == NULL) in _do_init()
174 if ((tmp_evts[DIR_WR] = (fd_set *)calloc(1, fd_set_bytes)) == NULL) in _do_init()
177 if ((fd_evts[DIR_RD] = (fd_set *)calloc(1, fd_set_bytes)) == NULL) in _do_init()
180 if ((fd_evts[DIR_WR] = (fd_set *)calloc(1, fd_set_bytes)) == NULL) in _do_init()
/dports/net-mgmt/net-snmp/net-snmp-5.9/snmplib/
H A Dlarge_fd_set.c206 int fd_set_bytes; in netsnmp_large_fd_set_resize() local
212 fd_set_bytes = NETSNMP_FD_SET_BYTES(setsize); in netsnmp_large_fd_set_resize()
214 fdset->lfs_setptr = realloc(fdset->lfs_setptr, fd_set_bytes); in netsnmp_large_fd_set_resize()
218 fdset->lfs_setptr = malloc(fd_set_bytes); in netsnmp_large_fd_set_resize()
/dports/mail/avenger/avenger-0.8.5/asmtpd/
H A Dsynfp.C457 extern int fd_set_bytes; in synfp_collect()
460 fds = static_cast<fd_set *> (xmalloc (fd_set_bytes)); in synfp_collect()
461 bzero (fds, fd_set_bytes); in synfp_collect()