MCPcopy Create free account
hub / github.com/TeamWin/Team-Win-Recovery-Project / secure_wipe_partition

Function secure_wipe_partition

recovery.cpp:819–856  ·  view source on GitHub ↗

Secure-wipe a given partition. It uses BLKSECDISCARD, if supported. Otherwise, it goes with BLKDISCARD (if device supports BLKDISCARDZEROES) or BLKZEROOUT.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

wipe_ab_deviceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected