Home
last modified time | relevance | path

Searched refs:CLEANERROR (Results 1 – 2 of 2) sorted by relevance

/external/ltp/testcases/kernel/mem/mmapstress/
Dmmapstress07.c48 #define CLEANERROR(M) (void)close(rofd); \ macro
165 CLEANERROR("couldn't reopen rwfd for read/write");
181 CLEANERROR("couldn't fill first part of file with junk");
189 CLEANERROR("couldn't create hole in file");
197 CLEANERROR("couldn't fill second part of file with junk");
213 CLEANERROR("mmap tmp file failed");
220 CLEANERROR("couldn't fill second part of file with junk");
225 CLEANERROR("hole not filled with 0's");
233 CLEANERROR("couldn't lseek back to put e's in hole");
240 CLEANERROR("couldn't part of hole with e's");
[all …]
Dmmapstress02.c44 #define CLEANERROR(M) (void)unlink(tmpname); ERROR(M) macro
113 CLEANERROR("couldn't round up brk"); in main()
117 CLEANERROR("couldn't find top of brk"); in main()
126 CLEANERROR("write failed"); in main()
131 CLEANERROR("couldn't mmap file"); in main()
139 CLEANERROR("lseek failed"); in main()
143 CLEANERROR("read succeded"); in main()
147 CLEANERROR("read didn't set errno = EFAULT"); in main()
151 CLEANERROR("write succeded"); in main()
155 CLEANERROR("write didn't set errno = EFAULT"); in main()
[all …]