Searched refs:maxfd (Results 1 – 6 of 6) sorted by relevance
| /f-stack/freebsd/contrib/openzfs/cmd/zed/ |
| H A D | zed_file.c | 173 int maxfd; in zed_file_close_from() local 179 maxfd = maxfd_def; in zed_file_close_from() 181 maxfd = maxfd_def; in zed_file_close_from() 183 maxfd = rl.rlim_max; in zed_file_close_from() 185 for (fd = lowfd; fd < maxfd; fd++) in zed_file_close_from()
|
| /f-stack/app/redis-5.0.5/src/ |
| H A D | ae.c | 80 eventLoop->maxfd = -1; in aeCreateEventLoop() 115 if (eventLoop->maxfd >= setsize) return AE_ERR; in aeResizeSetSize() 124 for (i = eventLoop->maxfd+1; i < setsize; i++) in aeResizeSetSize() 155 if (fd > eventLoop->maxfd) in aeCreateFileEvent() 156 eventLoop->maxfd = fd; in aeCreateFileEvent() 172 if (fd == eventLoop->maxfd && fe->mask == AE_NONE) { in aeDeleteFileEvent() 176 for (j = eventLoop->maxfd-1; j >= 0; j--) in aeDeleteFileEvent() 178 eventLoop->maxfd = j; in aeDeleteFileEvent() 377 if (eventLoop->maxfd != -1 || in aeProcessEvents()
|
| H A D | ae_select.c | 84 retval = select(eventLoop->maxfd+1, in aeApiPoll() 87 for (j = 0; j <= eventLoop->maxfd; j++) { in aeApiPoll()
|
| H A D | ae.h | 98 int maxfd; /* highest file descriptor currently registered */ member
|
| /f-stack/tools/ngctl/ |
| H A D | main.c | 282 const int maxfd = MAX(csock, dsock) + 1; local 298 if (select(maxfd, &rfds, NULL, NULL, NULL) <= 0) { 401 const int maxfd = MAX(csock, dsock) + 1; local 415 if (select(maxfd, &rfds, NULL, NULL, &tv) <= 0) { 426 if (select(maxfd, &rfds, NULL, NULL, NULL) < 0)
|
| /f-stack/freebsd/kern/ |
| H A D | kern_descrip.c | 878 int error, maxfd; in kern_dup() local 899 maxfd = getmaxfd(td); in kern_dup() 900 if (new >= maxfd) in kern_dup() 1900 int fd, maxfd, allocfd; in fdalloc() local 1910 maxfd = getmaxfd(td); in fdalloc() 1917 if (__predict_false(fd >= maxfd)) in fdalloc() 1920 allocfd = min(fd * 2, maxfd); in fdalloc() 1939 KASSERT(fd >= 0 && fd < min(maxfd, fdp->fd_nfiles), in fdalloc()
|