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;
sector491drivers/block/ide-cd.crq->sector -= n;
sector553drivers/block/ide-cd.crq->sector = 0;
sector583drivers/block/ide-cd.crq->sector += adj;
sector843drivers/block/ide-cd.cstatic void cdrom_buffer_sectors (ide_drive_t *drive, unsigned long sector,
sector869drivers/block/ide-cd.cinfo->sector_buffered = sector;
sector1016drivers/block/ide-cd.ccdrom_buffer_sectors (drive, rq->sector, sectors_to_transfer);
sector1034drivers/block/ide-cd.c++rq->sector;
sector1062drivers/block/ide-cd.crq->sector >= info->sector_buffered &&
sector1063drivers/block/ide-cd.crq->sector < info->sector_buffered + info->nsectors_buffered)
sector1070drivers/block/ide-cd.c(rq->sector - info->sector_buffered) * SECTOR_SIZE,
sector1075drivers/block/ide-cd.c++rq->sector;
sector1094drivers/block/ide-cd.c(rq->sector % SECTORS_PER_FRAME) != 0)
sector1097drivers/block/ide-cd.cdrive->name, rq->sector);
sector1118drivers/block/ide-cd.cint nsect, sector, nframes, frame, nskip;
sector1124drivers/block/ide-cd.csector = rq->sector;
sector1132drivers/block/ide-cd.cnskip = (sector % SECTORS_PER_FRAME);
sector1145drivers/block/ide-cd.csector -= nskip;
sector1153drivers/block/ide-cd.cframe = sector / SECTORS_PER_FRAME;
sector1420drivers/block/ide-cd.creq.sector = 0;
sector840drivers/block/ide.cprintk(", sector=%ld", HWGROUP(drive)->rq->sector);
sector953drivers/block/ide.cdrive->name, rq->sector, rq->sector+nsect-1,
sector956drivers/block/ide.crq->sector += nsect;
sector983drivers/block/ide.cdrive->name, rq->sector, (unsigned long) rq->buffer,
sector987drivers/block/ide.crq->sector++;
sector1026drivers/block/ide.cdrive->name, rq->sector, (unsigned long) rq->buffer,
sector1349drivers/block/ide.cblock    = rq->sector;
sector1641drivers/block/ide.crq.sector = 0;
sector301drivers/block/ll_rw_blk.cunsigned int sector, count;
sector321drivers/block/ll_rw_blk.csector = bh->b_blocknr * count;
sector323drivers/block/ll_rw_blk.cif (blk_size[major][MINOR(bh->b_dev)] < (sector + count)>>1) {
sector371drivers/block/ll_rw_blk.creq->sector + req->nr_sectors == sector &&
sector385drivers/block/ll_rw_blk.creq->sector - count == sector &&
sector392drivers/block/ll_rw_blk.creq->sector = sector;
sector419drivers/block/ll_rw_blk.creq->sector = sector;
sector434drivers/block/ll_rw_blk.cunsigned long sector = page * (PAGE_SIZE / 512);
sector439drivers/block/ll_rw_blk.ckdevname(dev), sector);
sector453drivers/block/ll_rw_blk.creq->sector = sector;
sector585drivers/block/ll_rw_blk.creq[j]->sector = (b[i] * buffersize) >> 9;
sector40drivers/block/ramdisk.caddr = rd_start + (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);
sector189drivers/cdrom/aztcd.c&& CURRENT -> sector != -1)
sector961drivers/cdrom/aztcd.cint bn = CURRENT -> sector / 4;
sector966drivers/cdrom/aztcd.cint offs = (i * 4 + (CURRENT -> sector & 3)) * 512;
sector967drivers/cdrom/aztcd.cint nr_sectors = 4 - (CURRENT -> sector & 3);
sector979drivers/cdrom/aztcd.cCURRENT -> sector += nr_sectors;
sector993drivers/cdrom/aztcd.cprintk(" do_aztcd_request(%ld+%ld) Time:%li\n", CURRENT -> sector, CURRENT -> nr_sectors,jiffies);
sector1178drivers/cdrom/aztcd.cazt_next_bn = CURRENT -> sector / 4;
sector1315drivers/cdrom/aztcd.c&& (CURRENT -> sector / 4 < azt_next_bn ||
sector1316drivers/cdrom/aztcd.cCURRENT -> sector / 4 > azt_next_bn + AZT_BUF_SIZ)) {
sector1079drivers/cdrom/cdu31a.cstart_request(unsigned int sector,
sector1088drivers/cdrom/cdu31a.clog_to_msf(sector, params);
sector1098drivers/cdrom/cdu31a.celse if ((sector + nsect) >= sony_toc.lead_out_start_lba)
sector1100drivers/cdrom/cdu31a.cread_size = sony_toc.lead_out_start_lba - sector;
sector1140drivers/cdrom/cdu31a.csony_next_block = sector * 4;
sector1560drivers/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);
sector4283drivers/cdrom/sbpcd.c(CURRENT->sector/4 >= D_S[d].sbp_first_frame) &&
sector4284drivers/cdrom/sbpcd.c(CURRENT->sector/4 <= D_S[d].sbp_last_frame) )
sector4286drivers/cdrom/sbpcd.coffs = (CURRENT->sector - D_S[d].sbp_first_frame * 4) * 512;
sector4289drivers/cdrom/sbpcd.cCURRENT->sector++;
sector4309drivers/cdrom/sbpcd.cif (CURRENT -> sector == -1)
sector4329drivers/cdrom/sbpcd.cblock = CURRENT->sector; /* always numbered as 512-byte-pieces */
sector4397drivers/cdrom/sbpcd.cblock=CURRENT->sector/4;
sector4746drivers/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 );
sector806drivers/cdrom/sonycd535.cblock = CURRENT->sector;
sector886drivers/scsi/scsi.creq->sector += bh->b_size >> 9;
sector1036drivers/scsi/scsi.creq->sector += bh->b_size >> 9;
sector2175drivers/scsi/scsi.cint page, sector, nbits, mask;
sector2194drivers/scsi/scsi.csector = offset >> 9;
sector2195drivers/scsi/scsi.cif(sector >= dma_sectors) panic ("Bad page");
sector2197drivers/scsi/scsi.csector = (offset >> 9) & (sizeof(*dma_malloc_freelist) * 8 - 1);
sector2201drivers/scsi/scsi.cif ((mask << sector) > 0xffff) panic ("Bad memory alignment");
sector2205drivers/scsi/scsi.cif((dma_malloc_freelist[page] & (mask << sector)) != (mask<<sector))
sector2209drivers/scsi/scsi.cdma_malloc_freelist[page] &= ~(mask << sector);
sector3044drivers/scsi/scsi.cSCpnt->request.sector,
sector3071drivers/scsi/scsi.creq->sector,
sector466drivers/scsi/scsi.hkdevname(req->rq_dev), req->sector);
sector473drivers/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;
sector129fs/msdos/file.cint sector = msdos_smap(inode,pre->file_sector);
sector130fs/msdos/file.cif (sector != 0){
sector132fs/msdos/file.cPRINTK (("fsector2 %d -> %d\n",pre->file_sector-1,sector));
sector134fs/msdos/file.cbh = getblk(inode->i_dev,sector,SECTOR_SIZE);
sector270fs/msdos/file.cint sector,offset,size,left,written;
sector296fs/msdos/file.cwhile (!(sector = msdos_smap(inode,filp->f_pos >> SECTOR_BITS)))
sector311fs/msdos/file.cif (!(bh = getblk(inode->i_dev,sector,SECTOR_SIZE))){
sector315fs/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)))))
sector355include/linux/blk.hkdevname(req->rq_dev), req->sector);
sector358include/linux/blk.hreq->sector += (BLOCK_SIZE / 512);
sector359include/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);