Lines Matching defs:cleanup
66 cleanup(void), cleanup0(void), cleanup1(void), do_child(void);
79 void (*cleanup) (void);
169 tdat[testno].cleanup();
172 cleanup();
201 void cleanup(void)
212 tst_brkm(TBROK | TERRNO, cleanup, "open(/dev/null) failed");
224 s = SAFE_SOCKET(cleanup, tdat[testno].domain, tdat[testno].type,
237 SAFE_CONNECT(cleanup, s, (const struct sockaddr *)&sin1, sizeof(sin1));
251 tst_brkm(TBROK | TERRNO, cleanup, "server socket failed");
255 tst_brkm(TBROK | TERRNO, cleanup, "server bind failed");
259 tst_brkm(TBROK | TERRNO, cleanup, "server listen failed");
262 SAFE_GETSOCKNAME(cleanup, sfd, (struct sockaddr *)sin0, &slen);
273 tst_brkm(TBROK | TERRNO, cleanup, "server fork failed");