Home | History | Annotate | Download | only in t

Lines Matching refs:nextents

377 			      uint64_t *nextents, uint64_t *nchunks)
403 *nextents = 0;
414 *nextents = nitems;
422 static int dedupe_check(const char *filename, uint64_t *nextents,
460 return run_dedupe_threads(&file, dev_size, nextents, nchunks);
480 static void show_stat(uint64_t nextents, uint64_t nchunks)
484 printf("Extents=%lu, Unique extents=%lu\n", (unsigned long) nextents, (unsigned long) nchunks);
487 ratio = (double) nextents / (double) nchunks;
492 perc = 1.00 - ((double) nchunks / (double) nextents);
498 static void iter_rb_tree(uint64_t *nextents, uint64_t *nchunks)
502 *nchunks = *nextents = 0;
513 *nextents += c->count;
537 uint64_t nextents = 0, nchunks = 0;
586 ret = dedupe_check(argv[optind], &nextents, &nchunks);
590 iter_rb_tree(&nextents, &nchunks);
592 show_stat(nextents, nchunks);