taglinefilesource code
nsect638drivers/block/ataflop.cint sect, nsect;
nsect669drivers/block/ataflop.cnsect = UDT->spt;
nsect677drivers/block/ataflop.cFILL( 60 * (nsect / 9), 0x4e );
nsect678drivers/block/ataflop.cfor( sect = 0; sect < nsect; ++sect ) {
nsect684drivers/block/ataflop.c*p++ = (nsect + sect - desc->sect_offset) % nsect + 1;
nsect489drivers/block/genhd.cunsigned short nsect;      /* Sectors per track */
nsect536drivers/block/genhd.cspc = SWAP16(label->ntrks) * SWAP16(label->nsect);
nsect220drivers/block/hd.cstatic void hd_out(unsigned int drive,unsigned int nsect,unsigned int sect,
nsect240drivers/block/hd.coutb_p(nsect,++port);
nsect475drivers/block/hd.cint i, retries = 100000, msect = mult_count[dev], nsect;
nsect494drivers/block/hd.cif ((nsect = CURRENT->current_nr_sectors) > msect)
nsect495drivers/block/hd.cnsect = msect;
nsect496drivers/block/hd.cmsect -= nsect;
nsect498drivers/block/hd.cnsect = 1;
nsect499drivers/block/hd.cinsw(HD_DATA,CURRENT->buffer,nsect<<8);
nsect500drivers/block/hd.cCURRENT->sector += nsect;
nsect501drivers/block/hd.cCURRENT->buffer += nsect<<9;
nsect503drivers/block/hd.ci = (CURRENT->nr_sectors -= nsect);
nsect507drivers/block/hd.cdev+'a', CURRENT->sector, CURRENT->sector+nsect,
nsect508drivers/block/hd.cCURRENT->nr_sectors, (unsigned long) CURRENT->buffer+(nsect<<9));
nsect510drivers/block/hd.cif ((CURRENT->current_nr_sectors -= nsect) <= 0)
nsect696drivers/block/hd.cunsigned int dev, block, nsect, sec, track, head, cyl;
nsect712drivers/block/hd.cnsect = CURRENT->nr_sectors;
nsect713drivers/block/hd.cif (dev >= (NR_HD<<6) || block >= hd[dev].nr_sects || ((block+nsect) > hd[dev].nr_sects)) {
nsect720drivers/block/hd.c(MINOR(CURRENT->rq_dev)>>6)+'a', block, nsect);
nsect739drivers/block/hd.ccyl, head, sec, nsect, (unsigned long) CURRENT->buffer);
nsect745drivers/block/hd.chd_out(dev,nsect,sec,head,cyl,cmd,&read_intr);
nsect752drivers/block/hd.chd_out(dev,nsect,sec,head,cyl,WIN_MULTWRITE,&multwrite_intr);
nsect754drivers/block/hd.chd_out(dev,nsect,sec,head,cyl,WIN_WRITE,&write_intr);
nsect1097drivers/block/ide-cd.cint nsect, sector, nframes, frame, nskip;
nsect1100drivers/block/ide-cd.cnsect = rq->nr_sectors;
nsect1124drivers/block/ide-cd.cnsect += nskip;
nsect1130drivers/block/ide-cd.cnframes = (nsect + SECTORS_PER_FRAME-1) / SECTORS_PER_FRAME;
nsect946drivers/block/ide.cunsigned int msect, nsect;
nsect957drivers/block/ide.cif ((nsect = rq->current_nr_sectors) > msect)
nsect958drivers/block/ide.cnsect = msect;
nsect959drivers/block/ide.cmsect -= nsect;
nsect961drivers/block/ide.cnsect = 1;
nsect962drivers/block/ide.cide_input_data(drive, rq->buffer, nsect * SECTOR_WORDS);
nsect965drivers/block/ide.cdrive->name, rq->sector, rq->sector+nsect-1,
nsect966drivers/block/ide.c(unsigned long) rq->buffer+(nsect<<9), rq->nr_sectors-nsect);
nsect968drivers/block/ide.crq->sector += nsect;
nsect969drivers/block/ide.crq->buffer += nsect<<9;
nsect971drivers/block/ide.ci = (rq->nr_sectors -= nsect);
nsect972drivers/block/ide.cif ((rq->current_nr_sectors -= nsect) <= 0)
nsect1024drivers/block/ide.cunsigned int nsect = rq->current_nr_sectors;
nsect1025drivers/block/ide.cif (nsect > mcount)
nsect1026drivers/block/ide.cnsect = mcount;
nsect1027drivers/block/ide.cmcount -= nsect;
nsect1029drivers/block/ide.cide_output_data(drive, rq->buffer, nsect<<7);
nsect1033drivers/block/ide.cnsect, rq->nr_sectors - nsect);
nsect1035drivers/block/ide.cif ((rq->nr_sectors -= nsect) <= 0)
nsect1037drivers/block/ide.cif ((rq->current_nr_sectors -= nsect) == 0) {
nsect1046drivers/block/ide.crq->buffer += nsect << 9;
nsect1086drivers/block/ide.cstatic void ide_cmd(ide_drive_t *drive, byte cmd, byte nsect, ide_handler_t *handler)
nsect1090drivers/block/ide.cOUT_BYTE(nsect,IDE_NSECTOR_REG);
nsect199drivers/block/promise.cunsigned int sectors_left, sectors_avail, nsect;
nsect217drivers/block/promise.cif ((nsect = rq->current_nr_sectors) > sectors_avail)
nsect218drivers/block/promise.cnsect = sectors_avail;
nsect219drivers/block/promise.csectors_avail -= nsect;
nsect220drivers/block/promise.cide_input_data(drive, rq->buffer, nsect * SECTOR_WORDS);
nsect223drivers/block/promise.c"remaining=%ld\n", drive->name, rq->sector, rq->sector+nsect-1, 
nsect224drivers/block/promise.c(unsigned long) rq->buffer+(nsect<<9), rq->nr_sectors-nsect);
nsect226drivers/block/promise.crq->sector += nsect;
nsect227drivers/block/promise.crq->buffer += nsect<<9;
nsect229drivers/block/promise.ci = (rq->nr_sectors -= nsect);
nsect230drivers/block/promise.cif ((rq->current_nr_sectors -= nsect) <= 0)
nsect1079drivers/cdrom/cdu31a.cunsigned int nsect,
nsect1091drivers/cdrom/cdu31a.cread_size = nsect;
nsect1097drivers/cdrom/cdu31a.celse if ((sector + nsect) >= sony_toc.lead_out_start_lba)
nsect262drivers/cdrom/gscd.cunsigned int nsect;
nsect269drivers/cdrom/gscd.cnsect = CURRENT->nr_sectors;
nsect299drivers/cdrom/gscd.cprintk ("GSCD: dev %d, block %d, nsect %d\n", dev, block, nsect );
nsect4413drivers/cdrom/sbpcd.cu_int nsect;
nsect4443drivers/cdrom/sbpcd.cnsect = CURRENT->nr_sectors; /* always counted as 512-byte-pieces */
nsect4445drivers/cdrom/sbpcd.cmsg(DBG_BSZ,"read sector %d (%d sectors)\n", block, nsect);
nsect788drivers/cdrom/sonycd535.cint  nsect;
nsect809drivers/cdrom/sonycd535.cnsect = CURRENT->nr_sectors;
nsect825drivers/cdrom/sonycd535.cif (sony_toc->lead_out_start_lba <= ((block + nsect) / 4)) {
nsect829drivers/cdrom/sonycd535.cwhile (0 < nsect) {
nsect914drivers/cdrom/sonycd535.cnsect -= 1;