• Home
  • Raw
  • Download

Lines Matching refs:lineno

85 int tst_getsockport(const char *file, const int lineno, int sockfd)  in tst_getsockport()  argument
91 safe_getsockname(file, lineno, NULL, sockfd, sa, &addrlen); in tst_getsockport()
108 int safe_socket(const char *file, const int lineno, void (cleanup_fn)(void), in safe_socket() argument
128 tst_brkm_(file, lineno, ttype | TERRNO, cleanup_fn, in safe_socket()
131 tst_brkm_(file, lineno, TBROK | TERRNO, cleanup_fn, in safe_socket()
139 int safe_socketpair(const char *file, const int lineno, int domain, int type, in safe_socketpair() argument
157 tst_brkm_(file, lineno, ttype | TERRNO, NULL, in safe_socketpair()
161 tst_brkm_(file, lineno, TBROK | TERRNO, NULL, in safe_socketpair()
169 int safe_getsockopt(const char *file, const int lineno, int sockfd, int level, in safe_getsockopt() argument
175 tst_brkm_(file, lineno, TBROK | TERRNO, NULL, in safe_getsockopt()
179 tst_brkm_(file, lineno, TBROK | TERRNO, NULL, in safe_getsockopt()
187 int safe_setsockopt(const char *file, const int lineno, int sockfd, int level, in safe_setsockopt() argument
195 tst_brkm_(file, lineno, TBROK | TERRNO, NULL, in safe_setsockopt()
199 tst_brkm_(file, lineno, TBROK | TERRNO, NULL, in safe_setsockopt()
207 ssize_t safe_send(const char *file, const int lineno, char len_strict, in safe_send() argument
215 tst_brkm_(file, lineno, TBROK | TERRNO, NULL, in safe_send()
219 tst_brkm_(file, lineno, TBROK | TERRNO, NULL, in safe_send()
227 ssize_t safe_sendto(const char *file, const int lineno, char len_strict, in safe_sendto() argument
237 tst_brkm_(file, lineno, TBROK | TERRNO, NULL, in safe_sendto()
243 tst_brkm_(file, lineno, TBROK | TERRNO, NULL, in safe_sendto()
253 ssize_t safe_sendmsg(const char *file, const int lineno, size_t len, in safe_sendmsg() argument
261 tst_brkm_(file, lineno, TBROK | TERRNO, NULL, in safe_sendmsg()
264 tst_brkm_(file, lineno, TBROK | TERRNO, NULL, in safe_sendmsg()
268 tst_brkm_(file, lineno, TBROK, NULL, in safe_sendmsg()
276 ssize_t safe_recv(const char *file, const int lineno, size_t len, in safe_recv() argument
284 tst_brkm_(file, lineno, TBROK | TERRNO, NULL, in safe_recv()
288 tst_brkm_(file, lineno, TBROK | TERRNO, NULL, in safe_recv()
292 tst_brkm_(file, lineno, TBROK, NULL, in safe_recv()
301 ssize_t safe_recvmsg(const char *file, const int lineno, size_t len, in safe_recvmsg() argument
309 tst_brkm_(file, lineno, TBROK | TERRNO, NULL, in safe_recvmsg()
312 tst_brkm_(file, lineno, TBROK | TERRNO, NULL, in safe_recvmsg()
316 tst_brkm_(file, lineno, TBROK, NULL, in safe_recvmsg()
325 int safe_bind(const char *file, const int lineno, void (cleanup_fn)(void), in safe_bind() argument
339 tst_brkm_(file, lineno, TBROK | TERRNO, cleanup_fn, in safe_bind()
345 tst_brkm_(file, lineno, TBROK | TERRNO, cleanup_fn, in safe_bind()
353 tst_resm_(file, lineno, TINFO, in safe_bind()
360 tst_brkm_(file, lineno, TBROK | TERRNO, cleanup_fn, in safe_bind()
367 int safe_listen(const char *file, const int lineno, void (cleanup_fn)(void), in safe_listen() argument
378 tst_brkm_(file, lineno, res | TERRNO, cleanup_fn, in safe_listen()
381 tst_brkm_(file, lineno, TBROK | TERRNO, cleanup_fn, in safe_listen()
389 int safe_accept(const char *file, const int lineno, void (cleanup_fn)(void), in safe_accept() argument
397 tst_brkm_(file, lineno, TBROK | TERRNO, cleanup_fn, in safe_accept()
400 tst_brkm_(file, lineno, TBROK | TERRNO, cleanup_fn, in safe_accept()
408 int safe_connect(const char *file, const int lineno, void (cleanup_fn)(void), in safe_connect() argument
417 tst_brkm_(file, lineno, TBROK | TERRNO, cleanup_fn, in safe_connect()
422 tst_brkm_(file, lineno, TBROK | TERRNO, cleanup_fn, in safe_connect()
431 int safe_getsockname(const char *file, const int lineno, in safe_getsockname() argument
441 tst_brkm_(file, lineno, TBROK | TERRNO, cleanup_fn, in safe_getsockname()
446 tst_brkm_(file, lineno, TBROK | TERRNO, cleanup_fn, in safe_getsockname()
455 int safe_gethostname(const char *file, const int lineno, in safe_gethostname() argument
461 tst_brkm_(file, lineno, TBROK | TERRNO, NULL, in safe_gethostname()
464 tst_brkm_(file, lineno, TBROK | TERRNO, NULL, in safe_gethostname()
475 unsigned short tst_get_unused_port(const char *file, const int lineno, in tst_get_unused_port() argument
501 tst_brkm_(file, lineno, TBROK, cleanup_fn, in tst_get_unused_port()
507 sock = safe_socket(file, lineno, cleanup_fn, addr->sa_family, type, 0); in tst_get_unused_port()
512 ret = safe_bind(file, lineno, cleanup_fn, sock, addr, slen); in tst_get_unused_port()
517 ret = safe_getsockname(file, lineno, cleanup_fn, sock, addr, &slen); in tst_get_unused_port()
522 ret = safe_close(file, lineno, cleanup_fn, sock); in tst_get_unused_port()