Lines Matching refs:max_sz
76 unsigned long max_sz; member
320 unsigned long max_sz, in mmc_test_alloc_mem() argument
324 unsigned long max_page_cnt = DIV_ROUND_UP(max_sz, PAGE_SIZE); in mmc_test_alloc_mem()
1542 return mmc_erase(test->card, t->dev_addr, t->max_sz >> 9, in mmc_test_area_erase()
1578 t->max_sz = sz; in mmc_test_area_init()
1579 while (t->max_sz < 4 * 1024 * 1024) in mmc_test_area_init()
1580 t->max_sz += sz; in mmc_test_area_init()
1581 while (t->max_sz > TEST_AREA_MAX_SIZE && t->max_sz > sz) in mmc_test_area_init()
1582 t->max_sz -= sz; in mmc_test_area_init()
1588 t->max_tfr = t->max_sz; in mmc_test_area_init()
1614 t->dev_addr -= t->dev_addr % (t->max_sz >> 9); in mmc_test_area_init()
1773 for (sz = 512; sz < t->max_sz; sz <<= 1) { in mmc_test_profile_trim_perf()
1799 cnt = t->max_sz / sz; in mmc_test_seq_read_perf()
1841 cnt = t->max_sz / sz; in mmc_test_seq_write_perf()
1890 for (sz = 512; sz <= t->max_sz; sz <<= 1) { in mmc_test_profile_seq_trim_perf()
1897 cnt = t->max_sz / sz; in mmc_test_profile_seq_trim_perf()