Searched refs:rand_seeds (Results 1 – 5 of 5) sorted by relevance
/external/fio/ |
D | init.c | 825 init_rand_seed(&td->bsrange_state, td->rand_seeds[FIO_RAND_BS_OFF]); in td_fill_rand_seeds_internal() 826 init_rand_seed(&td->verify_state, td->rand_seeds[FIO_RAND_VER_OFF]); in td_fill_rand_seeds_internal() 827 init_rand_seed(&td->rwmix_state, td->rand_seeds[FIO_RAND_MIX_OFF]); in td_fill_rand_seeds_internal() 830 init_rand_seed(&td->next_file_state, td->rand_seeds[FIO_RAND_FILE_OFF]); in td_fill_rand_seeds_internal() 832 init_rand_seed(&td->file_size_state, td->rand_seeds[FIO_RAND_FILE_SIZE_OFF]); in td_fill_rand_seeds_internal() 833 init_rand_seed(&td->trim_state, td->rand_seeds[FIO_RAND_TRIM_OFF]); in td_fill_rand_seeds_internal() 834 init_rand_seed(&td->delay_state, td->rand_seeds[FIO_RAND_START_DELAY]); in td_fill_rand_seeds_internal() 840 td->rand_seeds[FIO_RAND_BLOCK_OFF] = FIO_RANDSEED * td->thread_number; in td_fill_rand_seeds_internal() 842 init_rand_seed(&td->random_state, td->rand_seeds[FIO_RAND_BLOCK_OFF]); in td_fill_rand_seeds_internal() 843 init_rand_seed(&td->seq_rand_state[DDIR_READ], td->rand_seeds[FIO_RAND_SEQ_RAND_READ_OFF]); in td_fill_rand_seeds_internal() [all …]
|
D | filesetup.c | 997 seed = td->rand_seeds[4]; in __init_rand_distribution() 1045 seed = td->rand_seeds[FIO_RAND_BLOCK_OFF]; in init_random_map() 1549 lfsr_reset(&f->lfsr, td->rand_seeds[FIO_RAND_BLOCK_OFF]); in fio_file_reset()
|
D | fio.h | 169 unsigned long rand_seeds[FIO_RAND_NR_OFFS]; member
|
/external/fio/os/ |
D | os-windows.h | 234 static inline int init_random_state(struct thread_data *td, unsigned long *rand_seeds, int size) in init_random_state() argument 245 if (!CryptGenRandom(hCryptProv, size, (BYTE*)rand_seeds)) { in init_random_state()
|
D | os.h | 302 static inline int init_random_state(struct thread_data *td, unsigned long *rand_seeds, int size) in init_random_state() argument 311 if (read(fd, rand_seeds, size) < size) { in init_random_state()
|