Searched refs:sr_sizes (Results 1 – 1 of 1) sorted by relevance
88 static int *sr_sizes; variable242 if ((error_sector >> 1) < sr_sizes[device_nr] && in rw_intr()244 sr_sizes[device_nr] = error_sector >> 1; in rw_intr()687 sr_sizes[i] = scsi_CDs[i].capacity >> (BLOCK_SIZE_BITS - 9); in get_sectorsize()829 sr_sizes = kmalloc(sr_template.dev_max * sizeof(int), GFP_ATOMIC); in sr_init()830 if (!sr_sizes) in sr_init()832 memset(sr_sizes, 0, sr_template.dev_max * sizeof(int)); in sr_init()854 kfree(sr_sizes); in sr_init()871 blk_size[MAJOR_NR] = sr_sizes; in sr_finish()893 sr_sizes[i] = scsi_CDs[i].capacity >> (BLOCK_SIZE_BITS - 9); in sr_finish()[all …]