tag | line | file | source code |
nsect | 981 | drivers/block/cdu31a.c | unsigned int nsect, |
nsect | 993 | drivers/block/cdu31a.c | read_size = nsect; |
nsect | 999 | drivers/block/cdu31a.c | else if ((sector + nsect) >= sony_toc->lead_out_start_lba) |
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 | 602 | drivers/block/ide-cd.c | int nsect, sector, nframes, frame, nskip; |
nsect | 605 | drivers/block/ide-cd.c | nsect = rq->nr_sectors; |
nsect | 630 | drivers/block/ide-cd.c | nsect += nskip; |
nsect | 636 | drivers/block/ide-cd.c | nframes = (nsect + SECTORS_PER_FRAME-1) / SECTORS_PER_FRAME; |
nsect | 652 | drivers/block/ide.c | unsigned int msect, nsect; |
nsect | 665 | drivers/block/ide.c | if ((nsect = rq->current_nr_sectors) > msect) |
nsect | 666 | drivers/block/ide.c | nsect = msect; |
nsect | 667 | drivers/block/ide.c | msect -= nsect; |
nsect | 669 | drivers/block/ide.c | nsect = 1; |
nsect | 670 | drivers/block/ide.c | IN_SECTORS(rq->buffer,nsect); |
nsect | 673 | drivers/block/ide.c | dev->name, rq->sector, rq->sector+nsect-1, |
nsect | 674 | drivers/block/ide.c | (unsigned long) rq->buffer+(nsect<<9), rq->nr_sectors-nsect); |
nsect | 676 | drivers/block/ide.c | rq->sector += nsect; |
nsect | 677 | drivers/block/ide.c | rq->buffer += nsect<<9; |
nsect | 679 | drivers/block/ide.c | i = (rq->nr_sectors -= nsect); |
nsect | 680 | drivers/block/ide.c | if ((rq->current_nr_sectors -= nsect) <= 0) |
nsect | 732 | drivers/block/ide.c | unsigned int nsect = rq->current_nr_sectors; |
nsect | 733 | drivers/block/ide.c | if (nsect > mcount) |
nsect | 734 | drivers/block/ide.c | nsect = mcount; |
nsect | 735 | drivers/block/ide.c | mcount -= nsect; |
nsect | 737 | drivers/block/ide.c | OUT_SECTORS(rq->buffer,nsect); |
nsect | 741 | drivers/block/ide.c | nsect, rq->nr_sectors - nsect); |
nsect | 743 | drivers/block/ide.c | if ((rq->nr_sectors -= nsect) <= 0) |
nsect | 745 | drivers/block/ide.c | if ((rq->current_nr_sectors -= nsect) == 0) { |
nsect | 754 | drivers/block/ide.c | rq->buffer += nsect << 9; |
nsect | 794 | drivers/block/ide.c | static inline void ide_cmd(ide_dev_t *dev, byte cmd, byte nsect, |
nsect | 798 | drivers/block/ide.c | OUT_BYTE(nsect,HD_NSECTOR); |
nsect | 3608 | drivers/block/sbpcd.c | u_int nsect; |
nsect | 3631 | drivers/block/sbpcd.c | nsect = CURRENT->nr_sectors; /* always counted as 512-byte-pieces */ |
nsect | 3633 | drivers/block/sbpcd.c | DPRINTF((DBG_BSZ,"SBPCD: read sector %d (%d sectors)\n", block, nsect)); |
nsect | 807 | drivers/block/sonycd535.c | int nsect; |
nsect | 829 | drivers/block/sonycd535.c | nsect = CURRENT->nr_sectors; |
nsect | 845 | drivers/block/sonycd535.c | if (sony_toc->lead_out_start_lba <= ((block + nsect) / 4)) { |
nsect | 849 | drivers/block/sonycd535.c | while (0 < nsect) { |
nsect | 919 | drivers/block/sonycd535.c | nsect -= 1; |