taglinefilesource code
device29include/linux/fd.hunsigned int device,head,track;
device68kernel/blk_drv/blk.h#define DEVICE_NR(device) ((device) & 7)
device69kernel/blk_drv/blk.h#define DEVICE_ON(device) 
device70kernel/blk_drv/blk.h#define DEVICE_OFF(device)
device77kernel/blk_drv/blk.h#define DEVICE_NR(device) ((device) & 3)
device78kernel/blk_drv/blk.h#define DEVICE_ON(device) floppy_on(DEVICE_NR(device))
device79kernel/blk_drv/blk.h#define DEVICE_OFF(device) floppy_off(DEVICE_NR(device))
device88kernel/blk_drv/blk.h#define DEVICE_NR(device) (MINOR(device)>>6)
device89kernel/blk_drv/blk.h#define DEVICE_ON(device)
device90kernel/blk_drv/blk.h#define DEVICE_OFF(device)
device97kernel/blk_drv/blk.h#define DEVICE_NR(device) (MINOR(device) >> 4)
device98kernel/blk_drv/blk.h#define DEVICE_ON(device)
device99kernel/blk_drv/blk.h#define DEVICE_OFF(device)
device106kernel/blk_drv/blk.h#define DEVICE_NR(device) (MINOR(device))
device107kernel/blk_drv/blk.h#define DEVICE_ON(device)
device108kernel/blk_drv/blk.h#define DEVICE_OFF(device)
device191kernel/blk_drv/floppy.c#define CURRENT_DEVICE (format_status == FORMAT_BUSY ? format_req.device : \
device725kernel/blk_drv/floppy.cint device;
device746kernel/blk_drv/floppy.cdevice = MINOR(CURRENT_DEVICE);
device747kernel/blk_drv/floppy.cif (device > 3)
device748kernel/blk_drv/floppy.cfloppy = (device >> 2) + floppy_type;
device750kernel/blk_drv/floppy.cif ((floppy = current_type[device & 3]) == NULL) {
device752kernel/blk_drv/floppy.cif ((floppy = base_type[device & 3]) ==
device785kernel/blk_drv/floppy.cif (current_drive != (format_req.device & 3))
device787kernel/blk_drv/floppy.ccurrent_drive = format_req.device & 3;
device862kernel/blk_drv/floppy.cformat_req.device = drive;
device202kernel/blk_drv/scsi/scsi.cscsi_tapes[NR_ST].device = &scsi_devices[NR_SCSI_DEVICES];
device208kernel/blk_drv/scsi/scsi.crscsi_disks[NR_SD].device = &scsi_devices[NR_SCSI_DEVICES];
device142kernel/blk_drv/scsi/sd.crscsi_disks[DEVICE_NR(CURRENT->dev)].device->host_no, 
device143kernel/blk_drv/scsi/sd.crscsi_disks[DEVICE_NR(CURRENT->dev)].device->id,
device144kernel/blk_drv/scsi/sd.crscsi_disks[DEVICE_NR(CURRENT->dev)].device->lun);
device199kernel/blk_drv/scsi/sd.cif (!rscsi_disks[dev].device->writeable)
device269kernel/blk_drv/scsi/sd.ccmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
device274kernel/blk_drv/scsi/sd.crscsi_disks[i].device->host_no, rscsi_disks[i].device->id);
device276kernel/blk_drv/scsi/sd.cscsi_do_cmd (rscsi_disks[i].device->host_no , 
device277kernel/blk_drv/scsi/sd.crscsi_disks[i].device->id, 
device301kernel/blk_drv/scsi/sd.crscsi_disks[i].device->host_no, rscsi_disks[i].device->id,
device302kernel/blk_drv/scsi/sd.crscsi_disks[i].device->lun,
device348kernel/blk_drv/scsi/sd.cscsi_do_cmd (rscsi_disks[i].device->host_no ,  rscsi_disks[i].device->id, 
device41kernel/blk_drv/scsi/sd.hScsi_Device  *device;    
device54kernel/blk_drv/scsi/sd.h#define HOST (rscsi_disks[DEVICE_NR(CURRENT->dev)].device->host_no)
device55kernel/blk_drv/scsi/sd.h#define ID (rscsi_disks[DEVICE_NR(CURRENT->dev)].device->id)
device56kernel/blk_drv/scsi/sd.h#define LUN (rscsi_disks[DEVICE_NR(CURRENT->dev)].device->lun)
device17kernel/blk_drv/scsi/sd_ioctl.creturn scsi_ioctl(rscsi_disks[MINOR(dev) >> 4].device,cmd,(void *) arg);
device19kernel/blk_drv/scsi/st.hScsi_Device* device;  
device16kernel/blk_drv/scsi/st_ioctl.creturn scsi_ioctl(scsi_tapes[MINOR(dev)].device,cmd,(void *) arg);