Searched refs:dca_buf1 (Results 1 – 2 of 2) sorted by relevance
217 if ((dca->dca_buf1 = kmem_alloc(RANDOM_BUFFER_SIZE, KM_SLEEP)) == in dca_random_init()226 kmem_free(dca->dca_buf1, RANDOM_BUFFER_SIZE); in dca_random_init()236 kmem_free(dca->dca_buf1, RANDOM_BUFFER_SIZE); in dca_random_fini()238 dca->dca_buf1 = dca->dca_buf2 = dca->dca_buf_ptr = NULL; in dca_random_fini()252 if (dca->dca_buf1 == NULL || dca->dca_buf2 == NULL) { in dca_random_buffer()258 if (dca_rng(dca, (uchar_t *)dca->dca_buf1, RANDOM_BUFFER_SIZE, in dca_random_buffer()288 if (dca->dca_buf_ptr == dca->dca_buf1) { in dca_random_buffer()290 fill_buf = dca->dca_buf1; in dca_random_buffer()292 dca->dca_buf_ptr = dca->dca_buf1; in dca_random_buffer()
484 char *dca_buf1; member