Lines Matching refs:fds
570 #define __bos_fd_count_trivially_safe(bos_val, fds, fd_count) \
573 (bos_val) >= sizeof(*fds) * (fd_count)))
579 int poll(struct pollfd* const fds __attribute__((pass_object_size(1))), nfds_t fd_count, int timeou…
582 … __builtin_object_size(fds, 1) != -1 && __builtin_object_size(fds, 1) < sizeof(*fds) * fd_count,
585 size_t bos_fds = __builtin_object_size(fds, 1);
586 if (!__bos_fd_count_trivially_safe(bos_fds, fds, fd_count)) {
587 return __poll_chk(fds, fd_count, timeout, bos_fds);
589 return (&poll)(fds, fd_count, timeout);
599 - When `fds` is too small to hold `fd_count` `pollfd`s, Clang will emit a
602 - When `fds` is a constant according to `__builtin_constant_p`, this always
608 int poll(struct pollfd* const fds __attribute__((pass_object_size(1))), nfds_t fd_count, int timeou…
613 return (&poll)(fds, fd_count, timeout);
622 use of `pass_object_size(1)` instead of `pass_object_size(0)`. on the `fds`
623 parameter, and the corresponding use of `__builtin_object_size(fds, 1);` in the