Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/scsi/
Dsd.c93 static struct gendisk *sd_gendisks; variable
202 put_user(sd_gendisks[SD_MAJOR_IDX( in sd_ioctl()
235 put_user(sd_gendisks[SD_MAJOR_IDX( in sd_ioctl()
304 ppnt = &sd_gendisks[SD_MAJOR_IDX(SCpnt->request.rq_dev)].part[MINOR(SCpnt->request.rq_dev)]; in sd_init_command()
589 #define SD_GENDISK(i) sd_gendisks[(i) / SCSI_DISKS_PER_MAJOR]
657 error_sector -= sd_gendisks[SD_MAJOR_IDX( in rw_intr()
1196 sd_gendisks = kmalloc(N_USED_SD_MAJORS * sizeof(struct gendisk), GFP_ATOMIC); in sd_init()
1197 if (!sd_gendisks) in sd_init()
1200 sd_gendisks[i] = sd_gendisk; /* memcpy */ in sd_init()
1201 sd_gendisks[i].de_arr = kmalloc (SCSI_DISKS_PER_MAJOR * sizeof *sd_gendisks[i].de_arr, in sd_init()
[all …]