tag | line | file | source code |
nsect | 1070 | drivers/block/cdu31a.c | unsigned int nsect, |
nsect | 1082 | drivers/block/cdu31a.c | read_size = nsect; |
nsect | 1088 | 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 | 220 | drivers/block/hd.c | static void hd_out(unsigned int drive,unsigned int nsect,unsigned int sect, |
nsect | 240 | drivers/block/hd.c | outb_p(nsect,++port); |
nsect | 475 | drivers/block/hd.c | int i, retries = 100000, msect = mult_count[dev], nsect; |
nsect | 494 | drivers/block/hd.c | if ((nsect = CURRENT->current_nr_sectors) > msect) |
nsect | 495 | drivers/block/hd.c | nsect = msect; |
nsect | 496 | drivers/block/hd.c | msect -= nsect; |
nsect | 498 | drivers/block/hd.c | nsect = 1; |
nsect | 499 | drivers/block/hd.c | insw(HD_DATA,CURRENT->buffer,nsect<<8); |
nsect | 500 | drivers/block/hd.c | CURRENT->sector += nsect; |
nsect | 501 | drivers/block/hd.c | CURRENT->buffer += nsect<<9; |
nsect | 503 | drivers/block/hd.c | i = (CURRENT->nr_sectors -= nsect); |
nsect | 507 | drivers/block/hd.c | dev+'a', CURRENT->sector, CURRENT->sector+nsect, |
nsect | 508 | drivers/block/hd.c | CURRENT->nr_sectors, (unsigned long) CURRENT->buffer+(nsect<<9)); |
nsect | 510 | drivers/block/hd.c | if ((CURRENT->current_nr_sectors -= nsect) <= 0) |
nsect | 696 | drivers/block/hd.c | unsigned int dev, block, nsect, sec, track, head, cyl; |
nsect | 712 | drivers/block/hd.c | nsect = CURRENT->nr_sectors; |
nsect | 713 | drivers/block/hd.c | if (dev >= (NR_HD<<6) || block >= hd[dev].nr_sects || ((block+nsect) > hd[dev].nr_sects)) { |
nsect | 720 | drivers/block/hd.c | (MINOR(CURRENT->rq_dev)>>6)+'a', block, nsect); |
nsect | 739 | drivers/block/hd.c | cyl, head, sec, nsect, (unsigned long) CURRENT->buffer); |
nsect | 745 | drivers/block/hd.c | hd_out(dev,nsect,sec,head,cyl,cmd,&read_intr); |
nsect | 752 | drivers/block/hd.c | hd_out(dev,nsect,sec,head,cyl,WIN_MULTWRITE,&multwrite_intr); |
nsect | 754 | drivers/block/hd.c | hd_out(dev,nsect,sec,head,cyl,WIN_WRITE,&write_intr); |
nsect | 1119 | drivers/block/ide-cd.c | int nsect, sector, nframes, frame, nskip; |
nsect | 1122 | drivers/block/ide-cd.c | nsect = rq->nr_sectors; |
nsect | 1147 | drivers/block/ide-cd.c | nsect += nskip; |
nsect | 1153 | drivers/block/ide-cd.c | nframes = (nsect + SECTORS_PER_FRAME-1) / SECTORS_PER_FRAME; |
nsect | 922 | drivers/block/ide.c | unsigned int msect, nsect; |
nsect | 935 | drivers/block/ide.c | if ((nsect = rq->current_nr_sectors) > msect) |
nsect | 936 | drivers/block/ide.c | nsect = msect; |
nsect | 937 | drivers/block/ide.c | msect -= nsect; |
nsect | 939 | drivers/block/ide.c | nsect = 1; |
nsect | 940 | drivers/block/ide.c | ide_input_data(drive, rq->buffer, nsect * SECTOR_WORDS); |
nsect | 943 | drivers/block/ide.c | drive->name, rq->sector, rq->sector+nsect-1, |
nsect | 944 | drivers/block/ide.c | (unsigned long) rq->buffer+(nsect<<9), rq->nr_sectors-nsect); |
nsect | 946 | drivers/block/ide.c | rq->sector += nsect; |
nsect | 947 | drivers/block/ide.c | rq->buffer += nsect<<9; |
nsect | 949 | drivers/block/ide.c | i = (rq->nr_sectors -= nsect); |
nsect | 950 | drivers/block/ide.c | if ((rq->current_nr_sectors -= nsect) <= 0) |
nsect | 1008 | drivers/block/ide.c | unsigned int nsect = rq->current_nr_sectors; |
nsect | 1009 | drivers/block/ide.c | if (nsect > mcount) |
nsect | 1010 | drivers/block/ide.c | nsect = mcount; |
nsect | 1011 | drivers/block/ide.c | mcount -= nsect; |
nsect | 1013 | drivers/block/ide.c | ide_output_data(drive, rq->buffer, nsect<<7); |
nsect | 1017 | drivers/block/ide.c | nsect, rq->nr_sectors - nsect); |
nsect | 1019 | drivers/block/ide.c | if ((rq->nr_sectors -= nsect) <= 0) |
nsect | 1021 | drivers/block/ide.c | if ((rq->current_nr_sectors -= nsect) == 0) { |
nsect | 1030 | drivers/block/ide.c | rq->buffer += nsect << 9; |
nsect | 1072 | drivers/block/ide.c | static void ide_cmd(ide_drive_t *drive, byte cmd, byte nsect, ide_handler_t *handler) |
nsect | 1076 | drivers/block/ide.c | OUT_BYTE(nsect,IDE_NSECTOR_REG); |
nsect | 4379 | drivers/block/sbpcd.c | u_int nsect; |
nsect | 4409 | drivers/block/sbpcd.c | nsect = CURRENT->nr_sectors; /* always counted as 512-byte-pieces */ |
nsect | 4411 | 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; |