Lines Matching refs:read_testfile
142 /* read_testfile - mmap testfile and read every page.
153 static int read_testfile(struct tcase *tc, int do_readahead,
233 read_testfile(tc, 0, testfile, testfile_size, &read_bytes, &usec,
241 tst_res(TINFO, "read_testfile(0)");
242 read_testfile(tc, 0, testfile, testfile_size, &read_bytes, &usec,
252 tst_res(TINFO, "read_testfile(1)");
253 ret = read_testfile(tc, 1, testfile, testfile_size, &read_bytes_ra,
286 tst_res(TINFO, "read_testfile(0) took: %lli usec", usec);
287 tst_res(TINFO, "read_testfile(1) took: %lli usec", usec_ra);
289 tst_res(TINFO, "read_testfile(0) read: %ld bytes", read_bytes);
290 tst_res(TINFO, "read_testfile(1) read: %ld bytes",
303 tst_res(TINFO, "read_testfile(0) used cache: %ld kB", cached);
304 tst_res(TINFO, "read_testfile(1) used cache: %ld kB", cached_ra);
327 * readahead02.c:285: TINFO: read_testfile(0) took: 26317623 usec
328 * readahead02.c:286: TINFO: read_testfile(1) took: 26101484 usec