Home
last modified time | relevance | path

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

/external/qemu/hw/
Dgoldfish_nand.c656 uint64_t dev_size = 0; in nand_add_dev() local
718 dev_size = strtoull(value, &ep, 0); in nand_add_dev()
806 if(dev_size == 0) { in nand_add_dev()
807 dev_size = do_lseek(initfd, 0, SEEK_END); in nand_add_dev()
821 pad = dev_size % dev->erase_size; in nand_add_dev()
823 dev_size += (dev->erase_size - pad); in nand_add_dev()
824 D("rounding devsize up to a full eraseunit, now %llx\n", dev_size); in nand_add_dev()
828 dev->max_size = dev_size; in nand_add_dev()
/external/e2fsprogs/misc/
Dmke2fs.c1197 blk_t dev_size; in PRS() local
1540 dev_size = fs_param.s_blocks_count; in PRS()
1546 &dev_size); in PRS()
1568 dev_size = (blk_t) (big_dev_size - 1); in PRS()
1592 if (dev_size == 0) { in PRS()
1604 fs_param.s_blocks_count = dev_size; in PRS()
1610 } else if (!force && (fs_param.s_blocks_count > dev_size)) { in PRS()
/external/qemu/
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.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()