taglinefilesource code
sector2090drivers/block/floppy.cblock = current_count_sectors + CURRENT->sector;
sector2100drivers/block/floppy.cCURRENT->sector += CURRENT->current_nr_sectors;
sector2108drivers/block/floppy.cCURRENT->sector += current_count_sectors;
sector2120drivers/block/floppy.cDRWE->first_error_sector = CURRENT->sector;
sector2123drivers/block/floppy.cDRWE->last_error_sector = CURRENT->sector;
sector2365drivers/block/floppy.cTRACK = CURRENT->sector / max_sector;
sector2366drivers/block/floppy.csector_t = CURRENT->sector % max_sector;
sector163drivers/block/hd.cprintk(", sector=%ld", CURRENT->sector);
sector500drivers/block/hd.cCURRENT->sector += nsect;
sector507drivers/block/hd.cdev+'a', CURRENT->sector, CURRENT->sector+nsect,
sector601drivers/block/hd.cCURRENT->sector++;
sector711drivers/block/hd.cblock = CURRENT->sector;
sector517drivers/block/ide-cd.crq->sector -= n;
sector576drivers/block/ide-cd.crq->sector += adj;
sector835drivers/block/ide-cd.cstatic void cdrom_buffer_sectors (ide_drive_t *drive, unsigned long sector,
sector861drivers/block/ide-cd.cinfo->sector_buffered = sector;
sector1005drivers/block/ide-cd.ccdrom_buffer_sectors (drive, rq->sector, sectors_to_transfer);
sector1023drivers/block/ide-cd.c++rq->sector;
sector1051drivers/block/ide-cd.crq->sector >= info->sector_buffered &&
sector1052drivers/block/ide-cd.crq->sector < info->sector_buffered + info->nsectors_buffered)
sector1059drivers/block/ide-cd.c(rq->sector - info->sector_buffered) * SECTOR_SIZE,
sector1064drivers/block/ide-cd.c++rq->sector;
sector1083drivers/block/ide-cd.c(rq->sector % SECTORS_PER_FRAME) != 0)
sector1086drivers/block/ide-cd.cdrive->name, rq->sector);
sector1107drivers/block/ide-cd.cint nsect, sector, nframes, frame, nskip;
sector1113drivers/block/ide-cd.csector = rq->sector;
sector1121drivers/block/ide-cd.cnskip = (sector % SECTORS_PER_FRAME);
sector1133drivers/block/ide-cd.csector -= nskip;
sector1141drivers/block/ide-cd.cframe = sector / SECTORS_PER_FRAME;
sector1170drivers/block/ide-cd.crq->sector = block;
sector2076drivers/block/ide-tape.crq->sector+=rq->current_nr_sectors;
sector2109drivers/block/ide-tape.crq->sector+=rq->current_nr_sectors;
sector2832drivers/block/ide-tape.cprintk ("sector: %ld, nr_sectors: %ld, current_nr_sectors: %ld\n",rq->sector,rq->nr_sectors,rq->current_nr_sectors);
sector3100drivers/block/ide-tape.crq.sector = tape->block_address;
sector3127drivers/block/ide-tape.crq.sector = tape->block_address;
sector3225drivers/block/ide-tape.crq->sector = tape->block_address;  /* Doesn't actually matter - We always assume sequential access */
sector844drivers/block/ide.cprintk(", sector=%ld", HWGROUP(drive)->rq->sector);
sector952drivers/block/ide.cdrive->name, rq->sector, rq->sector+nsect-1,
sector955drivers/block/ide.crq->sector += nsect;
sector981drivers/block/ide.cdrive->name, rq->sector, (unsigned long) rq->buffer,
sector985drivers/block/ide.crq->sector++;
sector1020drivers/block/ide.cdrive->name, rq->sector, (unsigned long) rq->buffer,
sector1338drivers/block/ide.cblock    = rq->sector;
sector1629drivers/block/ide.crq->sector = 0;
sector305drivers/block/ll_rw_blk.cunsigned int sector, count;
sector310drivers/block/ll_rw_blk.csector = bh->b_blocknr * count;
sector312drivers/block/ll_rw_blk.cif (blk_size[major][MINOR(bh->b_dev)] < (sector + count)>>1) {
sector380drivers/block/ll_rw_blk.creq->sector + req->nr_sectors == sector &&
sector394drivers/block/ll_rw_blk.creq->sector - count == sector &&
sector401drivers/block/ll_rw_blk.creq->sector = sector;
sector428drivers/block/ll_rw_blk.creq->sector = sector;
sector443drivers/block/ll_rw_blk.cunsigned long sector = page * (PAGE_SIZE / 512);
sector448drivers/block/ll_rw_blk.ckdevname(dev), sector);
sector468drivers/block/ll_rw_blk.creq->sector = sector;
sector600drivers/block/ll_rw_blk.creq[j]->sector = (b[i] * buffersize) >> 9;
sector111drivers/block/rd.coffset = CURRENT->sector << 9;
sector220drivers/block/xd.c&& CURRENT->sector + CURRENT->nr_sectors
sector222drivers/block/xd.cblock = CURRENT->sector + xd[MINOR(CURRENT->rq_dev)].start_sect;
sector338drivers/block/xd.cu_char head,sector,control,mode,temp;
sector351drivers/block/xd.csector = block % xd_info[drive].sectors;
sector354drivers/block/xd.cprintk("xd_readwrite: drive = %d, head = %d, cylinder = %d, sector = %d, count = %d\n",drive,head,cylinder,sector,temp);
sector358drivers/block/xd.cxd_build(cmdblk,operation == READ ? CMD_READ : CMD_WRITE,drive,head,cylinder,sector,temp & 0xFF,control);
sector432drivers/block/xd.cstatic 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)
sector436drivers/block/xd.ccmdblk[2] = ((cylinder & 0x300) >> 2) | (sector & 0x3F);
sector196drivers/cdrom/aztcd.c&& CURRENT -> sector != -1)
sector965drivers/cdrom/aztcd.cint bn = CURRENT -> sector / 4;
sector970drivers/cdrom/aztcd.cint offs = (i * 4 + (CURRENT -> sector & 3)) * 512;
sector971drivers/cdrom/aztcd.cint nr_sectors = 4 - (CURRENT -> sector & 3);
sector983drivers/cdrom/aztcd.cCURRENT -> sector += nr_sectors;
sector997drivers/cdrom/aztcd.cprintk(" do_aztcd_request(%ld+%ld) Time:%li\n", CURRENT -> sector, CURRENT -> nr_sectors,jiffies);
sector1183drivers/cdrom/aztcd.cazt_next_bn = CURRENT -> sector / 4;
sector1336drivers/cdrom/aztcd.c&& (CURRENT -> sector / 4 < azt_next_bn ||
sector1337drivers/cdrom/aztcd.cCURRENT -> sector / 4 > azt_next_bn + AZT_BUF_SIZ)) {
sector1078drivers/cdrom/cdu31a.cstart_request(unsigned int sector,
sector1087drivers/cdrom/cdu31a.clog_to_msf(sector, params);
sector1097drivers/cdrom/cdu31a.celse if ((sector + nsect) >= sony_toc.lead_out_start_lba)
sector1099drivers/cdrom/cdu31a.cread_size = sony_toc.lead_out_start_lba - sector;
sector1139drivers/cdrom/cdu31a.csony_next_block = sector * 4;
sector1559drivers/cdrom/cdu31a.cblock = CURRENT->sector;
sector156drivers/cdrom/cm206.cush sector[READ_AHEAD*RAW_SECTOR_SIZE/2]; /* buffered cd-sector */
sector465drivers/cdrom/cm206.cinsw(r_fifo_output_buffer, cd->sector, READ_AHEAD*RAW_SECTOR_SIZE/2);
sector590drivers/cdrom/cm206.cinsw(r_fifo_output_buffer, cd->sector + cd->fifo_overflowed, 
sector604drivers/cdrom/cm206.cint try_adapter(int sector)
sector606drivers/cdrom/cm206.cif (cd->adapter_first <= sector && sector < cd->adapter_last) { 
sector608drivers/cdrom/cm206.cempty_buffer(sector - cd->adapter_first);
sector611drivers/cdrom/cm206.celse if (cd->background==1 && cd->adapter_first <= sector
sector612drivers/cdrom/cm206.c&& sector < cd->adapter_first+cd->max_sectors) {
sector615drivers/cdrom/cm206.cwhile (sector >= cd->adapter_last) {
sector617drivers/cdrom/cm206.cdebug(("Timed out during background wait: %d %d %d %d\n", sector, 
sector625drivers/cdrom/cm206.cempty_buffer(sector - cd->adapter_first);
sector651drivers/cdrom/cm206.ccd_sec_no = (CURRENT->sector+i)/4; /* 4 times 512 bytes */
sector652drivers/cdrom/cm206.cquarter = (CURRENT->sector+i) % 4; 
sector656drivers/cdrom/cm206.csource = ((uch *) cd->sector) + 16 + 
sector661drivers/cdrom/cm206.csource =  ((uch *) cd->sector)+16+quarter*512;
sector244drivers/cdrom/gscd.cwhile (CURRENT -> nr_sectors > 0 && gscd_bn == CURRENT -> sector / 4)
sector246drivers/cdrom/gscd.coffs = (CURRENT -> sector & 3) * 512;
sector249drivers/cdrom/gscd.cCURRENT -> sector++;
sector268drivers/cdrom/gscd.cblock = CURRENT->sector;
sector271drivers/cdrom/gscd.cif (CURRENT == NULL || CURRENT -> sector == -1)
sector337drivers/cdrom/gscd.cblock = CURRENT -> sector / 4;
sector349drivers/cdrom/gscd.cgscd_bn = CURRENT -> sector / 4;
sector133drivers/cdrom/mcd.c&& CURRENT -> sector != -1)
sector596drivers/cdrom/mcd.cint bn = CURRENT -> sector / 4;
sector601drivers/cdrom/mcd.cint offs = (i * 4 + (CURRENT -> sector & 3)) * 512;
sector602drivers/cdrom/mcd.cint nr_sectors = 4 - (CURRENT -> sector & 3);
sector614drivers/cdrom/mcd.cCURRENT -> sector += nr_sectors;
sector655drivers/cdrom/mcd.cprintk(" do_mcd_request(%ld+%ld)\n", CURRENT -> sector, CURRENT -> nr_sectors);
sector861drivers/cdrom/mcd.cmcd_next_bn = CURRENT -> sector / 4;
sector935drivers/cdrom/mcd.c&& (CURRENT -> sector / 4 < mcd_next_bn || 
sector936drivers/cdrom/mcd.cCURRENT -> sector / 4 > mcd_next_bn + 16)) {
sector213drivers/cdrom/mcdx.cstatic int mcdx_transfer(struct s_drive_stuff*, char* buf, int sector, int nr_sectors);
sector581drivers/cdrom/mcdx.cCURRENT->sector,
sector585drivers/cdrom/mcdx.cCURRENT->sector += CURRENT->nr_sectors;
sector591drivers/cdrom/mcdx.cCURRENT->sector += i;
sector1215drivers/cdrom/mcdx.cchar *p, int sector, int nr_sectors)
sector1224drivers/cdrom/mcdx.cnr_sectors, sector));
sector1238drivers/cdrom/mcdx.c&& (sector >= stuffp->pending)
sector1239drivers/cdrom/mcdx.c&& (sector < stuffp->off_direct)) {
sector1242drivers/cdrom/mcdx.coff = stuffp->off_requested < (off = sector + nr_sectors)
sector1299drivers/cdrom/mcdx.cif (stuffp->pending == sector) {
sector1302drivers/cdrom/mcdx.csector++;
sector1321drivers/cdrom/mcdx.cstuffp->pending = sector & ~3;
sector676drivers/cdrom/optcd.cint bn = CURRENT -> sector / 4;
sector686drivers/cdrom/optcd.coffs = (i * 4 + (CURRENT -> sector & 3)) * 512;
sector687drivers/cdrom/optcd.cnr_sectors = 4 - (CURRENT -> sector & 3);
sector699drivers/cdrom/optcd.cCURRENT -> sector += nr_sectors;
sector815drivers/cdrom/optcd.copt_next_bn = CURRENT -> sector / 4;
sector925drivers/cdrom/optcd.c&& (CURRENT -> sector / 4 < opt_next_bn ||
sector926drivers/cdrom/optcd.cCURRENT -> sector / 4 >
sector996drivers/cdrom/optcd.cCURRENT -> sector, CURRENT -> nr_sectors);
sector4284drivers/cdrom/sbpcd.c(CURRENT->sector/4 >= D_S[d].sbp_first_frame) &&
sector4285drivers/cdrom/sbpcd.c(CURRENT->sector/4 <= D_S[d].sbp_last_frame) )
sector4287drivers/cdrom/sbpcd.coffs = (CURRENT->sector - D_S[d].sbp_first_frame * 4) * 512;
sector4290drivers/cdrom/sbpcd.cCURRENT->sector++;
sector4310drivers/cdrom/sbpcd.cif (CURRENT -> sector == -1)
sector4330drivers/cdrom/sbpcd.cblock = CURRENT->sector; /* always numbered as 512-byte-pieces */
sector4398drivers/cdrom/sbpcd.cblock=CURRENT->sector/4;
sector4747drivers/cdrom/sbpcd.cD_S[d].sbp_first_frame = CURRENT -> sector / 4;
sector981drivers/cdrom/sjcd.cCURRENT->cmd == READ && CURRENT->sector != -1 )
sector989drivers/cdrom/sjcd.cint i, bn = CURRENT->sector / 4;
sector992drivers/cdrom/sjcd.cint offs = ( i * 4 + ( CURRENT->sector & 3 ) ) * 512;
sector993drivers/cdrom/sjcd.cint nr_sectors = 4 - ( CURRENT->sector & 3 );
sector1008drivers/cdrom/sjcd.cCURRENT->sector += nr_sectors;
sector1125drivers/cdrom/sjcd.csjcd_next_bn = CURRENT->sector / 4;
sector1241drivers/cdrom/sjcd.c( CURRENT->sector / 4 < sjcd_next_bn ||
sector1242drivers/cdrom/sjcd.cCURRENT->sector / 4 > sjcd_next_bn + SJCD_BUF_SIZ ) ){
sector1330drivers/cdrom/sjcd.cCURRENT->sector, CURRENT->nr_sectors );
sector808drivers/cdrom/sonycd535.cblock = CURRENT->sector;
sector906drivers/scsi/scsi.creq->sector += bh->b_size >> 9;
sector1056drivers/scsi/scsi.creq->sector += bh->b_size >> 9;
sector2199drivers/scsi/scsi.cunsigned int page, sector, nbits, mask;
sector2211drivers/scsi/scsi.csector = (((unsigned long) obj) - page_addr) >> 9;
sector2216drivers/scsi/scsi.cif ((mask << sector) >= (1 << SECTORS_PER_PAGE))
sector2221drivers/scsi/scsi.cif((dma_malloc_freelist[page] & (mask << sector)) != (mask<<sector))
sector2225drivers/scsi/scsi.cdma_malloc_freelist[page] &= ~(mask << sector);
sector3081drivers/scsi/scsi.cSCpnt->request.sector,
sector3108drivers/scsi/scsi.creq->sector,
sector467drivers/scsi/scsi.hkdevname(req->rq_dev), req->sector);
sector474drivers/scsi/scsi.hreq->sector += bh->b_size >> 9;
sector104drivers/scsi/scsi_debug.cif (SCpnt->request.sector + start != block) panic("Wrong block.");  \
sector102drivers/scsi/scsicam.ccyl = p->cyl + ((p->sector & 0xc0) << 2);
sector290drivers/scsi/sd.cSCpnt->request.sector, this_count);
sector525drivers/scsi/sd.cblock = SCpnt->request.sector;
sector163drivers/scsi/sr.coffset = (SCpnt->request.sector % 4) << 9;
sector197drivers/scsi/sr.cif(SCpnt->request.sector % 4) this_count -= 2;
sector212drivers/scsi/sr.cSCpnt->request.sector, this_count);
sector319drivers/scsi/sr.cunsigned long   sector,min,sec,frame;
sector347drivers/scsi/sr.csector   = 0;
sector378drivers/scsi/sr.csector = min*CD_SECS*CD_FRAMES + sec*CD_FRAMES + frame;
sector381drivers/scsi/sr.cif (sector) {
sector382drivers/scsi/sr.cprintk("sr_photocd: multisession CD detected. start: %lu\n",sector);
sector421drivers/scsi/sr.csector = min*CD_SECS*CD_FRAMES + sec*CD_FRAMES + frame;
sector422drivers/scsi/sr.cif (sector) {
sector423drivers/scsi/sr.csector -= CD_BLOCK_OFFSET;
sector425drivers/scsi/sr.cprintk("sr_photocd: multisession CD detected: start: %lu\n",sector);
sector494drivers/scsi/sr.csector = rec[11] + (rec[10] << 8) + (rec[9] << 16) + (rec[8] << 24);
sector495drivers/scsi/sr.cis_xa = !!sector;
sector497drivers/scsi/sr.cif (sector)
sector498drivers/scsi/sr.cprintk ("sr_photocd: multisession CD detected. start: %lu\n",sector);
sector505drivers/scsi/sr.csector = 0;
sector509drivers/scsi/sr.cscsi_CDs[MINOR(inode->i_rdev)].mpcd_sector = sector;
sector655drivers/scsi/sr.cblock = SCpnt->request.sector;  
sector730drivers/scsi/sr.cthis_count = SCpnt->request.sector % 4;
sector763drivers/scsi/sr.cif(SCpnt->request.sector % 4) {
sector764drivers/scsi/sr.csgpnt[count].length = (SCpnt->request.sector % 4) << 9;
sector814drivers/scsi/sr.cprintk("SR: %d %d %d %d %d *** ",SCpnt->use_sg, SCpnt->request.sector,
sector242fs/msdos/fat.cint msdos_smap(struct inode *inode,int sector)
sector250fs/msdos/fat.cif (sector >= sb->dir_entries >> MSDOS_DPS_BITS) return 0;
sector251fs/msdos/fat.creturn sector+sb->dir_start;
sector253fs/msdos/fat.ccluster = sector/sb->cluster_size;
sector254fs/msdos/fat.coffset = sector % sb->cluster_size;
sector133fs/msdos/file.cint sector = msdos_smap(inode,pre->file_sector);
sector134fs/msdos/file.cif (sector != 0){
sector136fs/msdos/file.cPRINTK (("fsector2 %d -> %d\n",pre->file_sector-1,sector));
sector138fs/msdos/file.cbh = getblk(inode->i_dev,sector,SECTOR_SIZE);
sector274fs/msdos/file.cint sector,offset,size,left,written;
sector300fs/msdos/file.cwhile (!(sector = msdos_smap(inode,filp->f_pos >> SECTOR_BITS)))
sector315fs/msdos/file.cif (!(bh = getblk(inode->i_dev,sector,SECTOR_SIZE))){
sector319fs/msdos/file.c}else if (!(bh = bread(inode->i_dev,sector,SECTOR_SIZE))) {
sector119fs/msdos/misc.cint count,nr,limit,last,curr,sector,last_sector,file_cluster;
sector188fs/msdos/misc.csector = MSDOS_SB(inode->i_sb)->data_start+(nr-2)*cluster_size;
sector189fs/msdos/misc.clast_sector = sector + cluster_size;
sector190fs/msdos/misc.cfor ( ; sector < last_sector; sector++) {
sector192fs/msdos/misc.cprintk("zeroing sector %d\n",sector);
sector194fs/msdos/misc.cif (!(bh = getblk(inode->i_dev,sector,SECTOR_SIZE)))
sector287fs/msdos/misc.cint sector,offset;
sector292fs/msdos/misc.cif ((sector = msdos_smap(dir,offset >> SECTOR_BITS)) == -1)
sector294fs/msdos/misc.cPRINTK (("get_entry sector %d %p\n",sector,*bh));
sector295fs/msdos/misc.cif (!sector)
sector301fs/msdos/misc.cif (!(*bh = bread(dir->i_dev,sector,SECTOR_SIZE))) {
sector302fs/msdos/misc.cprintk("Directory sread (sector %d) failed\n",sector);
sector308fs/msdos/misc.creturn (sector << MSDOS_DPS_BITS)+((offset & (SECTOR_SIZE-1)) >>
sector350fs/msdos/misc.cinode = iget(sb,sector*MSDOS_DPS+entry); \
sector366fs/msdos/misc.cstatic int raw_scan_sector(struct super_block *sb,int sector,const char *name,
sector375fs/msdos/misc.cif (!(bh = bread(sb->s_dev,sector,SECTOR_SIZE))) return -EIO;
sector394fs/msdos/misc.cif (ino) *ino = sector*MSDOS_DPS+entry;
sector23include/linux/blk.h(s1)->sector < (s2)->sector)))))
sector359include/linux/blk.hkdevname(req->rq_dev), req->sector);
sector362include/linux/blk.hreq->sector += (BLOCK_SIZE / 512);
sector363include/linux/blk.hreq->sector &= ~SECTOR_MASK;    
sector25include/linux/blkdev.hunsigned long sector;
sector35include/linux/genhd.hunsigned char sector;    /* starting sector */
sector139include/linux/msdos_fs.hextern int msdos_smap(struct inode *inode,int sector);
sector174include/linux/optcd.h&& CURRENT -> cmd == READ && CURRENT -> sector != -1)
sector122include/linux/xd.hstatic 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);