Lines Matching refs:path
19 void fill_random(const char *path, int verbose)
28 statvfs(path, &fi);
33 snprintf(file, sizeof(file), "%s/file%i", path, i++);
74 void fill_flat_vec(const char *path, int verbose)
81 dir = open(path, O_PATH | O_DIRECTORY);
87 tst_brk(TBROK | TERRNO, "open(%s, %d) failed", path, O_PATH | O_DIRECTORY);
96 tst_brk(TBROK | TERRNO, "openat(%d, %d, 0600) failed for path %s",
97 dir, O_PATH | O_DIRECTORY, path);
117 tst_res(TINFO, "writev(\"%s/AOF\", iov, %d) = %d", path, iovcnt, ret);
124 tst_brk(TBROK | TERRNO, "writev(\"%s/AOF\", iov, %d)", path, iovcnt);
127 tst_res(TINFO, "writev(\"%s/AOF\", iov, %d): ENOSPC", path, iovcnt);
135 void tst_fill_fs(const char *path, int verbose, enum tst_fill_access_pattern pattern)
140 return fill_flat_vec(path, verbose);
142 return fill_random(path, verbose);