Searched refs:ffsb_fs_t (Results 1 – 10 of 10) sorted by relevance
/external/ltp/utils/ffsb-6.0-rc2/ |
D | ffsb_fs.h | 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); [all …]
|
D | ffsb_fs.c | 30 void init_ffsb_fs(ffsb_fs_t * fs, char *basedir, uint32_t num_data_dirs, in init_ffsb_fs() 33 memset(fs, 0, sizeof(ffsb_fs_t)); in init_ffsb_fs() 47 void destroy_ffsb_fs(ffsb_fs_t * fs) in destroy_ffsb_fs() 55 void clone_ffsb_fs(ffsb_fs_t * target, ffsb_fs_t * orig) in clone_ffsb_fs() 83 static void add_files(ffsb_fs_t * fs, struct benchfiles *bf, int num, in add_files() 158 static void age_fs(ffsb_fs_t * fs, double utilization); 159 static ffsb_fs_t *construct_new_fileset(ffsb_fs_t * fs); 160 static ffsb_fs_t *check_existing_fileset(ffsb_fs_t * fs); 164 ffsb_fs_t *fs = (ffsb_fs_t *) data; in construct_ffsb_fs() 165 ffsb_fs_t *ret = NULL; in construct_ffsb_fs() [all …]
|
D | fileops.h | 26 void ffsb_readfile(ffsb_thread_t *tconfig, ffsb_fs_t *, unsigned opnum); 27 void ffsb_readall(ffsb_thread_t *tconfig, ffsb_fs_t *, unsigned opnum); 28 void ffsb_writefile(ffsb_thread_t *tconfig, ffsb_fs_t *, unsigned opnum); 29 void ffsb_writefile_fsync(ffsb_thread_t *tconfig, ffsb_fs_t *, unsigned opnum); 30 void ffsb_writeall(ffsb_thread_t *tconfig, ffsb_fs_t *, unsigned opnum); 31 void ffsb_writeall_fsync(ffsb_thread_t *tconfig, ffsb_fs_t *, unsigned opnum); 32 void ffsb_createfile(ffsb_thread_t *tconfig, ffsb_fs_t *, unsigned opnum); 33 void ffsb_createfile_fsync(ffsb_thread_t *tconfig, ffsb_fs_t *, unsigned opnum); 34 void ffsb_deletefile(ffsb_thread_t *tconfig, ffsb_fs_t *, unsigned opnum); 35 void ffsb_appendfile(ffsb_thread_t *tconfig, ffsb_fs_t *, unsigned opnum); [all …]
|
D | fileops.c | 35 ffsb_thread_t * ft, ffsb_fs_t * fs, syscall_t sys) in do_stats() 53 void fop_bench(ffsb_fs_t * fs, unsigned opnum) in fop_bench() 58 void fop_age(ffsb_fs_t * fs, unsigned opnum) in fop_age() 64 char *buf, ffsb_thread_t * ft, ffsb_fs_t * fs) in readfile_helper() 89 void ffsb_readfile(ffsb_thread_t * ft, ffsb_fs_t * fs, unsigned opnum) in ffsb_readfile() 192 void ffsb_readall(ffsb_thread_t * ft, ffsb_fs_t * fs, unsigned opnum) in ffsb_readall() 220 static unsigned ffsb_writefile_core(ffsb_thread_t * ft, ffsb_fs_t * fs, in ffsb_writefile_core() 282 void ffsb_writefile(ffsb_thread_t * ft, ffsb_fs_t * fs, unsigned opnum) in ffsb_writefile() 292 void ffsb_writefile_fsync(ffsb_thread_t * ft, ffsb_fs_t * fs, unsigned opnum) in ffsb_writefile_fsync() 304 static unsigned ffsb_writeall_core(ffsb_thread_t * ft, ffsb_fs_t * fs, in ffsb_writeall_core() [all …]
|
D | fh.c | 51 ffsb_thread_t * ft, ffsb_fs_t * fs, syscall_t sys) in do_stats() 70 ffsb_thread_t * ft, ffsb_fs_t * fs) in fhopenhelper() 96 int fhopenread(char *filename, ffsb_thread_t * ft, ffsb_fs_t * fs) in fhopenread() 106 int fhopenappend(char *filename, ffsb_thread_t * ft, ffsb_fs_t * fs) in fhopenappend() 116 int fhopenwrite(char *filename, ffsb_thread_t * ft, ffsb_fs_t * fs) in fhopenwrite() 126 int fhopencreate(char *filename, ffsb_thread_t * ft, ffsb_fs_t * fs) in fhopencreate() 137 ffsb_fs_t * fs) in fhread() 163 ffsb_fs_t * fs) in fhwrite() 190 ffsb_fs_t * fs) in fhseek() 224 void fhclose(int fd, ffsb_thread_t * ft, ffsb_fs_t * fs) in fhclose() [all …]
|
D | metaops.h | 24 void ffsb_metaops(struct ffsb_thread *, ffsb_fs_t *, unsigned); 25 void ffsb_createdir(struct ffsb_thread *, ffsb_fs_t *, unsigned); 26 void metaops_metadir(ffsb_fs_t *, unsigned);
|
D | metaops.c | 37 void metaops_metadir(ffsb_fs_t * fs, unsigned opnum) in metaops_metadir() 85 void ffsb_metaops(ffsb_thread_t * ft, ffsb_fs_t * fs, unsigned opnum) in ffsb_metaops() 98 void ffsb_createdir(ffsb_thread_t * ft, ffsb_fs_t * fs, unsigned opnum) in ffsb_createdir()
|
D | ffsb_fc.c | 44 fc->filesystems = ffsb_malloc(sizeof(ffsb_fs_t) * num_fs); in init_ffsb_config() 47 void init_ffsb_config_1fs(ffsb_config_t * fc, ffsb_fs_t * fs, ffsb_tg_t * tg) in init_ffsb_config_1fs()
|
D | ffsb_op.c | 152 void ops_setup_bench(ffsb_fs_t * fs) in ops_setup_bench() 159 void ops_setup_age(ffsb_fs_t * fs) in ops_setup_age()
|
D | parser.c | 864 ffsb_fs_t *fs = &fc->filesystems[num]; in init_filesys() 867 memset(fs, 0, sizeof(ffsb_fs_t)); in init_filesys() 1024 fc->filesystems = ffsb_malloc(sizeof(ffsb_fs_t) * fc->num_filesys); in init_config()
|