Searched refs:randv (Results 1 – 2 of 2) sorted by relevance
44 u32 randv = 0; in srand_mac() local49 ret = dm_rng_read(devp, &randv, sizeof(randv)); in srand_mac()51 randv = 0; in srand_mac()54 if (randv) in srand_mac()55 srand(randv); in srand_mac()
256 u32 randv = 0; in gen_rand_uuid() local261 ret = dm_rng_read(devp, &randv, sizeof(randv)); in gen_rand_uuid()263 randv = 0; in gen_rand_uuid()266 if (randv) in gen_rand_uuid()267 srand(randv); in gen_rand_uuid()
Completed in 3 milliseconds