Home
last modified time | relevance | path

Searched refs:max_sz (Results 1 – 3 of 3) sorted by relevance

/drivers/mmc/core/
Dmmc_test.c77 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()
1536 return mmc_erase(test->card, t->dev_addr, t->max_sz >> 9, in mmc_test_area_erase()
1573 t->max_sz = sz; in mmc_test_area_init()
1574 while (t->max_sz < 4 * 1024 * 1024) in mmc_test_area_init()
1575 t->max_sz += sz; in mmc_test_area_init()
1576 while (t->max_sz > TEST_AREA_MAX_SIZE && t->max_sz > sz) in mmc_test_area_init()
1577 t->max_sz -= sz; in mmc_test_area_init()
1583 t->max_tfr = t->max_sz; in mmc_test_area_init()
[all …]
/drivers/lightnvm/
Dpblk-rb.c52 unsigned int max_sz = max(thr_sz, nr_entries); in pblk_rb_calculate_size() local
59 max_io = (1 << max((int)(get_count_order(max_sz)), in pblk_rb_calculate_size()
/drivers/net/
Dvirtio_net.c2481 unsigned long int max_sz = PAGE_SIZE - sizeof(struct padded_vnet_hdr); in virtnet_xdp_set() local
2502 if (dev->mtu > max_sz) { in virtnet_xdp_set()
2504 netdev_warn(dev, "XDP requires MTU less than %lu\n", max_sz); in virtnet_xdp_set()