Home
last modified time | relevance | path

Searched refs:randdata_t (Results 1 – 11 of 11) sorted by relevance

/external/ltp/utils/ffsb-6.0-rc2/
Drand.h49 } randdata_t; typedef
51 uint32_t getrandom(randdata_t *rd, uint32_t mod);
52 uint64_t getllrandom(randdata_t *rd, uint64_t mod);
56 void init_random(randdata_t *state, uint32_t size);
57 void destroy_random(randdata_t *rd);
Drand.c47 static void sgenrand(randdata_t * state) in sgenrand()
75 static uint8_t genrand8(randdata_t * state) in genrand8()
88 static uint32_t genrand32(randdata_t * state) in genrand32()
102 void init_random(randdata_t * state, uint32_t iter) in init_random()
126 void destroy_random(randdata_t * rd) in destroy_random()
138 uint32_t getrandom(randdata_t * state, uint32_t mod) in getrandom()
164 uint64_t getllrandom(randdata_t * state, uint64_t mod) in getllrandom()
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()
88 randdata_t *rd = ft_get_randdata(ft); in ffsb_metaops()
102 randdata_t *rd = ft_get_randdata(ft); in ffsb_createdir()
Dfilelist.h83 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 *);
102 struct ffsb_file *choose_file_reader(struct benchfiles *, randdata_t *);
107 struct ffsb_file *choose_file_writer(struct benchfiles *, randdata_t *);
Dfilelist.c121 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()
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()
Dfileops.c79 static uint64_t get_random_offset(randdata_t * rd, uint64_t filesize, in get_random_offset()
490 randdata_t *rd = ft_get_randdata(ft); in ffsb_deletefile()
521 randdata_t *rd = ft_get_randdata(ft); in ffsb_open_close()
535 randdata_t *rd = ft_get_randdata(ft); in ffsb_stat()
Dffsb_thread.h88 randdata_t *ft_get_randdata(ffsb_thread_t *);
Dffsb_tg.h201 void tg_get_op(ffsb_tg_t *tg, randdata_t *rd, tg_op_params_t *params);
Dffsb_thread.c116 randdata_t *ft_get_randdata(ffsb_thread_t * ft) in ft_get_randdata()
Dffsb_tg.c98 void tg_get_op(ffsb_tg_t * tg, randdata_t * rd, tg_op_params_t * params) in tg_get_op()
Dffsb_fs.c88 randdata_t rd; in add_files()