Home | History | Annotate | Download | only in vold

Lines Matching refs:numSectors

172 int Fat::format(const char *fsPath, unsigned int numSectors, bool wipe) {
179 Fat::wipe(fsPath, numSectors);
190 if (numSectors) {
192 snprintf(tmp, sizeof(tmp), "%u", numSectors);
230 void Fat::wipe(const char *fsPath, unsigned int numSectors) {
236 if (numSectors == 0) {
237 numSectors = get_blkdev_size(fd);
239 if (numSectors == 0) {
245 range[1] = (unsigned long long)numSectors * 512;
249 SLOGI("Fat wipe %d sectors on %s succeeded", numSectors, fsPath);