Home
last modified time | relevance | path

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

/openbmc/linux/drivers/scsi/
H A Dscsi_debug.c760 static int sdebug_num_parts = DEF_NUM_PARTS; variable
5407 if ((sdebug_num_parts < 1) || (store_size < 1048576)) in sdebug_build_parts()
5409 if (sdebug_num_parts > SDEBUG_MAX_PARTS) { in sdebug_build_parts()
5410 sdebug_num_parts = SDEBUG_MAX_PARTS; in sdebug_build_parts()
5415 / sdebug_num_parts; in sdebug_build_parts()
5419 for (k = 1; k < sdebug_num_parts; ++k) { in sdebug_build_parts()
5425 starts[sdebug_num_parts] = num_sectors; in sdebug_build_parts()
5426 starts[sdebug_num_parts + 1] = 0; in sdebug_build_parts()
6257 return scnprintf(buf, PAGE_SIZE, "%d\n", sdebug_num_parts); in num_parts_show()
7144 if (sdebug_num_parts > 0) in sdebug_add_store()
[all …]