Home
last modified time | relevance | path

Searched refs:dev_size (Results 1 – 4 of 4) sorted by relevance

/external/qemu/hw/android/goldfish/
Dnand.c704 uint64_t dev_size = 0; in nand_add_dev() local
766 dev_size = strtoull(value, &ep, 0); in nand_add_dev()
854 if(dev_size == 0) { in nand_add_dev()
855 dev_size = do_lseek(initfd, 0, SEEK_END); in nand_add_dev()
869 pad = dev_size % dev->erase_size; in nand_add_dev()
871 dev_size += (dev->erase_size - pad); in nand_add_dev()
872 D("rounding devsize up to a full eraseunit, now %llx\n", dev_size); in nand_add_dev()
876 dev->max_size = dev_size; in nand_add_dev()
/external/e2fsprogs/misc/
Dmke2fs.c1295 blk64_t dev_size; in PRS() local
1670 dev_size = fs_blocks_count; in PRS()
1675 &dev_size); in PRS()
1690 if (dev_size == 0) { in PRS()
1702 fs_blocks_count = dev_size; in PRS()
1707 } else if (!force && (fs_blocks_count > dev_size)) { in PRS()
1726 fs_blocks_count ? fs_blocks_count : dev_size, in PRS()
/external/qemu/net/
Dnet.c1167 static int tap_alloc(char *dev, size_t dev_size) in tap_alloc() argument
1280 snprintf(dev, dev_size, "tap%d", ppa); in tap_alloc()
Dnet-android.c1270 static int tap_alloc(char *dev, size_t dev_size) in tap_alloc() argument
1383 snprintf(dev, dev_size, "tap%d", ppa); in tap_alloc()