Searched refs:simdisk_count (Results 1 – 2 of 2) sorted by relevance
40 static int simdisk_count = CONFIG_BLK_DEV_SIMDISK_COUNT; variable41 module_param(simdisk_count, int, S_IRUGO);42 MODULE_PARM_DESC(simdisk_count, "Number of simdisk units.");325 if (n_files > simdisk_count) in simdisk_init()326 simdisk_count = n_files; in simdisk_init()327 if (simdisk_count > MAX_SIMDISK_COUNT) in simdisk_init()328 simdisk_count = MAX_SIMDISK_COUNT; in simdisk_init()330 sddev = kmalloc(simdisk_count * sizeof(struct simdisk), in simdisk_init()339 for (i = 0; i < simdisk_count; ++i) { in simdisk_init()374 for (i = 0; i < simdisk_count; ++i) in simdisk_exit()
384 Kernel/module parameter 'simdisk_count' may be used to change this386 specified as parameters, simdisk_count grows accordingly.