Lines Matching refs:max_sz
77 unsigned long max_sz; member
336 unsigned long max_sz, in mmc_test_alloc_mem() argument
340 unsigned long max_page_cnt = DIV_ROUND_UP(max_sz, PAGE_SIZE); in mmc_test_alloc_mem()
1522 return mmc_erase(test->card, t->dev_addr, t->max_sz >> 9, in mmc_test_area_erase()
1559 t->max_sz = sz; in mmc_test_area_init()
1560 while (t->max_sz < 4 * 1024 * 1024) in mmc_test_area_init()
1561 t->max_sz += sz; in mmc_test_area_init()
1562 while (t->max_sz > TEST_AREA_MAX_SIZE && t->max_sz > sz) in mmc_test_area_init()
1563 t->max_sz -= sz; in mmc_test_area_init()
1569 t->max_tfr = t->max_sz; in mmc_test_area_init()
1602 t->dev_addr -= t->dev_addr % (t->max_sz >> 9); in mmc_test_area_init()
1761 for (sz = 512; sz < t->max_sz; sz <<= 1) { in mmc_test_profile_trim_perf()
1787 cnt = t->max_sz / sz; in mmc_test_seq_read_perf()
1829 cnt = t->max_sz / sz; in mmc_test_seq_write_perf()
1878 for (sz = 512; sz <= t->max_sz; sz <<= 1) { in mmc_test_profile_seq_trim_perf()
1885 cnt = t->max_sz / sz; in mmc_test_profile_seq_trim_perf()