Home
last modified time | relevance | path

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

/drivers/mmc/core/
Dblock.c90 static int perdev_minors = CONFIG_MMC_BLOCK_MINORS; variable
176 module_param(perdev_minors, int, 0444);
177 MODULE_PARM_DESC(perdev_minors, "Minors numbers to allocate per device");
204 int devidx = disk->first_minor / perdev_minors; in mmc_get_devidx()
2539 md->disk->minors = perdev_minors; in mmc_blk_alloc_req()
2540 md->disk->first_minor = devidx * perdev_minors; in mmc_blk_alloc_req()
3191 if (perdev_minors != CONFIG_MMC_BLOCK_MINORS) in mmc_blk_init()
3192 pr_info("mmcblk: using %d minors per device\n", perdev_minors); in mmc_blk_init()
3194 max_devices = min(MAX_DEVICES, (1 << MINORBITS) / perdev_minors); in mmc_blk_init()