• Home
  • Raw
  • Download

Lines Matching refs:rand_seeds

754 	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()
774 os_random_seed(td->rand_seeds[FIO_RAND_SEQ_RAND_WRITE_OFF], &td->seq_rand_state[DDIR_WRITE]); in td_fill_rand_seeds_os()
775 os_random_seed(td->rand_seeds[FIO_RAND_SEQ_RAND_TRIM_OFF], &td->seq_rand_state[DDIR_TRIM]); in td_fill_rand_seeds_os()
780 init_rand_seed(&td->__bsrange_state, td->rand_seeds[FIO_RAND_BS_OFF]); in td_fill_rand_seeds_internal()
781 init_rand_seed(&td->__verify_state, td->rand_seeds[FIO_RAND_VER_OFF]); in td_fill_rand_seeds_internal()
782 init_rand_seed(&td->__rwmix_state, td->rand_seeds[FIO_RAND_MIX_OFF]); in td_fill_rand_seeds_internal()
785 init_rand_seed(&td->__next_file_state, td->rand_seeds[FIO_RAND_FILE_OFF]); in td_fill_rand_seeds_internal()
787 init_rand_seed(&td->__file_size_state, td->rand_seeds[FIO_RAND_FILE_SIZE_OFF]); in td_fill_rand_seeds_internal()
788 init_rand_seed(&td->__trim_state, td->rand_seeds[FIO_RAND_TRIM_OFF]); in td_fill_rand_seeds_internal()
789 init_rand_seed(&td->__delay_state, td->rand_seeds[FIO_RAND_START_DELAY]); in td_fill_rand_seeds_internal()
795 td->rand_seeds[FIO_RAND_BLOCK_OFF] = FIO_RANDSEED * td->thread_number; in td_fill_rand_seeds_internal()
797 init_rand_seed(&td->__random_state, td->rand_seeds[FIO_RAND_BLOCK_OFF]); in td_fill_rand_seeds_internal()
798 init_rand_seed(&td->__seq_rand_state[DDIR_READ], td->rand_seeds[FIO_RAND_SEQ_RAND_READ_OFF]); in td_fill_rand_seeds_internal()
799 init_rand_seed(&td->__seq_rand_state[DDIR_WRITE], td->rand_seeds[FIO_RAND_SEQ_RAND_WRITE_OFF]); in td_fill_rand_seeds_internal()
800 init_rand_seed(&td->__seq_rand_state[DDIR_TRIM], td->rand_seeds[FIO_RAND_SEQ_RAND_TRIM_OFF]); in td_fill_rand_seeds_internal()
807 td->rand_seeds[i] = FIO_RANDSEED * td->thread_number in td_fill_rand_seeds()
816 init_rand_seed(&td->buf_state, td->rand_seeds[FIO_RAND_BUF_OFF]); in td_fill_rand_seeds()
903 return init_random_state(td, td->rand_seeds, sizeof(td->rand_seeds)); in setup_random_seeds()
914 td->rand_seeds[i] = seed; in setup_random_seeds()