tag | line | file | source code |
nsect | 1069 | drivers/block/cdu31a.c | unsigned int nsect, |
nsect | 1081 | drivers/block/cdu31a.c | read_size = nsect; |
nsect | 1087 | drivers/block/cdu31a.c | else if ((sector + nsect) >= sony_toc.lead_out_start_lba) |
nsect | 270 | drivers/block/gscd.c | unsigned int nsect; |
nsect | 277 | drivers/block/gscd.c | nsect = CURRENT->nr_sectors; |
nsect | 307 | drivers/block/gscd.c | printk ("GSCD: dev %d, block %d, nsect %d\n", dev, block, nsect ); |
nsect | 222 | drivers/block/hd.c | static void hd_out(unsigned int drive,unsigned int nsect,unsigned int sect, |
nsect | 242 | drivers/block/hd.c | outb_p(nsect,++port); |
nsect | 477 | drivers/block/hd.c | int i, retries = 100000, msect = mult_count[dev], nsect; |
nsect | 496 | drivers/block/hd.c | if ((nsect = CURRENT->current_nr_sectors) > msect) |
nsect | 497 | drivers/block/hd.c | nsect = msect; |
nsect | 498 | drivers/block/hd.c | msect -= nsect; |
nsect | 500 | drivers/block/hd.c | nsect = 1; |
nsect | 501 | drivers/block/hd.c | insw(HD_DATA,CURRENT->buffer,nsect<<8); |
nsect | 502 | drivers/block/hd.c | CURRENT->sector += nsect; |
nsect | 503 | drivers/block/hd.c | CURRENT->buffer += nsect<<9; |
nsect | 505 | drivers/block/hd.c | i = (CURRENT->nr_sectors -= nsect); |
nsect | 509 | drivers/block/hd.c | dev+'a', CURRENT->sector, CURRENT->sector+nsect, |
nsect | 510 | drivers/block/hd.c | CURRENT->nr_sectors, (unsigned long) CURRENT->buffer+(nsect<<9)); |
nsect | 512 | drivers/block/hd.c | if ((CURRENT->current_nr_sectors -= nsect) <= 0) |
nsect | 698 | drivers/block/hd.c | unsigned int dev, block, nsect, sec, track, head, cyl; |
nsect | 714 | drivers/block/hd.c | nsect = CURRENT->nr_sectors; |
nsect | 715 | drivers/block/hd.c | if (dev >= (NR_HD<<6) || block >= hd[dev].nr_sects || ((block+nsect) > hd[dev].nr_sects)) { |
nsect | 721 | drivers/block/hd.c | (CURRENT->dev>>6)+'a', block, nsect); |
nsect | 740 | drivers/block/hd.c | cyl, head, sec, nsect, (unsigned long) CURRENT->buffer); |
nsect | 746 | drivers/block/hd.c | hd_out(dev,nsect,sec,head,cyl,cmd,&read_intr); |
nsect | 753 | drivers/block/hd.c | hd_out(dev,nsect,sec,head,cyl,WIN_MULTWRITE,&multwrite_intr); |
nsect | 755 | drivers/block/hd.c | hd_out(dev,nsect,sec,head,cyl,WIN_WRITE,&write_intr); |
nsect | 1015 | drivers/block/ide-cd.c | int nsect, sector, nframes, frame, nskip; |
nsect | 1018 | drivers/block/ide-cd.c | nsect = rq->nr_sectors; |
nsect | 1043 | drivers/block/ide-cd.c | nsect += nskip; |
nsect | 1049 | drivers/block/ide-cd.c | nframes = (nsect + SECTORS_PER_FRAME-1) / SECTORS_PER_FRAME; |
nsect | 720 | drivers/block/ide.c | unsigned int msect, nsect; |
nsect | 733 | drivers/block/ide.c | if ((nsect = rq->current_nr_sectors) > msect) |
nsect | 734 | drivers/block/ide.c | nsect = msect; |
nsect | 735 | drivers/block/ide.c | msect -= nsect; |
nsect | 737 | drivers/block/ide.c | nsect = 1; |
nsect | 738 | drivers/block/ide.c | input_ide_data(dev, rq->buffer, nsect * SECTOR_WORDS); |
nsect | 741 | drivers/block/ide.c | dev->name, rq->sector, rq->sector+nsect-1, |
nsect | 742 | drivers/block/ide.c | (unsigned long) rq->buffer+(nsect<<9), rq->nr_sectors-nsect); |
nsect | 744 | drivers/block/ide.c | rq->sector += nsect; |
nsect | 745 | drivers/block/ide.c | rq->buffer += nsect<<9; |
nsect | 747 | drivers/block/ide.c | i = (rq->nr_sectors -= nsect); |
nsect | 748 | drivers/block/ide.c | if ((rq->current_nr_sectors -= nsect) <= 0) |
nsect | 800 | drivers/block/ide.c | unsigned int nsect = rq->current_nr_sectors; |
nsect | 801 | drivers/block/ide.c | if (nsect > mcount) |
nsect | 802 | drivers/block/ide.c | nsect = mcount; |
nsect | 803 | drivers/block/ide.c | mcount -= nsect; |
nsect | 805 | drivers/block/ide.c | output_ide_data(dev, rq->buffer, nsect<<7); |
nsect | 809 | drivers/block/ide.c | nsect, rq->nr_sectors - nsect); |
nsect | 811 | drivers/block/ide.c | if ((rq->nr_sectors -= nsect) <= 0) |
nsect | 813 | drivers/block/ide.c | if ((rq->current_nr_sectors -= nsect) == 0) { |
nsect | 822 | drivers/block/ide.c | rq->buffer += nsect << 9; |
nsect | 862 | drivers/block/ide.c | static inline void ide_cmd(ide_dev_t *dev, byte cmd, byte nsect, |
nsect | 866 | drivers/block/ide.c | OUT_BYTE(nsect,HD_NSECTOR); |
nsect | 4367 | drivers/block/sbpcd.c | u_int nsect; |
nsect | 4394 | drivers/block/sbpcd.c | nsect = CURRENT->nr_sectors; /* always counted as 512-byte-pieces */ |
nsect | 4396 | drivers/block/sbpcd.c | msg(DBG_BSZ,"read sector %d (%d sectors)\n", block, nsect); |
nsect | 820 | drivers/block/sonycd535.c | int nsect; |
nsect | 841 | drivers/block/sonycd535.c | nsect = CURRENT->nr_sectors; |
nsect | 857 | drivers/block/sonycd535.c | if (sony_toc->lead_out_start_lba <= ((block + nsect) / 4)) { |
nsect | 861 | drivers/block/sonycd535.c | while (0 < nsect) { |
nsect | 951 | drivers/block/sonycd535.c | nsect -= 1; |