Home
last modified time | relevance | path

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

/external/qemu/hw/
Dgoldfish_nand.c679 uint64_t dev_size = 0; in nand_add_dev() local
741 dev_size = strtoull(value, &ep, 0); in nand_add_dev()
829 if(dev_size == 0) { in nand_add_dev()
830 dev_size = do_lseek(initfd, 0, SEEK_END); in nand_add_dev()
844 pad = dev_size % dev->erase_size; in nand_add_dev()
846 dev_size += (dev->erase_size - pad); in nand_add_dev()
847 D("rounding devsize up to a full eraseunit, now %llx\n", dev_size); in nand_add_dev()
851 dev->max_size = dev_size; in nand_add_dev()
/external/e2fsprogs/misc/
Dmke2fs.c1147 blk_t dev_size; in PRS() local
1490 dev_size = fs_param.s_blocks_count; in PRS()
1496 &dev_size); in PRS()
1518 dev_size = (blk_t) (big_dev_size - 1); in PRS()
1542 if (dev_size == 0) { in PRS()
1554 fs_param.s_blocks_count = dev_size; in PRS()
1560 } else if (!force && (fs_param.s_blocks_count > dev_size)) { in PRS()
/external/qemu/
Dnet-android.c1295 static int tap_alloc(char *dev, size_t dev_size) in tap_alloc() argument
1408 snprintf(dev, dev_size, "tap%d", ppa); in tap_alloc()
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()