Home
last modified time | relevance | path

Searched refs:rand_seeds (Results 1 – 5 of 5) sorted by relevance

/external/fio/
Dinit.c754 os_random_seed(td->rand_seeds[FIO_RAND_BS_OFF], &td->bsrange_state); in td_fill_rand_seeds_os()
755 os_random_seed(td->rand_seeds[FIO_RAND_VER_OFF], &td->verify_state); in td_fill_rand_seeds_os()
756 os_random_seed(td->rand_seeds[FIO_RAND_MIX_OFF], &td->rwmix_state); in td_fill_rand_seeds_os()
759 os_random_seed(td->rand_seeds[FIO_RAND_FILE_OFF], &td->next_file_state); in td_fill_rand_seeds_os()
761 os_random_seed(td->rand_seeds[FIO_RAND_FILE_SIZE_OFF], &td->file_size_state); in td_fill_rand_seeds_os()
762 os_random_seed(td->rand_seeds[FIO_RAND_TRIM_OFF], &td->trim_state); in td_fill_rand_seeds_os()
763 os_random_seed(td->rand_seeds[FIO_RAND_START_DELAY], &td->delay_state); in td_fill_rand_seeds_os()
769 td->rand_seeds[FIO_RAND_BLOCK_OFF] = FIO_RANDSEED * td->thread_number; in td_fill_rand_seeds_os()
771 os_random_seed(td->rand_seeds[FIO_RAND_BLOCK_OFF], &td->random_state); in td_fill_rand_seeds_os()
773 os_random_seed(td->rand_seeds[FIO_RAND_SEQ_RAND_READ_OFF], &td->seq_rand_state[DDIR_READ]); in td_fill_rand_seeds_os()
[all …]
Dfio.h156 unsigned long rand_seeds[FIO_RAND_NR_OFFS]; member
Dfilesetup.c1002 seed = td->rand_seeds[4]; in __init_rand_distribution()
1050 seed = td->rand_seeds[FIO_RAND_BLOCK_OFF]; in init_random_map()
1536 lfsr_reset(&f->lfsr, td->rand_seeds[FIO_RAND_BLOCK_OFF]); in fio_file_reset()
/external/fio/os/
Dos-windows.h234 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()
Dos.h293 static inline int init_random_state(struct thread_data *td, unsigned long *rand_seeds, int size) in init_random_state() argument
302 if (read(fd, rand_seeds, size) < size) { in init_random_state()