Home | History | Annotate | Download | only in vold

Lines Matching refs:Loop

36 #include "Loop.h"
39 int Loop::dumpState(SocketClient *c) {
48 sprintf(filename, "/dev/block/loop%d", i);
66 SLOGE("Unable to get loop status for %s (%s)", filename,
81 int Loop::lookupActive(const char *id, char *buffer, size_t len) {
92 sprintf(filename, "/dev/block/loop%d", i);
110 SLOGE("Unable to get loop status for %s (%s)", filename,
127 int Loop::create(const char *id, const char *loopFile, char *loopDeviceBuffer, size_t len) {
136 sprintf(filename, "/dev/block/loop%d", i);
139 * The kernel starts us off with 8 loop nodes, but more
146 SLOGE("Error creating loop device node (%s)", strerror(errno));
163 SLOGE("Unable to get loop status for %s (%s)", filename,
170 SLOGE("Exhausted all loop devices");
211 int Loop::destroyByDevice(const char *loopDevice) {
216 SLOGE("Failed to open loop (%d)", errno);
221 SLOGE("Failed to destroy loop (%d)", errno);
230 int Loop::destroyByFile(const char *loopFile) {
235 int Loop::createImageFile(const char *file, unsigned int numSectors) {
252 int Loop::lookupInfo(const char *loopDevice, struct asec_superblock *sb, unsigned int *nr_sec) {
263 SLOGE("Failed to get loop size (%s)", strerror(errno));