tag | line | file | source code |
sector | 160 | drivers/block/aztcd.c | && CURRENT -> sector != -1) |
sector | 781 | drivers/block/aztcd.c | int bn = CURRENT -> sector / 4; |
sector | 786 | drivers/block/aztcd.c | int offs = (i * 4 + (CURRENT -> sector & 3)) * 512; |
sector | 787 | drivers/block/aztcd.c | int nr_sectors = 4 - (CURRENT -> sector & 3); |
sector | 799 | drivers/block/aztcd.c | CURRENT -> sector += nr_sectors; |
sector | 813 | drivers/block/aztcd.c | printk(" do_aztcd_request(%ld+%ld)\n", CURRENT -> sector, CURRENT -> nr_sectors); |
sector | 988 | drivers/block/aztcd.c | azt_next_bn = CURRENT -> sector / 4; |
sector | 1119 | drivers/block/aztcd.c | && (CURRENT -> sector / 4 < azt_next_bn || |
sector | 1120 | drivers/block/aztcd.c | CURRENT -> sector / 4 > azt_next_bn + AZT_BUF_SIZ)) { |
sector | 23 | drivers/block/blk.h | (s1)->sector < (s2)->sector))))) |
sector | 295 | drivers/block/blk.h | (unsigned long)req->dev, req->sector); |
sector | 298 | drivers/block/blk.h | req->sector += (BLOCK_SIZE / 512); |
sector | 299 | drivers/block/blk.h | req->sector &= ~SECTOR_MASK; |
sector | 980 | drivers/block/cdu31a.c | start_request(unsigned int sector, |
sector | 989 | drivers/block/cdu31a.c | log_to_msf(sector, params); |
sector | 999 | drivers/block/cdu31a.c | else if ((sector + nsect) >= sony_toc->lead_out_start_lba) |
sector | 1001 | drivers/block/cdu31a.c | read_size = sony_toc->lead_out_start_lba - sector; |
sector | 1041 | drivers/block/cdu31a.c | sony_next_block = sector * 4; |
sector | 1420 | drivers/block/cdu31a.c | block = CURRENT->sector; |
sector | 1945 | drivers/block/floppy.c | block = current_count_sectors + CURRENT->sector; |
sector | 1956 | drivers/block/floppy.c | CURRENT->sector += CURRENT->current_nr_sectors; |
sector | 1964 | drivers/block/floppy.c | CURRENT->sector += current_count_sectors; |
sector | 1976 | drivers/block/floppy.c | DRWE->first_error_sector = CURRENT->sector; |
sector | 1979 | drivers/block/floppy.c | DRWE->last_error_sector = CURRENT->sector; |
sector | 2225 | drivers/block/floppy.c | TRACK = CURRENT->sector / max_sector; |
sector | 2226 | drivers/block/floppy.c | sector_t = CURRENT->sector % max_sector; |
sector | 165 | drivers/block/hd.c | printk(", sector=%ld", CURRENT->sector); |
sector | 502 | drivers/block/hd.c | CURRENT->sector += nsect; |
sector | 509 | drivers/block/hd.c | dev+'a', CURRENT->sector, CURRENT->sector+nsect, |
sector | 603 | drivers/block/hd.c | CURRENT->sector++; |
sector | 713 | drivers/block/hd.c | block = CURRENT->sector; |
sector | 163 | drivers/block/ide-cd.c | rq->sector += adj; |
sector | 329 | drivers/block/ide-cd.c | static void cdrom_buffer_sectors (ide_dev_t *dev, unsigned long sector, |
sector | 353 | drivers/block/ide-cd.c | info->sector_buffered = sector; |
sector | 500 | drivers/block/ide-cd.c | cdrom_buffer_sectors (dev, rq->sector, sectors_to_transfer); |
sector | 518 | drivers/block/ide-cd.c | ++rq->sector; |
sector | 546 | drivers/block/ide-cd.c | rq->sector >= info->sector_buffered && |
sector | 547 | drivers/block/ide-cd.c | rq->sector < info->sector_buffered + info->nsectors_buffered) |
sector | 554 | drivers/block/ide-cd.c | (rq->sector - info->sector_buffered) * SECTOR_SIZE, |
sector | 559 | drivers/block/ide-cd.c | ++rq->sector; |
sector | 578 | drivers/block/ide-cd.c | (rq->sector % SECTORS_PER_FRAME) != 0) |
sector | 581 | drivers/block/ide-cd.c | dev->name, rq->sector); |
sector | 602 | drivers/block/ide-cd.c | int nsect, sector, nframes, frame, nskip; |
sector | 608 | drivers/block/ide-cd.c | sector = rq->sector; |
sector | 616 | drivers/block/ide-cd.c | nskip = (sector % SECTORS_PER_FRAME); |
sector | 629 | drivers/block/ide-cd.c | sector -= nskip; |
sector | 637 | drivers/block/ide-cd.c | frame = sector / SECTORS_PER_FRAME; |
sector | 689 | drivers/block/ide-cd.c | rq->sector -= n; |
sector | 877 | drivers/block/ide-cd.c | req.sector = 0; |
sector | 588 | drivers/block/ide.c | printk(", sector=%ld", ide_cur_rq[HWIF]->sector); |
sector | 673 | drivers/block/ide.c | dev->name, rq->sector, rq->sector+nsect-1, |
sector | 676 | drivers/block/ide.c | rq->sector += nsect; |
sector | 701 | drivers/block/ide.c | dev->name, rq->sector, (unsigned long) rq->buffer, |
sector | 705 | drivers/block/ide.c | rq->sector++; |
sector | 740 | drivers/block/ide.c | dev->name, rq->sector, (unsigned long) rq->buffer, |
sector | 1078 | drivers/block/ide.c | block = rq->sector; |
sector | 1364 | drivers/block/ide.c | rq.sector = 0; |
sector | 263 | drivers/block/ll_rw_blk.c | unsigned int sector, count; |
sector | 283 | drivers/block/ll_rw_blk.c | sector = bh->b_blocknr * count; |
sector | 285 | drivers/block/ll_rw_blk.c | if (blk_size[major][MINOR(bh->b_dev)] < (sector + count)>>1) { |
sector | 332 | drivers/block/ll_rw_blk.c | req->sector + req->nr_sectors == sector && |
sector | 346 | drivers/block/ll_rw_blk.c | req->sector - count == sector && |
sector | 353 | drivers/block/ll_rw_blk.c | req->sector = sector; |
sector | 386 | drivers/block/ll_rw_blk.c | req->sector = sector; |
sector | 419 | drivers/block/ll_rw_blk.c | req->sector = page<<3; |
sector | 541 | drivers/block/ll_rw_blk.c | req->sector = (b[i] * buffersize) >> 9; |
sector | 89 | drivers/block/mcd.c | && CURRENT -> sector != -1) |
sector | 552 | drivers/block/mcd.c | int bn = CURRENT -> sector / 4; |
sector | 557 | drivers/block/mcd.c | int offs = (i * 4 + (CURRENT -> sector & 3)) * 512; |
sector | 558 | drivers/block/mcd.c | int nr_sectors = 4 - (CURRENT -> sector & 3); |
sector | 570 | drivers/block/mcd.c | CURRENT -> sector += nr_sectors; |
sector | 611 | drivers/block/mcd.c | printk(" do_mcd_request(%ld+%ld)\n", CURRENT -> sector, CURRENT -> nr_sectors); |
sector | 781 | drivers/block/mcd.c | mcd_next_bn = CURRENT -> sector / 4; |
sector | 855 | drivers/block/mcd.c | && (CURRENT -> sector / 4 < mcd_next_bn || |
sector | 856 | drivers/block/mcd.c | CURRENT -> sector / 4 > mcd_next_bn + 16)) { |
sector | 40 | drivers/block/ramdisk.c | addr = rd_start + (CURRENT->sector << 9); |
sector | 3591 | drivers/block/sbpcd.c | (CURRENT->sector/4 >= DriveStruct[d].sbp_first_frame) && |
sector | 3592 | drivers/block/sbpcd.c | (CURRENT->sector/4 <= DriveStruct[d].sbp_last_frame) ) |
sector | 3594 | drivers/block/sbpcd.c | offs = (CURRENT->sector - DriveStruct[d].sbp_first_frame * 4) * 512; |
sector | 3597 | drivers/block/sbpcd.c | CURRENT->sector++; |
sector | 3616 | drivers/block/sbpcd.c | if (CURRENT -> sector == -1) goto err_done; |
sector | 3630 | drivers/block/sbpcd.c | block = CURRENT->sector; /* always numbered as 512-byte-pieces */ |
sector | 3705 | drivers/block/sbpcd.c | block=CURRENT->sector/4; |
sector | 3925 | drivers/block/sbpcd.c | DriveStruct[d].sbp_first_frame = CURRENT -> sector / 4; |
sector | 828 | drivers/block/sonycd535.c | block = CURRENT->sector; |
sector | 219 | drivers/block/xd.c | if (CURRENT_DEV < xd_drives && CURRENT->sector + CURRENT->nr_sectors <= xd[MINOR(CURRENT->dev)].nr_sects) { |
sector | 220 | drivers/block/xd.c | block = CURRENT->sector + xd[MINOR(CURRENT->dev)].start_sect; |
sector | 328 | drivers/block/xd.c | u_char head,sector,control,mode,temp; |
sector | 341 | drivers/block/xd.c | sector = block % xd_info[drive].sectors; |
sector | 344 | drivers/block/xd.c | printk("xd_readwrite: drive = %d, head = %d, cylinder = %d, sector = %d, count = %d\n",drive,head,cylinder,sector,temp); |
sector | 348 | drivers/block/xd.c | xd_build(cmdblk,operation == READ ? CMD_READ : CMD_WRITE,drive,head,cylinder,sector,temp & 0xFF,control); |
sector | 422 | drivers/block/xd.c | static u_char *xd_build (u_char *cmdblk,u_char command,u_char drive,u_char head,u_short cylinder,u_char sector,u_char count,u_char control) |
sector | 426 | drivers/block/xd.c | cmdblk[2] = ((cylinder & 0x300) >> 2) | (sector & 0x3F); |
sector | 722 | drivers/scsi/scsi.c | req->sector += bh->b_size >> 9; |
sector | 827 | drivers/scsi/scsi.c | req->sector += bh->b_size >> 9; |
sector | 1874 | drivers/scsi/scsi.c | int page, sector, nbits, mask; |
sector | 1892 | drivers/scsi/scsi.c | sector = offset >> 9; |
sector | 1893 | drivers/scsi/scsi.c | if(sector >= dma_sectors) panic ("Bad page"); |
sector | 1895 | drivers/scsi/scsi.c | sector = (offset >> 9) & (sizeof(*dma_malloc_freelist) * 8 - 1); |
sector | 1899 | drivers/scsi/scsi.c | if ((mask << sector) > 0xffff) panic ("Bad memory alignment"); |
sector | 1903 | drivers/scsi/scsi.c | if(dma_malloc_freelist[page] & (mask << sector) != (mask<<sector)) |
sector | 1907 | drivers/scsi/scsi.c | dma_malloc_freelist[page] &= ~(mask << sector); |
sector | 2509 | drivers/scsi/scsi.c | SCpnt->request.sector, |
sector | 2536 | drivers/scsi/scsi.c | req->sector, |
sector | 543 | drivers/scsi/scsi.h | req->dev,req->sector); |
sector | 550 | drivers/scsi/scsi.h | req->sector += bh->b_size >> 9; |
sector | 91 | drivers/scsi/scsi_debug.c | if (SCpnt->request.sector + start != block) panic("Wrong block."); \ |
sector | 93 | drivers/scsi/scsicam.c | cyl = p->cyl + ((p->sector & 0xc0) << 2); |
sector | 249 | drivers/scsi/sd.c | SCpnt->request.sector, this_count); |
sector | 450 | drivers/scsi/sd.c | block = SCpnt->request.sector; |
sector | 154 | drivers/scsi/sr.c | offset = (SCpnt->request.sector % 4) << 9; |
sector | 188 | drivers/scsi/sr.c | if(SCpnt->request.sector % 4) this_count -= 2; |
sector | 203 | drivers/scsi/sr.c | SCpnt->request.sector, this_count); |
sector | 303 | drivers/scsi/sr.c | unsigned long sector,min,sec,frame; |
sector | 331 | drivers/scsi/sr.c | sector = 0; |
sector | 362 | drivers/scsi/sr.c | sector = min*CD_SECS*CD_FRAMES + sec*CD_FRAMES + frame; |
sector | 365 | drivers/scsi/sr.c | if (sector) { |
sector | 366 | drivers/scsi/sr.c | printk("sr_photocd: multisession CD detected. start: %lu\n",sector); |
sector | 405 | drivers/scsi/sr.c | sector = min*CD_SECS*CD_FRAMES + sec*CD_FRAMES + frame; |
sector | 406 | drivers/scsi/sr.c | if (sector) { |
sector | 407 | drivers/scsi/sr.c | sector -= CD_BLOCK_OFFSET; |
sector | 409 | drivers/scsi/sr.c | printk("sr_photocd: multisession CD detected: start: %lu\n",sector); |
sector | 458 | drivers/scsi/sr.c | sector = 0; |
sector | 462 | drivers/scsi/sr.c | scsi_CDs[MINOR(inode->i_rdev)].mpcd_sector = sector; |
sector | 583 | drivers/scsi/sr.c | block = SCpnt->request.sector; |
sector | 659 | drivers/scsi/sr.c | this_count = SCpnt->request.sector % 4; |
sector | 692 | drivers/scsi/sr.c | if(SCpnt->request.sector % 4) { |
sector | 693 | drivers/scsi/sr.c | sgpnt[count].length = (SCpnt->request.sector % 4) << 9; |
sector | 743 | drivers/scsi/sr.c | printk("SR: %d %d %d %d %d *** ",SCpnt->use_sg, SCpnt->request.sector, |
sector | 241 | fs/msdos/fat.c | int msdos_smap(struct inode *inode,int sector) |
sector | 249 | fs/msdos/fat.c | if (sector >= sb->dir_entries >> MSDOS_DPS_BITS) return 0; |
sector | 250 | fs/msdos/fat.c | return sector+sb->dir_start; |
sector | 252 | fs/msdos/fat.c | cluster = sector/sb->cluster_size; |
sector | 253 | fs/msdos/fat.c | offset = sector % sb->cluster_size; |
sector | 133 | fs/msdos/file.c | int sector = msdos_smap(inode,pre->file_sector); |
sector | 134 | fs/msdos/file.c | if (sector != 0){ |
sector | 136 | fs/msdos/file.c | PRINTK (("fsector2 %d -> %d\n",pre->file_sector-1,sector)); |
sector | 138 | fs/msdos/file.c | bh = getblk(inode->i_dev,sector,SECTOR_SIZE); |
sector | 274 | fs/msdos/file.c | int sector,offset,size,left,written; |
sector | 297 | fs/msdos/file.c | while (!(sector = msdos_smap(inode,filp->f_pos >> SECTOR_BITS))) |
sector | 312 | fs/msdos/file.c | if (!(bh = getblk(inode->i_dev,sector,SECTOR_SIZE))){ |
sector | 316 | fs/msdos/file.c | }else if (!(bh = bread(inode->i_dev,sector,SECTOR_SIZE))) { |
sector | 121 | fs/msdos/misc.c | int count,nr,limit,last,current,sector,last_sector,file_cluster; |
sector | 190 | fs/msdos/misc.c | sector = MSDOS_SB(inode->i_sb)->data_start+(nr-2)*cluster_size; |
sector | 191 | fs/msdos/misc.c | last_sector = sector + cluster_size; |
sector | 192 | fs/msdos/misc.c | for ( ; sector < last_sector; sector++) { |
sector | 194 | fs/msdos/misc.c | printk("zeroing sector %d\n",sector); |
sector | 196 | fs/msdos/misc.c | if (!(bh = getblk(inode->i_dev,sector,SECTOR_SIZE))) |
sector | 289 | fs/msdos/misc.c | int sector,offset; |
sector | 294 | fs/msdos/misc.c | if ((sector = msdos_smap(dir,offset >> SECTOR_BITS)) == -1) |
sector | 296 | fs/msdos/misc.c | PRINTK (("get_entry sector %d %p\n",sector,*bh)); |
sector | 297 | fs/msdos/misc.c | if (!sector) |
sector | 303 | fs/msdos/misc.c | if (!(*bh = bread(dir->i_dev,sector,SECTOR_SIZE))) { |
sector | 304 | fs/msdos/misc.c | printk("Directory sread (sector %d) failed\n",sector); |
sector | 310 | fs/msdos/misc.c | return (sector << MSDOS_DPS_BITS)+((offset & (SECTOR_SIZE-1)) >> |
sector | 352 | fs/msdos/misc.c | inode = iget(sb,sector*MSDOS_DPS+entry); \ |
sector | 368 | fs/msdos/misc.c | static int raw_scan_sector(struct super_block *sb,int sector,char *name, |
sector | 377 | fs/msdos/misc.c | if (!(bh = bread(sb->s_dev,sector,SECTOR_SIZE))) return -EIO; |
sector | 389 | fs/msdos/misc.c | if (ino) *ino = sector*MSDOS_DPS+entry; |
sector | 18 | include/linux/blkdev.h | unsigned long sector; |
sector | 17 | include/linux/genhd.h | unsigned char sector; /* starting sector */ |
sector | 134 | include/linux/msdos_fs.h | extern int msdos_smap(struct inode *inode,int sector); |
sector | 123 | include/linux/xd.h | static u_char *xd_build (u_char *cmdblk,u_char command,u_char drive,u_char head,u_short cylinder,u_char sector,u_char count,u_char control); |