Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/scsi/
Dscsi_debug.c752 static int sdebug_num_parts = DEF_NUM_PARTS; variable
5266 if ((sdebug_num_parts < 1) || (store_size < 1048576)) in sdebug_build_parts()
5268 if (sdebug_num_parts > SDEBUG_MAX_PARTS) { in sdebug_build_parts()
5269 sdebug_num_parts = SDEBUG_MAX_PARTS; in sdebug_build_parts()
5274 / sdebug_num_parts; in sdebug_build_parts()
5278 for (k = 1; k < sdebug_num_parts; ++k) { in sdebug_build_parts()
5284 starts[sdebug_num_parts] = num_sectors; in sdebug_build_parts()
5285 starts[sdebug_num_parts + 1] = 0; in sdebug_build_parts()
5602 module_param_named(num_parts, sdebug_num_parts, int, S_IRUGO);
6078 return scnprintf(buf, PAGE_SIZE, "%d\n", sdebug_num_parts); in num_parts_show()
[all …]