Searched defs:numSectors (Results 1 - 5 of 5) sorted by relevance
/system/vold/ |
H A D | Fat.cpp | 154 int Fat::format(const char *fsPath, unsigned int numSectors) { argument 167 if (numSectors) { 169 snprintf(tmp, sizeof(tmp), "%u", numSectors);
|
H A D | Devmapper.cpp | 167 unsigned int numSectors, char *ubuffer, size_t len) { 229 tgt->length = numSectors; 166 create(const char *name, const char *loopFile, const char *key, unsigned int numSectors, char *ubuffer, size_t len) argument
|
H A D | Loop.cpp | 235 int Loop::createImageFile(const char *file, unsigned int numSectors) { argument 243 if (ftruncate(fd, numSectors * 512) < 0) {
|
H A D | CommandListener.cpp | 330 unsigned int numSectors = (atoi(argv[3]) * (1024 * 1024)) / 512; local 332 rc = vm->createAsec(argv[2], numSectors, argv[4], argv[5], atoi(argv[6]), isExternal);
|
H A D | VolumeManager.cpp | 240 int VolumeManager::createAsec(const char *id, unsigned int numSectors, const char *fstype, argument 261 if (numSectors < ((1024*1024)/512)) { 262 SLOGE("Invalid container size specified (%d sectors)", numSectors); 296 unsigned fatSize = (((numSectors * 4) / 512) + 1) * 2; 297 unsigned numImgSectors = numSectors + fatSize + 2;
|
Completed in 302 milliseconds