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

/system/core/toolbox/
H A Dnewfs_msdos.c267 u_int8_t *img; local
619 if (!(img = malloc(bpb.bps)))
632 if ((n = read(fd1, img, bpb.bps)) == -1)
637 memset(img, 0, bpb.bps);
641 bsbpb = (struct bsbpb *)(img + x1);
656 bsxbpb = (struct bsxbpb *)(img + x1);
665 bsx = (struct bsx *)(img + x1);
683 bs = (struct bs *)img;
689 memcpy(img + x1, bootcode, sizeof(bootcode));
690 mk2(img
[all...]
/system/vold/
H A DVolumeManager.cpp740 * Mounts an image file <code>img</code>.
742 int VolumeManager::mountObb(const char *img, const char *key, int ownerUid) { argument
746 if (!asecHash(img, idHash, sizeof(idHash))) {
747 SLOGE("Hash of '%s' failed (%s)", img, strerror(errno));
754 SLOGE("Image %s already mounted", img);
761 if (Loop::create(idHash, img, loopDevice, sizeof(loopDevice))) {
770 SLOGD("Found active loopback for %s at %s", img, loopDevice);
807 SLOGD("Found active devmapper for %s at %s", img, dmDevice);
836 mActiveContainers->push_back(new ContainerData(strdup(img), OBB));
838 SLOGD("Image %s mounted", img);
[all...]

Completed in 90 milliseconds