Lines Matching refs:benchfiles
61 void build_dirs(struct benchfiles *bf) in build_dirs()
82 void init_filelist(struct benchfiles *b, char *basedir, char *basename, in init_filelist()
85 memset(b, 0, sizeof(struct benchfiles)); in init_filelist()
107 void destroy_filelist(struct benchfiles *bf) in destroy_filelist()
121 struct ffsb_file *add_file(struct benchfiles *b, uint64_t size, randdata_t * rd) in add_file()
181 struct ffsb_file *add_dir(struct benchfiles *b, uint64_t size, randdata_t * rd) in add_dir()
231 static struct ffsb_file *add_file_named(struct benchfiles *b, uint64_t size, in add_file_named()
275 void remove_file(struct benchfiles *b, struct ffsb_file *entry) in remove_file()
286 static struct ffsb_file *choose_file(struct benchfiles *b, randdata_t * rd) in choose_file()
308 struct ffsb_file *choose_file_reader(struct benchfiles *bf, randdata_t * rd) in choose_file_reader()
328 struct ffsb_file *choose_file_writer(struct benchfiles *bf, randdata_t * rd) in choose_file_writer()
362 int validate_filename(struct benchfiles *bf, char *name) in validate_filename()
376 int validate_dirname(struct benchfiles *bf, char *name) in validate_dirname()
395 static int add_dir_to_filelist(struct benchfiles *bf, DIR * subdir, in add_dir_to_filelist()
465 int grab_old_fileset(struct benchfiles *bf, char *basename, in grab_old_fileset()
490 uint32_t get_listsize(struct benchfiles * bf) in get_listsize()
496 uint32_t get_numsubdirs(struct benchfiles * bf) in get_numsubdirs()