Home
last modified time | relevance | path

Searched refs:total_bytes_written (Results 1 – 2 of 2) sorted by relevance

/system/core/init/
Dsecurity.cpp70 size_t total_bytes_written = 0; in MixHwrngIntoLinuxRngAction() local
71 while (total_bytes_written < sizeof(buf)) { in MixHwrngIntoLinuxRngAction()
73 TEMP_FAILURE_RETRY(read(hwrandom_fd, buf, sizeof(buf) - total_bytes_written)); in MixHwrngIntoLinuxRngAction()
84 total_bytes_written += chunk_size; in MixHwrngIntoLinuxRngAction()
87 LOG(INFO) << "Mixed " << total_bytes_written << " bytes from /dev/hw_random into /dev/urandom"; in MixHwrngIntoLinuxRngAction()
/system/core/fs_mgr/libfiemap/
Dsplit_fiemap_writer.cpp78 uint64_t total_bytes_written = 0; in Create() local
80 uint64_t actual_written = total_bytes_written + written; in Create()
114 total_bytes_written += writer->size(); in Create()