Lines Matching refs:ffsb_fs_t
117 } ffsb_fs_t; typedef
122 void init_ffsb_fs(ffsb_fs_t *fs, char *basedir, uint32_t num_data_dirs,
128 void destroy_ffsb_fs(ffsb_fs_t *fs);
143 void clone_ffsb_fs(ffsb_fs_t *target, ffsb_fs_t *original);
145 void fs_print_config(ffsb_fs_t *fs);
147 char *fs_get_basedir(ffsb_fs_t *fs);
148 int fs_get_directio(ffsb_fs_t *fs);
149 void fs_set_directio(ffsb_fs_t *fs, int dio);
150 int fs_get_alignio(ffsb_fs_t *fs);
151 void fs_set_alignio(ffsb_fs_t *fs, int aio);
152 int fs_get_libcio(ffsb_fs_t *fs);
153 void fs_set_libcio(ffsb_fs_t *fs, int lio);
154 int fs_get_reuse_fs(ffsb_fs_t *fs);
155 void fs_set_reuse_fs(ffsb_fs_t *fs, int rfs);
157 struct benchfiles *fs_get_datafiles(ffsb_fs_t *fs);
158 struct benchfiles *fs_get_metafiles(ffsb_fs_t *fs);
159 struct benchfiles *fs_get_agefiles(ffsb_fs_t *fs);
161 void fs_set_aging_tg(ffsb_fs_t *fs, struct ffsb_tg *, double util);
162 struct ffsb_tg *fs_get_aging_tg(ffsb_fs_t *fs);
163 int fs_get_agefs(ffsb_fs_t *fs);
165 void fs_set_opdata(ffsb_fs_t *fs, void *data, unsigned opnum);
166 void *fs_get_opdata(ffsb_fs_t *fs, unsigned opnum);
167 void fs_set_min_filesize(ffsb_fs_t *fs, uint64_t size);
168 void fs_set_max_filesize(ffsb_fs_t *fs, uint64_t size);
169 void fs_set_create_blocksize(ffsb_fs_t *fs, uint32_t blocksize);
170 void fs_set_age_blocksize(ffsb_fs_t *fs, uint32_t blocksize);
171 uint32_t fs_get_create_blocksize(ffsb_fs_t *fs);
172 uint32_t fs_get_age_blocksize(ffsb_fs_t *fs);
173 uint64_t fs_get_min_filesize(ffsb_fs_t *fs);
174 uint64_t fs_get_max_filesize(ffsb_fs_t *fs);
175 uint32_t fs_get_numstartfiles(ffsb_fs_t *fs);
176 uint32_t fs_get_numdirs(ffsb_fs_t *fs);
178 double fs_get_desired_fsutil(ffsb_fs_t *fs);
181 int fs_needs_stats(ffsb_fs_t *fs, syscall_t s);
182 void fs_add_stat(ffsb_fs_t *fs, syscall_t sys, uint32_t val);