Lines Matching refs:lineno
84 int tst_getsockport(const char *file, const int lineno, int sockfd) in tst_getsockport() argument
90 safe_getsockname(file, lineno, NULL, sockfd, sa, &addrlen); in tst_getsockport()
107 int safe_socket(const char *file, const int lineno, void (cleanup_fn)(void), in safe_socket() argument
128 "%s:%d: socket(%d, %d, %d) failed", file, lineno, in safe_socket()
135 int safe_getsockopt(const char *file, const int lineno, int sockfd, int level, in safe_getsockopt() argument
145 file, lineno, sockfd, level, optname, optval, optlen); in safe_getsockopt()
150 int safe_setsockopt(const char *file, const int lineno, int sockfd, int level, in safe_setsockopt() argument
160 file, lineno, sockfd, level, optname, optval, optlen); in safe_setsockopt()
166 ssize_t safe_send(const char *file, const int lineno, char len_strict, in safe_send() argument
176 file, lineno, sockfd, buf, len, flags); in safe_send()
182 ssize_t safe_sendto(const char *file, const int lineno, char len_strict, in safe_sendto() argument
194 file, lineno, sockfd, buf, len, flags, in safe_sendto()
202 ssize_t safe_sendmsg(const char *file, const int lineno, size_t len, in safe_sendmsg() argument
212 file, lineno, sockfd, msg, flags); in safe_sendmsg()
218 file, lineno, sockfd, msg, flags, rval, len); in safe_sendmsg()
224 ssize_t safe_recvmsg(const char *file, const int lineno, size_t len, in safe_recvmsg() argument
234 file, lineno, sockfd, msg, flags); in safe_recvmsg()
240 file, lineno, sockfd, msg, flags, rval, len); in safe_recvmsg()
247 int safe_bind(const char *file, const int lineno, void (cleanup_fn)(void), in safe_bind() argument
260 "%s:%d: bind(%d, %s, %d) failed", file, lineno, in safe_bind()
277 lineno, socket, in safe_bind()
283 int safe_listen(const char *file, const int lineno, void (cleanup_fn)(void), in safe_listen() argument
292 "%s:%d: listen(%d, %d) failed", file, lineno, socket, in safe_listen()
299 int safe_connect(const char *file, const int lineno, void (cleanup_fn)(void), in safe_connect() argument
309 "%s:%d: connect(%d, %s, %d) failed", file, lineno, in safe_connect()
317 int safe_getsockname(const char *file, const int lineno, in safe_getsockname() argument
328 "%s:%d: getsockname(%d, %s, %d) failed", file, lineno, in safe_getsockname()
336 int safe_gethostname(const char *file, const int lineno, in safe_gethostname() argument
344 file, lineno, name, size); in safe_gethostname()