Lines Matching refs:fd_count
53 int poll(struct pollfd* fds, nfds_t fd_count, int timeout) __overloadable
55 __bos(fds) < sizeof(*fds) * fd_count,
60 int poll(struct pollfd* const fds __pass_object_size, nfds_t fd_count, in poll() argument
65 return __call_bypassing_fortify(poll)(fds, fd_count, timeout); in poll()
68 return __poll_chk(fds, fd_count, timeout, bos_fds); in poll()
72 int ppoll(struct pollfd* fds, nfds_t fd_count, const struct timespec* timeout,
75 __bos(fds) < sizeof(*fds) * fd_count,
80 int ppoll(struct pollfd* const fds __pass_object_size, nfds_t fd_count, in ppoll() argument
85 return __call_bypassing_fortify(ppoll)(fds, fd_count, timeout, mask); in ppoll()
88 return __ppoll_chk(fds, fd_count, timeout, mask, bos_fds); in ppoll()
99 int poll(struct pollfd* fds, nfds_t fd_count, int timeout) { in poll() argument
101 if (!__builtin_constant_p(fd_count)) { in poll()
102 return __poll_chk(fds, fd_count, timeout, __bos(fds)); in poll()
103 } else if (__bos(fds) / sizeof(*fds) < fd_count) { in poll()
107 return __poll_real(fds, fd_count, timeout); in poll()
111 int ppoll(struct pollfd* fds, nfds_t fd_count, const struct timespec* timeout, in ppoll() argument
114 if (!__builtin_constant_p(fd_count)) { in ppoll()
115 return __ppoll_chk(fds, fd_count, timeout, mask, __bos(fds)); in ppoll()
116 } else if (__bos(fds) / sizeof(*fds) < fd_count) { in ppoll()
120 return __ppoll_real(fds, fd_count, timeout, mask); in ppoll()