Lines Matching refs:sectors
99 unsigned int sectors; member
542 unsigned int count, unsigned int sectors, struct timespec ts, in mmc_test_save_transfer_result() argument
555 tr->sectors = sectors; in mmc_test_save_transfer_result()
569 unsigned int rate, iops, sectors = bytes >> 9; in mmc_test_print_rate() local
579 mmc_hostname(test->card->host), sectors, sectors >> 1, in mmc_test_print_rate()
580 (sectors & 1 ? ".5" : ""), (unsigned long)ts.tv_sec, in mmc_test_print_rate()
584 mmc_test_save_transfer_result(test, 1, sectors, ts, rate, iops); in mmc_test_print_rate()
594 unsigned int rate, iops, sectors = bytes >> 9; in mmc_test_print_avg_rate() local
606 mmc_hostname(test->card->host), count, sectors, count, in mmc_test_print_avg_rate()
607 sectors >> 1, (sectors & 1 ? ".5" : ""), in mmc_test_print_avg_rate()
612 mmc_test_save_transfer_result(test, count, sectors, ts, rate, iops); in mmc_test_print_avg_rate()
621 return card->ext_csd.sectors; in mmc_test_capacity()
948 int sectors; in mmc_test_transfer() local
954 sectors = (blocks * blksz + 511) / 512; in mmc_test_transfer()
955 if ((sectors * 512) == (blocks * blksz)) in mmc_test_transfer()
956 sectors++; in mmc_test_transfer()
958 if ((sectors * 512) > BUFFER_SIZE) in mmc_test_transfer()
961 memset(test->buffer, 0, sectors * 512); in mmc_test_transfer()
963 for (i = 0;i < sectors;i++) { in mmc_test_transfer()
976 for (;i < sectors * 512;i++) { in mmc_test_transfer()
3060 tr->count, tr->sectors, in mtf_test_show()