Lines Matching refs:sr_sizes
88 static int *sr_sizes; variable
242 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()
954 sr_sizes[i] = 0; in sr_detach()
974 kfree(sr_sizes); in exit_sr()
975 sr_sizes = NULL; in exit_sr()