Lines Matching refs:sd_blocksizes
95 static int *sd_blocksizes; variable
1030 sd_blocksizes[m] = sector_size; in sd_init_onedisk()
1167 sd_blocksizes = kmalloc((sd_template.dev_max << 4) * sizeof(int), GFP_ATOMIC); in sd_init()
1168 if (!sd_blocksizes) in sd_init()
1180 sd_blocksizes[i] = 1024; in sd_init()
1191 blksize_size[SD_MAJOR(i)] = sd_blocksizes + i * (SCSI_DISKS_PER_MAJOR << 4); in sd_init()
1247 kfree(sd_blocksizes); in sd_init()
1391 sd_blocksizes[index] = 1024; in revalidate_scsidisk()
1393 sd_blocksizes[index] = 2048; in revalidate_scsidisk()
1395 sd_blocksizes[index] = 1024; in revalidate_scsidisk()
1473 kfree(sd_blocksizes); in exit_sd()