Searched defs:dev_size (Results 1 - 4 of 4) sorted by relevance

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

Completed in 100 milliseconds