/external/u-boot/include/ |
sandboxblockdev.h | 11 struct blk_desc blk_dev; member in struct:host_block_dev
|
/external/u-boot/drivers/block/ |
sandbox.c | 159 if (host_dev->blk_dev.priv) { 161 host_dev->blk_dev.priv = NULL; 179 struct blk_desc *blk_dev = &host_dev->blk_dev; local 180 blk_dev->if_type = IF_TYPE_HOST; 181 blk_dev->priv = host_dev; 182 blk_dev->blksz = 512; 183 blk_dev->lba = os_lseek(host_dev->fd, 0, OS_SEEK_END) / blk_dev->blksz; 184 blk_dev->block_read = host_block_read [all...] |
ide.c | 1191 struct udevice *blk_dev; local 1213 blksz, size, &blk_dev);
|
/external/u-boot/cmd/ |
host.c | 76 struct blk_desc *blk_dev; local 80 ret = host_get_dev_err(dev, &blk_dev); 92 host_dev = dev_get_priv(blk_dev->bdev); 94 host_dev = blk_dev->priv; 96 printf("%12lu %s\n", (unsigned long)blk_dev->lba, 107 struct blk_desc *blk_dev; local 128 ret = host_get_dev_err(dev, &blk_dev);
|
/bootable/recovery/uncrypt/ |
uncrypt.cpp | 244 const std::string& blk_dev, bool encrypted, bool f2fs_fs, int socket) { 276 std::string s = android::base::StringPrintf("%s\n%" PRId64 " %" PRId64 "\n", blk_dev.c_str(), 299 wfd.reset(open(blk_dev.c_str(), O_WRONLY)); 301 PLOG(ERROR) << "failed to open " << blk_dev << " for writing"; 327 PLOG(ERROR) << "Failed to set pin_file for f2fs: " << path << " on " << blk_dev; local 438 PLOG(ERROR) << "failed to fsync \"" << blk_dev << "\""; 442 PLOG(ERROR) << "failed to close " << blk_dev; 483 const std::string blk_dev = FindBlockDevice(path, &encryptable, &encrypted, &f2fs_fs); local 484 if (blk_dev.empty()) { 501 return ProductBlockMap(path, map_file, blk_dev, encrypted, f2fs_fs, socket) [all...] |
/external/u-boot/drivers/dfu/ |
dfu_mmc.c | 357 struct blk_desc *blk_dev = mmc_get_blk_desc(mmc); local 361 if (part_get_info(blk_dev, mmcpart, &partinfo) != 0) {
|