Searched refs:driveSize (Results 1 – 6 of 6) sorted by relevance
23 void Zero::writeZero(const uint64_t driveSize, Fd& fd) in writeZero() argument28 while (currentIndex < driveSize) in writeZero()30 uint32_t writeSize = currentIndex + blockSize < driveSize in writeZero()32 : driveSize - currentIndex; in writeZero()72 void Zero::verifyZero(uint64_t driveSize, Fd& fd) in verifyZero() argument78 while (currentIndex < driveSize) in verifyZero()80 uint32_t readSize = currentIndex + blockSize < driveSize in verifyZero()82 : driveSize - currentIndex; in verifyZero()
26 void Pattern::writePattern(const uint64_t driveSize, Fd& fd) in writePattern() argument37 while (currentIndex < driveSize) in writePattern()47 size_t writeSize = currentIndex + blockSize < driveSize in writePattern()49 : driveSize - currentIndex; in writePattern()77 void Pattern::verifyPattern(const uint64_t driveSize, Fd& fd) in verifyPattern() argument86 while (currentIndex < driveSize) in verifyPattern()88 size_t readSize = currentIndex + blockSize < driveSize in verifyPattern()90 : driveSize - currentIndex; in verifyPattern()
57 void Sanitize::doSanitize(uint64_t driveSize) in doSanitize() argument61 emmcErase(driveSize); in doSanitize()74 void Sanitize::emmcErase(uint64_t driveSize) in emmcErase() argument88 eraseCmd.cmds[1].arg = (driveSize / sectorSize) - 1; in emmcErase()
29 void writeZero(uint64_t driveSize, Fd& fd);46 void verifyZero(uint64_t driveSize, Fd& fd);
42 void writePattern(uint64_t driveSize, Fd& fd);60 void verifyPattern(uint64_t driveSize, Fd& fd);
89 void doSanitize(uint64_t driveSize);111 void emmcErase(uint64_t driveSize);