Searched refs:numSectors (Results 1 – 8 of 8) sorted by relevance
/system/vold/ |
D | Loop.cpp | 172 int Loop::createImageFile(const char* file, unsigned long numSectors) { in createImageFile() argument 178 if (fallocate(fd.get(), 0, 0, numSectors * 512) == -1) { in createImageFile() 180 if (ftruncate(fd, numSectors * 512) == -1) { in createImageFile() 188 int Loop::resizeImageFile(const char* file, unsigned long numSectors) { in resizeImageFile() argument 196 LOG(DEBUG) << "Attempting to increase " << file << " to " << numSectors; in resizeImageFile() 198 if (fallocate(fd, 0, 0, numSectors * 512)) { in resizeImageFile() 201 if (ftruncate(fd, numSectors * 512) < 0) { in resizeImageFile()
|
D | Loop.h | 32 static int createImageFile(const char* file, unsigned long numSectors); 33 static int resizeImageFile(const char* file, unsigned long numSectors);
|
D | Devmapper.cpp | 45 unsigned long numSectors, char* ubuffer, size_t len) { in create() argument 50 table.Emplace<DmTargetCrypt>(0, numSectors, "twofish", key, 0, loopFile, 0); in create()
|
D | Devmapper.h | 26 unsigned long numSectors, char* buffer, size_t len);
|
/system/vold/fs/ |
D | Ext4.cpp | 151 status_t Resize(const std::string& source, unsigned long numSectors) { in Resize() argument 156 cmd.push_back(StringPrintf("%lu", numSectors)); in Resize() 161 status_t Format(const std::string& source, unsigned long numSectors, const std::string& target) { in Format() argument 207 if (numSectors) { in Format() 208 cmd.push_back(StringPrintf("%lu", numSectors * (4096 / 512))); in Format()
|
D | Ext4.h | 33 status_t Format(const std::string& source, unsigned long numSectors, const std::string& target); 34 status_t Resize(const std::string& source, unsigned long numSectors);
|
D | Vfat.cpp | 155 status_t Format(const std::string& source, unsigned long numSectors) { in Format() argument 162 if (numSectors) { in Format() 164 cmd.push_back(StringPrintf("%lu", numSectors)); in Format()
|
D | Vfat.h | 33 status_t Format(const std::string& source, unsigned long numSectors);
|