Home
last modified time | relevance | path

Searched refs:max_sz (Results 1 – 2 of 2) 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()
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()
[all …]
/drivers/net/
Dvirtio_net.c2575 unsigned long int max_sz = PAGE_SIZE - sizeof(struct padded_vnet_hdr); in virtnet_xdp_set() local
2596 if (dev->mtu > max_sz) { in virtnet_xdp_set()
2598 netdev_warn(dev, "XDP requires MTU less than %lu\n", max_sz); in virtnet_xdp_set()