Home
last modified time | relevance | path

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

/system/core/init/
Dsecurity.cpp65 size_t total_bytes_written = 0; in MixHwrngIntoLinuxRngAction() local
66 while (total_bytes_written < sizeof(buf)) { in MixHwrngIntoLinuxRngAction()
68 TEMP_FAILURE_RETRY(read(hwrandom_fd, buf, sizeof(buf) - total_bytes_written)); in MixHwrngIntoLinuxRngAction()
79 total_bytes_written += chunk_size; in MixHwrngIntoLinuxRngAction()
82 LOG(INFO) << "Mixed " << total_bytes_written << " bytes from /dev/hw_random into /dev/urandom"; in MixHwrngIntoLinuxRngAction()
/system/core/fs_mgr/libfiemap_writer/
Dsplit_fiemap_writer.cpp63 uint64_t total_bytes_written = 0; in Create() local
65 uint64_t actual_written = total_bytes_written + written; in Create()
97 total_bytes_written += writer->size(); in Create()