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.cpp1002 * Mounts an image file <code>img</code>.
1004 int VolumeManager::mountObb(const char *img, const char *key, int ownerGid) { argument
1008 if (!asecHash(img, idHash, sizeof(idHash))) {
1009 SLOGE("Hash of '%s' failed (%s)", img, strerror(errno));
1016 SLOGE("Image %s already mounted", img);
1023 if (Loop::create(idHash, img, loopDevice, sizeof(loopDevice))) {
1032 SLOGD("Found active loopback for %s at %s", img, loopDevice);
1069 SLOGD("Found active devmapper for %s at %s", img, dmDevice);
1098 mActiveContainers->push_back(new ContainerData(strdup(img), OBB));
1100 SLOGD("Image %s mounted", img);
[all...]

Completed in 5 milliseconds