Lines Matching defs:cleanup
48 static void cleanup(void);
59 void (*cleanup) (int);
119 if (test_cases[i].cleanup != NULL)
120 test_cases[i].cleanup(i);
124 cleanup();
140 static void cleanup(void)
146 test_cases[i].sockfd = SAFE_OPEN(cleanup, "/dev/null", O_WRONLY, 0666);
153 tst_brkm(TBROK | TERRNO, cleanup,
156 SAFE_BIND(cleanup, test_cases[i].sockfd,
163 tst_brkm(TBROK | TERRNO, cleanup,
171 SAFE_CLOSE(cleanup, test_cases[i].sockfd);
176 SAFE_CLOSE(cleanup, sv[0]);
177 SAFE_CLOSE(cleanup, sv[1]);