Searched defs:wipe (Results 1 - 7 of 7) sorted by relevance

/system/core/toolbox/
H A Dwipe.c28 static void wipe (const char *path);
32 fprintf(stderr, "wipe <system|data|all>\n\n"
49 wipe ("/system");
53 wipe ("/data");
57 wipe ("/system");
58 wipe ("/data");
63 wipe ("/system");
64 wipe ("/data");
81 static void wipe (const char *path) function
134 wipe(newpat
[all...]
/system/extras/ext4_utils/
H A Dmake_ext4fs_main.c70 int wipe = 0; local
116 wipe = 1;
164 if (wipe && sparse) {
165 fprintf(stderr, "Cannot specifiy both wipe and sparse\n");
170 if (wipe && gzip) {
171 fprintf(stderr, "Cannot specifiy both wipe and gzip\n");
204 sparse, crc, wipe, sehnd, verbose);
H A Dmake_ext4fs.c22 #include "wipe.h"
460 int sparse, int crc, int wipe,
605 if (wipe)
458 make_ext4fs_internal(int fd, const char *_directory, const char *_mountpoint, fs_config_func_t fs_config_func, int gzip, int sparse, int crc, int wipe, struct selabel_handle *sehnd, int verbose) argument
/system/vold/
H A DFat.cpp172 int Fat::format(const char *fsPath, unsigned int numSectors, bool wipe) { argument
178 if (wipe) {
179 Fat::wipe(fsPath, numSectors);
230 void Fat::wipe(const char *fsPath, unsigned int numSectors) { function in class:Fat
240 SLOGE("Fat wipe failed to determine size of %s", fsPath);
247 SLOGE("Fat wipe failed to discard blocks on %s", fsPath);
249 SLOGI("Fat wipe %d sectors on %s succeeded", numSectors, fsPath);
253 SLOGE("Fat wipe failed to open device %s", fsPath);
H A DCommandListener.cpp166 (argc == 4 && strcmp(argv[3], "wipe"))) {
167 cli->sendMsg(ResponseCode::CommandSyntaxError, "Usage: volume format <path> [wipe]", false);
170 bool wipe = false; local
171 if (argc >= 4 && !strcmp(argv[3], "wipe")) {
172 wipe = true;
174 rc = vm->formatVolume(argv[2], wipe);
592 if ( (argc != 4) || (strcmp(argv[2], "wipe") && strcmp(argv[2], "inplace")) ) {
593 cli->sendMsg(ResponseCode::CommandSyntaxError, "Usage: cryptfs enablecrypto <wipe|inplace> <passwd>", false);
H A DVolume.cpp232 int Volume::formatVol(bool wipe) { argument
278 if (Fat::format(devicePath, 0, wipe)) {
H A DVolumeManager.cpp171 int VolumeManager::formatVolume(const char *label, bool wipe) { argument
184 return v->formatVol(wipe);

Completed in 143 milliseconds