Searched defs:img (Results 1 - 2 of 2) sorted by relevance

/system/core/toolbox/
H A Dnewfs_msdos.c267 u_int8_t *img; local
620 if (!(img = malloc(bpb.bps)))
633 if ((n = read(fd1, img, bpb.bps)) == -1)
638 memset(img, 0, bpb.bps);
642 bsbpb = (struct bsbpb *)(img + x1);
657 bsxbpb = (struct bsxbpb *)(img + x1);
666 bsx = (struct bsx *)(img + x1);
684 bs = (struct bs *)img;
690 memcpy(img + x1, bootcode, sizeof(bootcode));
691 mk2(img
[all...]
/system/vold/
H A DVolumeManager.cpp989 * Mounts an image file <code>img</code>.
991 int VolumeManager::mountObb(const char *img, const char *key, int ownerUid) { argument
995 if (!asecHash(img, idHash, sizeof(idHash))) {
996 SLOGE("Hash of '%s' failed (%s)", img, strerror(errno));
1003 SLOGE("Image %s already mounted", img);
1010 if (Loop::create(idHash, img, loopDevice, sizeof(loopDevice))) {
1019 SLOGD("Found active loopback for %s at %s", img, loopDevice);
1056 SLOGD("Found active devmapper for %s at %s", img, dmDevice);
1085 mActiveContainers->push_back(new ContainerData(strdup(img), OBB));
1087 SLOGD("Image %s mounted", img);
[all...]

Completed in 130 milliseconds