taglinefilesource code
drive600kernel/blk_drv/floppy.cint drive = MINOR(CURRENT->dev);
drive602kernel/blk_drv/floppy.cif (ftd_msg[drive])
drive604kernel/blk_drv/floppy.cfloppy->name,drive);
drive605kernel/blk_drv/floppy.ccurrent_type[drive] = floppy;
drive606kernel/blk_drv/floppy.cfloppy_sizes[drive] = floppy->size >> 1;
drive1036kernel/blk_drv/floppy.cint i,drive,cnt,okay;
drive1042kernel/blk_drv/floppy.cdrive = MINOR(inode->i_rdev);
drive1052kernel/blk_drv/floppy.cfake_change |= 1 << (drive & 3);
drive1054kernel/blk_drv/floppy.cdrive &= 3;
drive1058kernel/blk_drv/floppy.cif (drive > 3) this = &floppy_type[drive >> 2];
drive1059kernel/blk_drv/floppy.celse if ((this = current_type[drive & 3]) == NULL)
drive1077kernel/blk_drv/floppy.cformat_req.device = drive;
drive1100kernel/blk_drv/floppy.cfake_change |= 1 << (drive & 3);
drive1107kernel/blk_drv/floppy.cif (drive < 0 || drive > 3)
drive1111kernel/blk_drv/floppy.ccurrent_type[drive] = NULL;
drive1112kernel/blk_drv/floppy.cfloppy_sizes[drive] = MAX_DISK_SIZE;
drive1113kernel/blk_drv/floppy.ckeep_data[drive] = 0;
drive1118kernel/blk_drv/floppy.c((char *) &user_params[drive])[cnt] =
drive1120kernel/blk_drv/floppy.ccurrent_type[drive] = &user_params[drive];
drive1121kernel/blk_drv/floppy.cfloppy_sizes[drive] = user_params[drive].size >> 1;
drive1122kernel/blk_drv/floppy.cif (cmd == FDDEFPRM) keep_data[drive] = -1;
drive1128kernel/blk_drv/floppy.coutb_p((current_DOR & 0xfc) | drive |
drive1129kernel/blk_drv/floppy.c(0x10 << drive),FD_DOR);
drive1131kernel/blk_drv/floppy.ckeep_data[drive] = (inb(FD_DIR) & 0x80) ? 1 : 0;
drive1138kernel/blk_drv/floppy.cftd_msg[drive] = 1;
drive1141kernel/blk_drv/floppy.cftd_msg[drive] = 0;
drive1144kernel/blk_drv/floppy.cmin_report_error_cnt[drive] = (unsigned short) (param & 0x0f);
drive1157kernel/blk_drv/floppy.cstatic struct floppy_struct *find_base(int drive,int code)
drive1163kernel/blk_drv/floppy.cprintk("fd%d is %s",drive,base->name);
drive1166kernel/blk_drv/floppy.cprintk("fd%d is unknown type %d",drive,code);
drive1191kernel/blk_drv/floppy.cint drive;
drive1194kernel/blk_drv/floppy.cdrive = inode->i_rdev & 3;
drive1195kernel/blk_drv/floppy.cold_dev = fd_device[drive];
drive1196kernel/blk_drv/floppy.cif (fd_ref[drive])
drive1199kernel/blk_drv/floppy.cfd_ref[drive]++;
drive1200kernel/blk_drv/floppy.cfd_device[drive] = inode->i_rdev;
drive160kernel/blk_drv/genhd.cvoid resetup_one_dev(struct gendisk *dev, int drive)
drive163kernel/blk_drv/genhd.cint start = drive<<dev->minor_shift;
drive167kernel/blk_drv/genhd.ccurrent_minor = 1+(drive<<dev->minor_shift);
drive168kernel/blk_drv/genhd.ccheck_partition(dev, major+(drive<<dev->minor_shift));
drive179kernel/blk_drv/genhd.cint drive;
drive187kernel/blk_drv/genhd.cfor (drive=0 ; drive<dev->nr_real ; drive++) {
drive188kernel/blk_drv/genhd.ccurrent_minor = 1+(drive<<dev->minor_shift);
drive189kernel/blk_drv/genhd.ccheck_partition(dev, major+(drive<<dev->minor_shift));
drive131kernel/blk_drv/hd.cstatic int controller_ready(unsigned int drive, unsigned int head)
drive138kernel/blk_drv/hd.coutb_p(0xA0 | (drive<<4) | head, HD_CURRENT);
drive171kernel/blk_drv/hd.cstatic void hd_out(unsigned int drive,unsigned int nsect,unsigned int sect,
drive177kernel/blk_drv/hd.cif (drive>1 || head>15)
drive185kernel/blk_drv/hd.cif (!controller_ready(drive, head)) {
drive190kernel/blk_drv/hd.coutb_p(hd_info[drive].ctl,HD_CMD);
drive192kernel/blk_drv/hd.coutb_p(hd_info[drive].wpcom>>2,++port);
drive197kernel/blk_drv/hd.coutb_p(0xA0|(drive<<4)|head,++port);
drive618kernel/blk_drv/hd.cint drive, i;
drive624kernel/blk_drv/hd.cfor (drive=0 ; drive<2 ; drive++) {
drive625kernel/blk_drv/hd.chd_info[drive].cyl = *(unsigned short *) BIOS;
drive626kernel/blk_drv/hd.chd_info[drive].head = *(unsigned char *) (2+BIOS);
drive627kernel/blk_drv/hd.chd_info[drive].wpcom = *(unsigned short *) (5+BIOS);
drive628kernel/blk_drv/hd.chd_info[drive].ctl = *(unsigned char *) (8+BIOS);
drive629kernel/blk_drv/hd.chd_info[drive].lzone = *(unsigned short *) (12+BIOS);
drive630kernel/blk_drv/hd.chd_info[drive].sect = *(unsigned char *) (14+BIOS);
drive1291kernel/blk_drv/scsi/fdomain.cint    drive;
drive1322kernel/blk_drv/scsi/fdomain.cdrive = MINOR(dev) / 16;
drive1323kernel/blk_drv/scsi/fdomain.ci = (struct drive_info *)( (char *)bios_base + 0x1f31 + drive * 25 );