taglinefilesource code
sector2091drivers/block/floppy.cblock = current_count_sectors + CURRENT->sector;
sector2101drivers/block/floppy.cCURRENT->sector += CURRENT->current_nr_sectors;
sector2109drivers/block/floppy.cCURRENT->sector += current_count_sectors;
sector2121drivers/block/floppy.cDRWE->first_error_sector = CURRENT->sector;
sector2124drivers/block/floppy.cDRWE->last_error_sector = CURRENT->sector;
sector2366drivers/block/floppy.cTRACK = CURRENT->sector / max_sector;
sector2367drivers/block/floppy.csector_t = CURRENT->sector % max_sector;
sector281drivers/block/genhd.cif (NR_SECTS(q) && q->sector == 1 && q->end_sector == 63) {
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;
sector535drivers/block/ide-cd.crq->sector -= n;
sector594drivers/block/ide-cd.crq->sector += adj;
sector853drivers/block/ide-cd.cstatic void cdrom_buffer_sectors (ide_drive_t *drive, unsigned long sector,
sector879drivers/block/ide-cd.cinfo->sector_buffered = sector;
sector1023drivers/block/ide-cd.ccdrom_buffer_sectors (drive, rq->sector, sectors_to_transfer);
sector1041drivers/block/ide-cd.c++rq->sector;
sector1069drivers/block/ide-cd.crq->sector >= info->sector_buffered &&
sector1070drivers/block/ide-cd.crq->sector < info->sector_buffered + info->nsectors_buffered)
sector1077drivers/block/ide-cd.c(rq->sector - info->sector_buffered) * SECTOR_SIZE,
sector1082drivers/block/ide-cd.c++rq->sector;
sector1101drivers/block/ide-cd.c(rq->sector % SECTORS_PER_FRAME) != 0)
sector1104drivers/block/ide-cd.cdrive->name, rq->sector);
sector1125drivers/block/ide-cd.cint nsect, sector, nframes, frame, nskip;
sector1131drivers/block/ide-cd.csector = rq->sector;
sector1139drivers/block/ide-cd.cnskip = (sector % SECTORS_PER_FRAME);
sector1151drivers/block/ide-cd.csector -= nskip;
sector1159drivers/block/ide-cd.cframe = sector / SECTORS_PER_FRAME;
sector1192drivers/block/ide-cd.crq->sector = block;
sector2900drivers/block/ide-tape.cprintk ("sector: %ld, nr_sectors: %ld, current_nr_sectors: %ld\n",rq->sector,rq->nr_sectors,rq->current_nr_sectors);
sector3178drivers/block/ide-tape.crq.sector = tape->block_address;
sector3205drivers/block/ide-tape.crq.sector = tape->block_address;
sector3307drivers/block/ide-tape.crq->sector = tape->block_address;  /* Doesn't actually matter - We always assume sequential access */
sector822drivers/block/ide.cprintk(", sector=%ld", HWGROUP(drive)->rq->sector);
sector932drivers/block/ide.cdrive->name, rq->sector, rq->sector+nsect-1,
sector935drivers/block/ide.crq->sector += nsect;
sector961drivers/block/ide.cdrive->name, rq->sector, (unsigned long) rq->buffer,
sector965drivers/block/ide.crq->sector++;
sector1000drivers/block/ide.cdrive->name, rq->sector, (unsigned long) rq->buffer,
sector1324drivers/block/ide.cblock    = rq->sector;
sector1621drivers/block/ide.crq->sector = 0;
sector120drivers/block/linear.cblock=req->sector >> 1;
sector140drivers/block/linear.creq->sector=rblock << 1;
sector160drivers/block/linear.cpending[queue].sector=rblock << 1;
sector168drivers/block/linear.creq->sector+=nblk << 1;
sector287drivers/block/ll_rw_blk.cunsigned int sector, count;
sector292drivers/block/ll_rw_blk.csector = bh->b_blocknr * count;
sector294drivers/block/ll_rw_blk.cif (blk_size[major][MINOR(bh->b_dev)] < (sector + count)>>1) {
sector365drivers/block/ll_rw_blk.creq->sector + req->nr_sectors == sector &&
sector380drivers/block/ll_rw_blk.creq->sector - count == sector &&
sector387drivers/block/ll_rw_blk.creq->sector = sector;
sector417drivers/block/ll_rw_blk.creq->sector = sector;
sector597drivers/block/ll_rw_blk.creq[j]->sector = (b[i] * buffersize) >> 9;
sector177drivers/block/loop.cblock = CURRENT->sector * (512/blksize);
sector180drivers/block/loop.cblock = CURRENT->sector / (blksize >> 9);
sector181drivers/block/loop.coffset = CURRENT->sector % (blksize >> 9);
sector483drivers/block/md.creq->sector + req->nr_sectors == pending[i].sector &&
sector497drivers/block/md.creq->sector - pending[i].nr_sectors == pending[i].sector &&
sector504drivers/block/md.creq->sector = pending[i].sector;
sector526drivers/block/md.creq->sector = pending[i].sector;
sector197drivers/block/raid0.cblock=req->sector >> 1;
sector218drivers/block/raid0.creq->sector=rblock << 1;
sector245drivers/block/raid0.cpending[queue].sector=rblock << 1;
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;
sector968drivers/cdrom/optcd.c&& CURRENT -> cmd == READ && CURRENT -> sector != -1)
sector1001drivers/cdrom/optcd.cint bn = CURRENT -> sector / 4;
sector1012drivers/cdrom/optcd.coffs = (i * 4 + (CURRENT -> sector & 3)) * 512;
sector1013drivers/cdrom/optcd.cnr_sectors = 4 - (CURRENT -> sector & 3);
sector1027drivers/cdrom/optcd.cCURRENT -> sector += nr_sectors;
sector1157drivers/cdrom/optcd.cnext_bn = CURRENT -> sector / 4;
sector1273drivers/cdrom/optcd.c&& (CURRENT -> sector / 4 < next_bn ||
sector1274drivers/cdrom/optcd.cCURRENT -> sector / 4 >
sector1349drivers/cdrom/optcd.cCURRENT -> sector, CURRENT -> nr_sectors));
sector4396drivers/cdrom/sbpcd.c(CURRENT->sector/4 >= D_S[d].sbp_first_frame) &&
sector4397drivers/cdrom/sbpcd.c(CURRENT->sector/4 <= D_S[d].sbp_last_frame) )
sector4399drivers/cdrom/sbpcd.coffs = (CURRENT->sector - D_S[d].sbp_first_frame * 4) * 512;
sector4402drivers/cdrom/sbpcd.cCURRENT->sector++;
sector4422drivers/cdrom/sbpcd.cif (CURRENT -> sector == -1)
sector4442drivers/cdrom/sbpcd.cblock = CURRENT->sector; /* always numbered as 512-byte-pieces */
sector4510drivers/cdrom/sbpcd.cblock=CURRENT->sector/4;
sector4871drivers/cdrom/sbpcd.cD_S[d].sbp_first_frame = CURRENT -> sector / 4;
sector921drivers/cdrom/sjcd.cCURRENT->cmd == READ && CURRENT->sector != -1 )
sector929drivers/cdrom/sjcd.cint i, bn = CURRENT->sector / 4;
sector932drivers/cdrom/sjcd.cint offs = ( i * 4 + ( CURRENT->sector & 3 ) ) * 512;
sector933drivers/cdrom/sjcd.cint nr_sectors = 4 - ( CURRENT->sector & 3 );
sector948drivers/cdrom/sjcd.cCURRENT->sector += nr_sectors;
sector1065drivers/cdrom/sjcd.csjcd_next_bn = CURRENT->sector / 4;
sector1181drivers/cdrom/sjcd.c( CURRENT->sector / 4 < sjcd_next_bn ||
sector1182drivers/cdrom/sjcd.cCURRENT->sector / 4 > sjcd_next_bn + SJCD_BUF_SIZ ) ){
sector1270drivers/cdrom/sjcd.cCURRENT->sector, CURRENT->nr_sectors );
sector808drivers/cdrom/sonycd535.cblock = CURRENT->sector;
sector912drivers/scsi/scsi.creq->sector += bh->b_size >> 9;
sector1062drivers/scsi/scsi.creq->sector += bh->b_size >> 9;
sector2205drivers/scsi/scsi.cunsigned int page, sector, nbits, mask;
sector2217drivers/scsi/scsi.csector = (((unsigned long) obj) - page_addr) >> 9;
sector2222drivers/scsi/scsi.cif ((mask << sector) >= (1 << SECTORS_PER_PAGE))
sector2227drivers/scsi/scsi.cif((dma_malloc_freelist[page] & (mask << sector)) != (mask<<sector))
sector2231drivers/scsi/scsi.cdma_malloc_freelist[page] &= ~(mask << sector);
sector3090drivers/scsi/scsi.cSCpnt->request.sector,
sector3117drivers/scsi/scsi.creq->sector,
sector467drivers/scsi/scsi.hkdevname(req->rq_dev), req->sector);
sector474drivers/scsi/scsi.hreq->sector += bh->b_size >> 9;
sector101drivers/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/fat/cache.cint fat_smap(struct inode *inode,int sector)
sector250fs/fat/cache.cif (sector >= sb->dir_entries >> MSDOS_DPS_BITS) return 0;
sector251fs/fat/cache.creturn sector+sb->dir_start;
sector253fs/fat/cache.ccluster = sector/sb->cluster_size;
sector254fs/fat/cache.coffset = sector % sb->cluster_size;
sector134fs/fat/file.cint sector = fat_smap(inode,pre->file_sector);
sector135fs/fat/file.cif (sector != 0){
sector137fs/fat/file.cPRINTK (("fsector2 %d -> %d\n",pre->file_sector-1,sector));
sector139fs/fat/file.cbh = getblk(inode->i_dev,sector,SECTOR_SIZE);
sector275fs/fat/file.cint sector,offset,size,left,written;
sector301fs/fat/file.cwhile (!(sector = fat_smap(inode,filp->f_pos >> SECTOR_BITS)))
sector316fs/fat/file.cif (!(bh = getblk(inode->i_dev,sector,SECTOR_SIZE))){
sector320fs/fat/file.c}else if (!(bh = bread(inode->i_dev,sector,SECTOR_SIZE))) {
sector119fs/fat/misc.cint count,nr,limit,last,curr,sector,last_sector,file_cluster;
sector188fs/fat/misc.csector = MSDOS_SB(inode->i_sb)->data_start+(nr-2)*cluster_size;
sector189fs/fat/misc.clast_sector = sector + cluster_size;
sector190fs/fat/misc.cfor ( ; sector < last_sector; sector++) {
sector192fs/fat/misc.cprintk("zeroing sector %d\n",sector);
sector194fs/fat/misc.cif (!(bh = getblk(inode->i_dev,sector,SECTOR_SIZE)))
sector287fs/fat/misc.cint sector,offset;
sector292fs/fat/misc.cif ((sector = fat_smap(dir,offset >> SECTOR_BITS)) == -1)
sector294fs/fat/misc.cPRINTK (("get_entry sector %d %p\n",sector,*bh));
sector295fs/fat/misc.cif (!sector)
sector301fs/fat/misc.cif (!(*bh = bread(dir->i_dev,sector,SECTOR_SIZE))) {
sector302fs/fat/misc.cprintk("Directory sread (sector %d) failed\n",sector);
sector308fs/fat/misc.creturn (sector << MSDOS_DPS_BITS)+((offset & (SECTOR_SIZE-1)) >>
sector350fs/fat/misc.cinode = iget(sb,sector*MSDOS_DPS+entry); \
sector366fs/fat/misc.cstatic int raw_scan_sector(struct super_block *sb,int sector,const char *name,
sector375fs/fat/misc.cif (!(bh = bread(sb->s_dev,sector,SECTOR_SIZE))) return -EIO;
sector394fs/fat/misc.cif (ino) *ino = sector*MSDOS_DPS+entry;
sector23include/linux/blk.h(s1)->sector < (s2)->sector)))
sector385include/linux/blk.hkdevname(req->rq_dev), req->sector);
sector388include/linux/blk.hreq->sector += (BLOCK_SIZE / 512);
sector389include/linux/blk.hreq->sector &= ~SECTOR_MASK;    
sector439include/linux/blk.hreq->sector += req->current_nr_sectors;
sector25include/linux/blkdev.hunsigned long sector;
sector35include/linux/genhd.hunsigned char sector;    /* starting sector */
sector188include/linux/msdos_fs.hextern int fat_smap(struct inode *inode,int sector);
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);