Home
last modified time | relevance | path

Searched refs:benchfiles (Results 1 – 6 of 6) sorted by relevance

/external/ltp/utils/ffsb-6.0-rc2/
Dfilelist.h42 struct benchfiles { struct
73 void init_filelist(struct benchfiles *, char *, char *, uint32_t, int); argument
74 void destroy_filelist(struct benchfiles *);
83 struct ffsb_file *add_file(struct benchfiles *b, uint64_t size, randdata_t *rd);
84 struct ffsb_file *add_dir(struct benchfiles *, uint64_t, randdata_t *);
97 void remove_file(struct benchfiles *, struct ffsb_file *);
102 struct ffsb_file *choose_file_reader(struct benchfiles *, randdata_t *);
107 struct ffsb_file *choose_file_writer(struct benchfiles *, randdata_t *);
122 int validate_filename(struct benchfiles *, char *);
123 int validate_dirname(struct benchfiles *, char *);
[all …]
Dfilelist.c61 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()
[all …]
Dmetaops.c42 static void createdir(struct benchfiles *dirs, randdata_t * rd) in createdir()
54 static void removedir(struct benchfiles *dirs, randdata_t * rd) in removedir()
68 static void renamedir(struct benchfiles *dirs, randdata_t * rd) in renamedir()
87 struct benchfiles *bf = (struct benchfiles *)fs_get_opdata(fs, opnum); in ffsb_metaops()
100 struct benchfiles *bf = (struct benchfiles *)fs_get_opdata(fs, opnum); in ffsb_createdir()
Dfileops.c91 struct benchfiles *bf = (struct benchfiles *)fs_get_opdata(fs, opnum); in ffsb_readfile()
194 struct benchfiles *bf = (struct benchfiles *)fs_get_opdata(fs, opnum); in ffsb_readall()
224 struct benchfiles *bf = (struct benchfiles *)fs_get_opdata(fs, opnum); in ffsb_writefile_core()
308 struct benchfiles *bf = (struct benchfiles *)fs_get_opdata(fs, opnum); in ffsb_writeall_core()
365 struct benchfiles *bf = (struct benchfiles *)fs_get_opdata(fs, opnum); in ffsb_appendfile_core()
421 struct benchfiles *bf = (struct benchfiles *)fs_get_opdata(fs, opnum); in ffsb_createfile_core()
488 struct benchfiles *bf = (struct benchfiles *)fs_get_opdata(fs, opnum); in ffsb_deletefile()
519 struct benchfiles *bf = (struct benchfiles *)fs_get_opdata(fs, opnum); in ffsb_open_close()
533 struct benchfiles *bf = (struct benchfiles *)fs_get_opdata(fs, opnum); in ffsb_stat()
Dffsb_fs.h65 struct benchfiles files;
66 struct benchfiles meta;
67 struct benchfiles fill;
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);
Dffsb_fs.c83 static void add_files(ffsb_fs_t * fs, struct benchfiles *bf, int num, in add_files()
185 static int verify_file(struct benchfiles *bf, char *fname, void *fs_ptr) in verify_file()
504 struct benchfiles *fs_get_datafiles(ffsb_fs_t * fs) in fs_get_datafiles()
509 struct benchfiles *fs_get_metafiles(ffsb_fs_t * fs) in fs_get_metafiles()
514 struct benchfiles *fs_get_agefiles(ffsb_fs_t * fs) in fs_get_agefiles()