Lines Matching refs:fsync
97 * fsync() is implemented via noop_fsync() on tmpfs. This makes the fsync()
114 * If test_fsync == true, fsync the file, then check the number of dirty
170 } else if (fsync(fd)) {
171 ksft_print_msg("fsync fails.\n");
176 ksft_print_msg("Cachestat call (after fsync) returned %ld\n",
185 "Number of dirty should be zero after fsync.\n");
188 ksft_print_msg("Cachestat (after fsync) returned non-zero.\n");
299 ksft_test_result_fail("cachestat fsync fails with normal file\n");
303 ksft_test_result_pass("cachestat fsync works with a normal file\n");