Home
last modified time | relevance | path

Searched refs:nfds (Results 1 – 25 of 30) sorted by relevance

12

/glibc-2.36/sysdeps/unix/sysv/linux/
Dpselect.c22 pselect64_syscall (int nfds, fd_set *readfds, fd_set *writefds, in pselect64_syscall() argument
34 return SYSCALL_CANCEL (pselect6_time64, nfds, readfds, writefds, exceptfds, in pselect64_syscall()
39 __pselect64 (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, in __pselect64() argument
56 return pselect64_syscall (nfds, readfds, writefds, exceptfds, timeout, in __pselect64()
62 int r = pselect64_syscall (nfds, readfds, writefds, exceptfds, timeout, in __pselect64()
70 return __pselect32 (nfds, readfds, writefds, exceptfds, timeout, sigmask); in __pselect64()
78 __pselect (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, in libc_hidden_def()
87 return __pselect64 (nfds, readfds, writefds, exceptfds, pts64, sigmask); in libc_hidden_def()
Dppoll.c25 __ppoll64 (struct pollfd *fds, nfds_t nfds, const struct __timespec64 *timeout, in __ppoll64() argument
42 return SYSCALL_CANCEL (ppoll_time64, fds, nfds, timeout, sigmask, in __ppoll64()
49 ret = SYSCALL_CANCEL (ppoll_time64, fds, nfds, timeout, sigmask, in __ppoll64()
61 return SYSCALL_CANCEL (ppoll, fds, nfds, timeout ? &ts32 : NULL, sigmask, in __ppoll64()
70 __ppoll (struct pollfd *fds, nfds_t nfds, const struct timespec *timeout, in libc_hidden_def()
77 return __ppoll64 (fds, nfds, timeout ? &ts64 : NULL, sigmask); in libc_hidden_def()
Dselect.c32 __select64 (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, in __select64() argument
69 int r = SYSCALL_CANCEL (pselect6_time64, nfds, readfds, writefds, exceptfds, in __select64()
78 int r = SYSCALL_CANCEL (pselect6_time64, nfds, readfds, writefds, in __select64()
98 int r = SYSCALL_CANCEL (pselect6, nfds, readfds, writefds, exceptfds, pts32, in __select64()
111 int r = SYSCALL_CANCEL (_newselect, nfds, readfds, writefds, exceptfds, ptv32); in __select64()
123 __select (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, in libc_hidden_def()
132 int r = __select64 (nfds, readfds, writefds, exceptfds, ptv64); in libc_hidden_def()
Dpoll.c26 __poll (struct pollfd *fds, nfds_t nfds, int timeout) in __poll() argument
29 return SYSCALL_CANCEL (poll, fds, nfds, timeout); in __poll()
41 return SYSCALL_CANCEL (ppoll, fds, nfds, timeout_ts_p, NULL, 0); in __poll()
Dpselect32.c25 __pselect32 (int nfds, fd_set *readfds, fd_set *writefds, in __pselect32() argument
36 return SYSCALL_CANCEL (pselect6, nfds, readfds, writefds, exceptfds, in __pselect32()
Dnot-cancel.h78 __poll_infinity_nocancel (struct pollfd *fds, nfds_t nfds) in __poll_infinity_nocancel() argument
80 return INLINE_SYSCALL_CALL (ppoll, fds, nfds, NULL, NULL, 0); in __poll_infinity_nocancel()
/glibc-2.36/sysdeps/unix/sysv/linux/alpha/
Dselect.c27 __new_select (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, in __new_select() argument
30 return SYSCALL_CANCEL (select, nfds, readfds, writefds, exceptfds, timeout); in __new_select()
43 __select_tv32 (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, in __select_tv32() argument
46 return SYSCALL_CANCEL (osf_select, nfds, readfds, writefds, exceptfds, in __select_tv32()
/glibc-2.36/hurd/
Dhurdselect.c46 _hurd_select (int nfds, in _hurd_select() argument
68 } d[nfds]; in _hurd_select()
80 if (nfds < 0 || (pollfds == NULL && nfds > FD_SETSIZE)) in _hurd_select()
153 for (i = 0; i < nfds; ++i) in _hurd_select()
173 for (i = 0; i < nfds; ++i) in _hurd_select()
249 for (i = 0; i < nfds; ++i) in _hurd_select()
287 if (i < nfds) in _hurd_select()
295 if (nfds > _hurd_dtablesize) in _hurd_select()
296 nfds = _hurd_dtablesize; in _hurd_select()
575 for (i = 0; i < nfds; ++i) in _hurd_select()
/glibc-2.36/debug/
Dpoll_chk.c22 __poll_chk (struct pollfd *fds, nfds_t nfds, int timeout, __SIZE_TYPE__ fdslen) in __poll_chk() argument
24 if (fdslen / sizeof (*fds) < nfds) in __poll_chk()
27 return __poll (fds, nfds, timeout); in __poll_chk()
Dppoll_chk.c22 __ppoll_chk (struct pollfd *fds, nfds_t nfds, const struct timespec *timeout, in __ppoll_chk() argument
25 if (fdslen / sizeof (*fds) < nfds) in __ppoll_chk()
28 return ppoll (fds, nfds, timeout, ss); in __ppoll_chk()
/glibc-2.36/posix/
Dtst-spawn5.c68 size_t nfds = argc > 1 ? argc - 1 : 0; in handle_restart() local
73 } *fds = xmalloc (sizeof (struct fd_t) * nfds); in handle_restart()
74 for (int i = 0; i < nfds; i++) in handle_restart()
109 for (int i = 0; i < nfds; i++) in handle_restart()
122 for (int i = 0; i < nfds; i++) in handle_restart()
/glibc-2.36/sysdeps/mach/hurd/
Drecvmsg.c43 int nfds, *opened_fds = NULL; in __libc_recvmsg() local
194 nfds = (cmsg->cmsg_len - CMSG_ALIGN (sizeof (struct cmsghdr))) in __libc_recvmsg()
197 for (j = 0; j < nfds; j++) in __libc_recvmsg()
235 nfds = (cmsg->cmsg_len - CMSG_ALIGN (sizeof (struct cmsghdr))) in __libc_recvmsg()
237 for (j = 0; j < nfds && ii < i; j++, ii++, newfds++) in __libc_recvmsg()
Dppoll.c25 ppoll (struct pollfd *fds, nfds_t nfds, in ppoll() argument
28 return _hurd_select (nfds, fds, NULL, NULL, NULL, timeout, sigmask); in ppoll()
Dpselect.c33 __pselect (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, in __pselect() argument
36 return _hurd_select (nfds, NULL, in __pselect()
Dpoll.c31 __poll (struct pollfd *fds, nfds_t nfds, int timeout) in __poll() argument
44 return _hurd_select (nfds, fds, NULL, NULL, NULL, to, NULL); in __poll()
Dselect.c29 __select (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, in __select() argument
42 return _hurd_select (nfds, NULL, readfds, writefds, exceptfds, to, NULL); in __select()
Dsendmsg.c39 int *fds, nfds; in __libc_sendmsg() local
129 nfds = (cmsg->cmsg_len - CMSG_ALIGN (sizeof (struct cmsghdr))) in __libc_sendmsg()
132 for (i = 0; i < nfds; i++) in __libc_sendmsg()
Dnot-cancel.h81 #define __poll_infinity_nocancel(fds, nfds) \ argument
82 __poll (fds, nfds, -1)
/glibc-2.36/support/
Dxpoll.c26 xpoll (struct pollfd *fds, nfds_t nfds, int timeout) in xpoll() argument
28 int ret = poll (fds, nfds, timeout); in xpoll()
/glibc-2.36/sysdeps/unix/sysv/linux/microblaze/
Dpselect32.c29 __pselect32 (int nfds, fd_set *readfds, fd_set *writefds, in __pselect32() argument
55 int ret = __select (nfds, readfds, writefds, exceptfds, ptv32); in __pselect32()
/glibc-2.36/io/
Dppoll.c28 ppoll (struct pollfd *fds, nfds_t nfds, const struct timespec *timeout, in ppoll() argument
63 int retval = __poll (fds, nfds, tval); in ppoll()
Dpoll.c29 __poll (struct pollfd *fds, nfds_t nfds, int timeout) in __poll() argument
/glibc-2.36/sysdeps/generic/
Dnot-cancel.h54 #define __poll_infinity_nocancel(fds, nfds) \ argument
55 __poll (fds, nfds, -1)
/glibc-2.36/misc/
Dpselect.c28 __pselect (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, in __pselect() argument
Dselect.c28 __select (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, in __select() argument

12