Searched refs:simdisk_count (Results 1 – 2 of 2) sorted by relevance
38 static int simdisk_count = CONFIG_BLK_DEV_SIMDISK_COUNT; variable39 module_param(simdisk_count, int, S_IRUGO);40 MODULE_PARM_DESC(simdisk_count, "Number of simdisk units.");313 if (n_files > simdisk_count) in simdisk_init()314 simdisk_count = n_files; in simdisk_init()315 if (simdisk_count > MAX_SIMDISK_COUNT) in simdisk_init()316 simdisk_count = MAX_SIMDISK_COUNT; in simdisk_init()318 sddev = kmalloc_array(simdisk_count, sizeof(*sddev), GFP_KERNEL); in simdisk_init()326 for (i = 0; i < simdisk_count; ++i) { in simdisk_init()361 for (i = 0; i < simdisk_count; ++i) in simdisk_exit()
516 Kernel/module parameter 'simdisk_count' may be used to change this518 specified as parameters, simdisk_count grows accordingly.