Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/scsi/
Dscsi_debug.c761 static int sdebug_num_parts = DEF_NUM_PARTS; variable
5495 if ((sdebug_num_parts < 1) || (store_size < 1048576)) in sdebug_build_parts()
5497 if (sdebug_num_parts > SDEBUG_MAX_PARTS) { in sdebug_build_parts()
5498 sdebug_num_parts = SDEBUG_MAX_PARTS; in sdebug_build_parts()
5503 / sdebug_num_parts; in sdebug_build_parts()
5507 for (k = 1; k < sdebug_num_parts; ++k) { in sdebug_build_parts()
5513 starts[sdebug_num_parts] = num_sectors; in sdebug_build_parts()
5514 starts[sdebug_num_parts + 1] = 0; in sdebug_build_parts()
5854 module_param_named(num_parts, sdebug_num_parts, int, S_IRUGO);
6336 return scnprintf(buf, PAGE_SIZE, "%d\n", sdebug_num_parts); in num_parts_show()
[all …]