taglinefilesource code
CURRENT141kernel/blk_drv/blk.h#ifndef CURRENT
CURRENT145kernel/blk_drv/blk.h#define CURRENT_DEV DEVICE_NR(CURRENT->dev)
CURRENT185kernel/blk_drv/blk.hreq = CURRENT;
CURRENT212kernel/blk_drv/blk.hCURRENT = req->next;
CURRENT225kernel/blk_drv/blk.hif (!CURRENT) {\
CURRENT229kernel/blk_drv/blk.hif (MAJOR(CURRENT->dev) != MAJOR_NR) \
CURRENT231kernel/blk_drv/blk.hif (CURRENT->bh) { \
CURRENT232kernel/blk_drv/blk.hif (!CURRENT->bh->b_lock) \
CURRENT216kernel/blk_drv/floppy.c(CURRENT->dev))
CURRENT220kernel/blk_drv/floppy.c(CURRENT->errors))
CURRENT352kernel/blk_drv/floppy.caddr = (long) CURRENT->buffer;
CURRENT363kernel/blk_drv/floppy.ccopy_buffer(CURRENT->buffer,tmp_floppy_area);
CURRENT558kernel/blk_drv/floppy.cint drive = MINOR(CURRENT->dev);
CURRENT572kernel/blk_drv/floppy.ccopy_buffer(buffer_area,CURRENT->buffer);
CURRENT574kernel/blk_drv/floppy.c(unsigned long)(CURRENT->buffer) >= LAST_DMA_ADDR)
CURRENT575kernel/blk_drv/floppy.ccopy_buffer(tmp_floppy_area,CURRENT->buffer);
CURRENT903kernel/blk_drv/floppy.cif (!CURRENT) {
CURRENT911kernel/blk_drv/floppy.cif (MAJOR(CURRENT->dev) != MAJOR_NR)
CURRENT913kernel/blk_drv/floppy.cif (CURRENT->bh) {
CURRENT914kernel/blk_drv/floppy.cif (!CURRENT->bh->b_lock)
CURRENT939kernel/blk_drv/floppy.cblock = CURRENT->sector;
CURRENT949kernel/blk_drv/floppy.cif (CURRENT->cmd == READ)
CURRENT951kernel/blk_drv/floppy.celse if (CURRENT->cmd == WRITE)
CURRENT981kernel/blk_drv/floppy.ccopy_buffer(buffer_area,CURRENT->buffer);
CURRENT985kernel/blk_drv/floppy.ccopy_buffer(CURRENT->buffer,buffer_area);
CURRENT224kernel/blk_drv/hd.cif (!CURRENT)
CURRENT226kernel/blk_drv/hd.cif (++CURRENT->errors >= MAX_ERRORS)
CURRENT228kernel/blk_drv/hd.celse if (CURRENT->errors > MAX_ERRORS/2)
CURRENT260kernel/blk_drv/hd.cport_read(HD_DATA,CURRENT->buffer,256);
CURRENT267kernel/blk_drv/hd.cCURRENT->errors = 0;
CURRENT268kernel/blk_drv/hd.cCURRENT->buffer += 512;
CURRENT269kernel/blk_drv/hd.cCURRENT->sector++;
CURRENT270kernel/blk_drv/hd.ci = --CURRENT->nr_sectors;
CURRENT271kernel/blk_drv/hd.c--CURRENT->current_nr_sectors;
CURRENT274kernel/blk_drv/hd.cMINOR(CURRENT->dev), CURRENT->sector, i, CURRENT-> 
CURRENT277kernel/blk_drv/hd.cif (!i || (CURRENT->bh && !SUBSECTOR(i)))
CURRENT308kernel/blk_drv/hd.cif (CURRENT->nr_sectors > 1 && wait_DRQ()) {
CURRENT312kernel/blk_drv/hd.cCURRENT->sector++;
CURRENT313kernel/blk_drv/hd.ci = --CURRENT->nr_sectors;
CURRENT314kernel/blk_drv/hd.c--CURRENT->current_nr_sectors;
CURRENT315kernel/blk_drv/hd.cCURRENT->buffer += 512;
CURRENT316kernel/blk_drv/hd.cif (!i || (CURRENT->bh && !SUBSECTOR(i)))
CURRENT320kernel/blk_drv/hd.cport_write(HD_DATA,CURRENT->buffer,256);
CURRENT357kernel/blk_drv/hd.cif (!CURRENT)
CURRENT361kernel/blk_drv/hd.cif (++CURRENT->errors >= MAX_ERRORS) {
CURRENT389kernel/blk_drv/hd.cdev = MINOR(CURRENT->dev);
CURRENT390kernel/blk_drv/hd.cblock = CURRENT->sector;
CURRENT391kernel/blk_drv/hd.cnsect = CURRENT->nr_sectors;
CURRENT409kernel/blk_drv/hd.cdev, cyl, head, sec, CURRENT->buffer);
CURRENT426kernel/blk_drv/hd.cif (CURRENT->cmd == WRITE) {
CURRENT435kernel/blk_drv/hd.cport_write(HD_DATA,CURRENT->buffer,256);
CURRENT437kernel/blk_drv/hd.c} else if (CURRENT->cmd == READ) {
CURRENT32kernel/blk_drv/ramdisk.caddr = rd_start + (CURRENT->sector << 9);
CURRENT33kernel/blk_drv/ramdisk.clen = CURRENT->nr_sectors << 9;
CURRENT34kernel/blk_drv/ramdisk.cif ((MINOR(CURRENT->dev) != 1) || (addr+len > rd_start+rd_length)) {
CURRENT38kernel/blk_drv/ramdisk.cif (CURRENT-> cmd == WRITE) {
CURRENT40kernel/blk_drv/ramdisk.cCURRENT->buffer,
CURRENT42kernel/blk_drv/ramdisk.c} else if (CURRENT->cmd == READ) {
CURRENT43kernel/blk_drv/ramdisk.c(void) memcpy(CURRENT->buffer, 
CURRENT102kernel/blk_drv/scsi/sd.cprintk("sd%d : rw_intr(%d, %x)\n", MINOR(CURRENT->dev), host, result);
CURRENT112kernel/blk_drv/scsi/sd.cCURRENT->nr_sectors -= this_count;
CURRENT115kernel/blk_drv/scsi/sd.cprintk("sd%d : %d sectors remain.\n", MINOR(CURRENT->dev), CURRENT->nr_sectors);
CURRENT123kernel/blk_drv/scsi/sd.cif (CURRENT->nr_sectors)
CURRENT125kernel/blk_drv/scsi/sd.cCURRENT->sector += this_count;
CURRENT126kernel/blk_drv/scsi/sd.cCURRENT->errors = 0;
CURRENT128kernel/blk_drv/scsi/sd.cif (!CURRENT->bh)
CURRENT132kernel/blk_drv/scsi/sd.cMINOR(CURRENT->dev));
CURRENT139kernel/blk_drv/scsi/sd.c(char *) CURRENT->buffer += this_count << 9;
CURRENT144kernel/blk_drv/scsi/sd.cprintk("sd%d :  handling linked buffer request\n", MINOR(CURRENT->dev));
CURRENT174kernel/blk_drv/scsi/sd.cif rscsi_disks[DEVICE_NR(CURRENT->dev)].remap
CURRENT191kernel/blk_drv/scsi/sd.cif (rscsi_disks[DEVICE_NR(CURRENT->dev)].ten) {
CURRENT192kernel/blk_drv/scsi/sd.crscsi_disks[DEVICE_NR(CURRENT->dev)].ten = 0;
CURRENT201kernel/blk_drv/scsi/sd.crscsi_disks[DEVICE_NR(CURRENT->dev)].device->host_no, 
CURRENT202kernel/blk_drv/scsi/sd.crscsi_disks[DEVICE_NR(CURRENT->dev)].device->id,
CURRENT203kernel/blk_drv/scsi/sd.crscsi_disks[DEVICE_NR(CURRENT->dev)].device->lun);
CURRENT228kernel/blk_drv/scsi/sd.cdev =  MINOR(CURRENT->dev);
CURRENT229kernel/blk_drv/scsi/sd.cblock = CURRENT->sector;
CURRENT235kernel/blk_drv/scsi/sd.cif (dev >= (NR_SD << 4) || block + CURRENT->nr_sectors > sd[dev].nr_sects) 
CURRENT245kernel/blk_drv/scsi/sd.cprintk("sd%d : real dev = /dev/sd%d, block = %d\n", MINOR(CURRENT->dev), dev, block);
CURRENT249kernel/blk_drv/scsi/sd.cif (!CURRENT->bh)    
CURRENT250kernel/blk_drv/scsi/sd.cthis_count = CURRENT->nr_sectors;
CURRENT255kernel/blk_drv/scsi/sd.cprintk("sd%d : %s %d/%d 512 byte blocks.\n", MINOR(CURRENT->dev), 
CURRENT256kernel/blk_drv/scsi/sd.c(CURRENT->cmd == WRITE) ? "writing" : "reading",
CURRENT257kernel/blk_drv/scsi/sd.cthis_count, CURRENT->nr_sectors);
CURRENT260kernel/blk_drv/scsi/sd.cswitch (CURRENT->cmd)
CURRENT274kernel/blk_drv/scsi/sd.cprintk ("Unknown sd command %d\r\n", CURRENT->cmd);
CURRENT306kernel/blk_drv/scsi/sd.cscsi_do_cmd (HOST, ID, (void *) cmd, CURRENT->buffer, this_count << 9, 
CURRENT47kernel/blk_drv/scsi/sd.h#define HOST (rscsi_disks[DEVICE_NR(CURRENT->dev)].device->host_no)
CURRENT48kernel/blk_drv/scsi/sd.h#define ID (rscsi_disks[DEVICE_NR(CURRENT->dev)].device->id)
CURRENT49kernel/blk_drv/scsi/sd.h#define LUN (rscsi_disks[DEVICE_NR(CURRENT->dev)].device->lun)