Home
last modified time | relevance | path

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

/external/fio/t/
Ddedupe.c376 static int run_dedupe_threads(struct fio_file *f, uint64_t dev_size, in run_dedupe_threads() argument
383 total_size = dev_size; in run_dedupe_threads()
384 total_items = dev_size / blocksize; in run_dedupe_threads()
425 uint64_t dev_size; in dedupe_check() local
447 dev_size = get_size(&file, &sb); in dedupe_check()
448 if (!dev_size) in dedupe_check()
454 bloom_entries = 8 * (dev_size / blocksize); in dedupe_check()
458 …printf("Will check <%s>, size <%llu>, using %u threads\n", filename, (unsigned long long) dev_size in dedupe_check()
460 return run_dedupe_threads(&file, dev_size, nextents, nchunks); in dedupe_check()
/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()