Searched refs:ffsb_thread_t (Results 1 – 7 of 7) sorted by relevance
/external/ltp/utils/ffsb-6.0-rc2/ |
D | ffsb_thread.h | 59 } ffsb_thread_t ; typedef 61 void init_ffsb_thread(ffsb_thread_t *, struct ffsb_tg *, unsigned, 63 void destroy_ffsb_thread(ffsb_thread_t *); 75 void ft_alter_bufsize(ffsb_thread_t *, unsigned); 76 char *ft_getbuf(ffsb_thread_t *); 78 int ft_get_read_random(ffsb_thread_t *); 79 uint32_t ft_get_read_size(ffsb_thread_t *); 80 uint32_t ft_get_read_blocksize(ffsb_thread_t *); 82 int ft_get_write_random(ffsb_thread_t *); 83 uint32_t ft_get_write_size(ffsb_thread_t *); [all …]
|
D | ffsb_thread.c | 23 void init_ffsb_thread(ffsb_thread_t * ft, struct ffsb_tg *tg, unsigned bufsize, in init_ffsb_thread() 26 memset(ft, 0, sizeof(ffsb_thread_t)); in init_ffsb_thread() 38 void destroy_ffsb_thread(ffsb_thread_t * ft) in destroy_ffsb_thread() 46 void ft_set_statsc(ffsb_thread_t * ft, ffsb_statsc_t * fsc) in ft_set_statsc() 53 ffsb_thread_t *ft = (ffsb_thread_t *) data; in ft_run() 68 void ft_alter_bufsize(ffsb_thread_t * ft, unsigned bufsize) in ft_alter_bufsize() 76 char *ft_getbuf(ffsb_thread_t * ft) in ft_getbuf() 81 int ft_get_read_random(ffsb_thread_t * ft) in ft_get_read_random() 86 uint32_t ft_get_read_size(ffsb_thread_t * ft) in ft_get_read_size() 91 uint32_t ft_get_read_blocksize(ffsb_thread_t * ft) in ft_get_read_blocksize() [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 | 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() 136 void fhread(int fd, void *buf, uint64_t size, ffsb_thread_t * ft, in fhread() 162 void fhwrite(int fd, void *buf, uint32_t size, ffsb_thread_t * ft, in fhwrite() 189 void fhseek(int fd, uint64_t offset, int whence, ffsb_thread_t * ft, in fhseek() 224 void fhclose(int fd, ffsb_thread_t * ft, ffsb_fs_t * fs) in fhclose() [all …]
|
D | fileops.c | 35 ffsb_thread_t * ft, ffsb_fs_t * fs, syscall_t sys) in do_stats() 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() 341 void ffsb_writeall(ffsb_thread_t * ft, ffsb_fs_t * fs, unsigned opnum) in ffsb_writeall() 351 void ffsb_writeall_fsync(ffsb_thread_t * ft, ffsb_fs_t * fs, unsigned opnum) in ffsb_writeall_fsync() [all …]
|
D | metaops.c | 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_tg.c | 31 tg->threads = ffsb_malloc(sizeof(ffsb_thread_t) * num_threads); in init_ffsb_tg() 75 ffsb_thread_t *ft = &tg->threads[i]; in tg_run()
|