Lines Matching refs:fn
38 static inline void __check_fd_set(const char* fn, int fd, size_t set_size) {
40 __fortify_fatal("%s: file descriptor %d < 0", fn, fd);
43 __fortify_fatal("%s: file descriptor %d >= FD_SETSIZE %zu", fn, fd, set_size);
46 __fortify_fatal("%s: set size %zu is too small to be an fd_set", fn, set_size);
50 static inline void __check_pollfd_array(const char* fn, size_t fds_size, nfds_t fd_count) {
54 fn, pollfd_array_length, fd_count);
58 static inline void __check_count(const char* fn, const char* identifier, size_t value) {
60 __fortify_fatal("%s: %s %zu > SSIZE_MAX", fn, identifier, value);
64 static inline void __check_buffer_access(const char* fn, const char* action,
67 __fortify_fatal("%s: prevented %zu-byte %s %zu-byte buffer", fn, claim, action, actual);