Searched refs:stub_key_avail (Results 1 – 1 of 1) sorted by relevance
55 static size_t stub_key_avail = 0; variable241 if (stub_key_avail == sizeof(stub_key)) in random_pool_ready()252 res = getrandom(stub_key + stub_key_avail, in random_pool_ready()253 sizeof(stub_key) - stub_key_avail, GRND_NONBLOCK); in random_pool_ready()277 res = read(fd, stub_key + stub_key_avail, in random_pool_ready()278 sizeof(stub_key) - stub_key_avail); in random_pool_ready()289 (unsigned) (sizeof(stub_key) - stub_key_avail)); in random_pool_ready()290 stub_key_avail += res; in random_pool_ready()292 if (stub_key_avail == sizeof(stub_key)) { in random_pool_ready()301 (unsigned) stub_key_avail, (unsigned) sizeof(stub_key)); in random_pool_ready()[all …]