Searched refs:scsi_debug_num_parts (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/scsi/
H A Dscsi_debug.c537 static int scsi_debug_num_parts = DEF_NUM_PARTS; variable
3896 if ((scsi_debug_num_parts < 1) || (store_size < 1048576)) sdebug_build_parts()
3898 if (scsi_debug_num_parts > SDEBUG_MAX_PARTS) { sdebug_build_parts()
3899 scsi_debug_num_parts = SDEBUG_MAX_PARTS; sdebug_build_parts()
3904 / scsi_debug_num_parts; sdebug_build_parts()
3907 for (k = 1; k < scsi_debug_num_parts; ++k) sdebug_build_parts()
3910 starts[scsi_debug_num_parts] = num_sectors; sdebug_build_parts()
3911 starts[scsi_debug_num_parts + 1] = 0; sdebug_build_parts()
4094 module_param_named(num_parts, scsi_debug_num_parts, int, S_IRUGO);
4447 return scnprintf(buf, PAGE_SIZE, "%d\n", scsi_debug_num_parts); num_parts_show()
4871 if (scsi_debug_num_parts > 0) scsi_debug_init()
4924 if (scsi_debug_num_parts) scsi_debug_init()

Completed in 65 milliseconds