| D | test_cachestat.c | 1 // SPDX-License-Identifier: GPL-2.0 27 void print_cachestat(struct cachestat *cs) in print_cachestat() argument 31 cs->nr_cache, cs->nr_dirty, cs->nr_writeback, in print_cachestat() 32 cs->nr_evicted, cs->nr_recently_evicted); in print_cachestat() 67 remained -= read_len; in write_exactly() 83 remained -= write_len; in write_exactly() 114 * If test_fsync == true, fsync the file, then check the number of dirty 125 struct cachestat cs; in test_cachestat() local 130 if (fd == -1) { in test_cachestat() 146 syscall_ret = syscall(__NR_cachestat, fd, &cs_range, &cs, 0); in test_cachestat() [all …]
|