Home | History | Annotate | Download | only in sendfile

Lines Matching full:cleanup

51 static void cleanup(void);
68 tst_brkm(TBROK | TTERRNO, cleanup, "sendfile() failed");
70 ret = SAFE_LSEEK(cleanup, out_fd, 0, SEEK_SET);
73 tst_brkm(TBROK | TERRNO, cleanup, "read %s failed",
84 cleanup();
102 in_fd = SAFE_CREAT(cleanup, in_file, 0700);
106 tst_brkm(TBROK | TERRNO, cleanup, "Write %s failed", in_file);
109 in_fd = SAFE_OPEN(cleanup, in_file, O_RDONLY);
110 out_fd = SAFE_OPEN(cleanup, out_file, O_TRUNC | O_CREAT | O_RDWR, 0777);
114 tst_brkm(TBROK | TERRNO, cleanup, "Write %s failed", out_file);
117 static void cleanup(void)