taglinefilesource code
sector188drivers/block/aztcd.c&& CURRENT -> sector != -1)
sector864drivers/block/aztcd.cint bn = CURRENT -> sector / 4;
sector869drivers/block/aztcd.cint offs = (i * 4 + (CURRENT -> sector & 3)) * 512;
sector870drivers/block/aztcd.cint nr_sectors = 4 - (CURRENT -> sector & 3);
sector882drivers/block/aztcd.cCURRENT -> sector += nr_sectors;
sector896drivers/block/aztcd.cprintk(" do_aztcd_request(%ld+%ld) Time:%li\n", CURRENT -> sector, CURRENT -> nr_sectors,jiffies);
sector1071drivers/block/aztcd.cazt_next_bn = CURRENT -> sector / 4;
sector1202drivers/block/aztcd.c&& (CURRENT -> sector / 4 < azt_next_bn ||
sector1203drivers/block/aztcd.cCURRENT -> sector / 4 > azt_next_bn + AZT_BUF_SIZ)) {
sector23drivers/block/blk.h(s1)->sector < (s2)->sector)))))
sector348drivers/block/blk.h(unsigned long)req->dev, req->sector);
sector351drivers/block/blk.hreq->sector += (BLOCK_SIZE / 512);
sector352drivers/block/blk.hreq->sector &= ~SECTOR_MASK;    
sector1002drivers/block/cdu31a.cstart_request(unsigned int sector,
sector1011drivers/block/cdu31a.clog_to_msf(sector, params);
sector1021drivers/block/cdu31a.celse if ((sector + nsect) >= sony_toc->lead_out_start_lba)
sector1023drivers/block/cdu31a.cread_size = sony_toc->lead_out_start_lba - sector;
sector1063drivers/block/cdu31a.csony_next_block = sector * 4;
sector1464drivers/block/cdu31a.cblock = CURRENT->sector;
sector165drivers/block/cm206.cush sector[READ_AHEAD*RAW_SECTOR_SIZE/2]; /* buffered cd-sector */
sector474drivers/block/cm206.cinsw(r_fifo_output_buffer, cd->sector, READ_AHEAD*RAW_SECTOR_SIZE/2);
sector599drivers/block/cm206.cinsw(r_fifo_output_buffer, cd->sector + cd->fifo_overflowed, 
sector613drivers/block/cm206.cint try_adapter(int sector)
sector615drivers/block/cm206.cif (cd->adapter_first <= sector && sector < cd->adapter_last) { 
sector617drivers/block/cm206.cempty_buffer(sector - cd->adapter_first);
sector620drivers/block/cm206.celse if (cd->background==1 && cd->adapter_first <= sector
sector621drivers/block/cm206.c&& sector < cd->adapter_first+cd->max_sectors) {
sector624drivers/block/cm206.cwhile (sector >= cd->adapter_last) {
sector626drivers/block/cm206.cdebug(("Timed out during background wait: %d %d %d %d\n", sector, 
sector634drivers/block/cm206.cempty_buffer(sector - cd->adapter_first);
sector659drivers/block/cm206.ccd_sec_no = (CURRENT->sector+i)/4; /* 4 times 512 bytes */
sector660drivers/block/cm206.cquarter = (CURRENT->sector+i) % 4; 
sector664drivers/block/cm206.csource = ((uch *) cd->sector) + 16 + 
sector669drivers/block/cm206.csource =  ((uch *) cd->sector)+16+quarter*512;
sector2121drivers/block/floppy.cblock = current_count_sectors + CURRENT->sector;
sector2132drivers/block/floppy.cCURRENT->sector += CURRENT->current_nr_sectors;
sector2140drivers/block/floppy.cCURRENT->sector += current_count_sectors;
sector2152drivers/block/floppy.cDRWE->first_error_sector = CURRENT->sector;
sector2155drivers/block/floppy.cDRWE->last_error_sector = CURRENT->sector;
sector2402drivers/block/floppy.cTRACK = CURRENT->sector / max_sector;
sector2403drivers/block/floppy.csector_t = CURRENT->sector % max_sector;
sector252drivers/block/gscd.cwhile (CURRENT -> nr_sectors > 0 && gscd_bn == CURRENT -> sector / 4)
sector254drivers/block/gscd.coffs = (CURRENT -> sector & 3) * 512;
sector257drivers/block/gscd.cCURRENT -> sector++;
sector276drivers/block/gscd.cblock = CURRENT->sector;
sector279drivers/block/gscd.cif (CURRENT == NULL || CURRENT -> sector == -1)
sector345drivers/block/gscd.cblock = CURRENT -> sector / 4;
sector357drivers/block/gscd.cgscd_bn = CURRENT -> sector / 4;
sector165drivers/block/hd.cprintk(", sector=%ld", CURRENT->sector);
sector502drivers/block/hd.cCURRENT->sector += nsect;
sector509drivers/block/hd.cdev+'a', CURRENT->sector, CURRENT->sector+nsect,
sector603drivers/block/hd.cCURRENT->sector++;
sector713drivers/block/hd.cblock = CURRENT->sector;
sector455drivers/block/ide-cd.crq->sector -= n;
sector501drivers/block/ide-cd.crq->sector = 0;
sector531drivers/block/ide-cd.crq->sector += adj;
sector740drivers/block/ide-cd.cstatic void cdrom_buffer_sectors (ide_dev_t *dev, unsigned long sector,
sector766drivers/block/ide-cd.cinfo->sector_buffered = sector;
sector913drivers/block/ide-cd.ccdrom_buffer_sectors (dev, rq->sector, sectors_to_transfer);
sector931drivers/block/ide-cd.c++rq->sector;
sector959drivers/block/ide-cd.crq->sector >= info->sector_buffered &&
sector960drivers/block/ide-cd.crq->sector < info->sector_buffered + info->nsectors_buffered)
sector967drivers/block/ide-cd.c(rq->sector - info->sector_buffered) * SECTOR_SIZE,
sector972drivers/block/ide-cd.c++rq->sector;
sector991drivers/block/ide-cd.c(rq->sector % SECTORS_PER_FRAME) != 0)
sector994drivers/block/ide-cd.cdev->name, rq->sector);
sector1015drivers/block/ide-cd.cint nsect, sector, nframes, frame, nskip;
sector1021drivers/block/ide-cd.csector = rq->sector;
sector1029drivers/block/ide-cd.cnskip = (sector % SECTORS_PER_FRAME);
sector1042drivers/block/ide-cd.csector -= nskip;
sector1050drivers/block/ide-cd.cframe = sector / SECTORS_PER_FRAME;
sector1300drivers/block/ide-cd.creq.sector = 0;
sector649drivers/block/ide.cprintk(", sector=%ld", ide_cur_rq[HWIF]->sector);
sector734drivers/block/ide.cdev->name, rq->sector, rq->sector+nsect-1,
sector737drivers/block/ide.crq->sector += nsect;
sector762drivers/block/ide.cdev->name, rq->sector, (unsigned long) rq->buffer,
sector766drivers/block/ide.crq->sector++;
sector801drivers/block/ide.cdev->name, rq->sector, (unsigned long) rq->buffer,
sector1148drivers/block/ide.cblock    = rq->sector;
sector1455drivers/block/ide.crq.sector = 0;
sector283drivers/block/ll_rw_blk.cunsigned int sector, count;
sector303drivers/block/ll_rw_blk.csector = bh->b_blocknr * count;
sector305drivers/block/ll_rw_blk.cif (blk_size[major][MINOR(bh->b_dev)] < (sector + count)>>1) {
sector350drivers/block/ll_rw_blk.creq->sector + req->nr_sectors == sector &&
sector364drivers/block/ll_rw_blk.creq->sector - count == sector &&
sector371drivers/block/ll_rw_blk.creq->sector = sector;
sector398drivers/block/ll_rw_blk.creq->sector = sector;
sector413drivers/block/ll_rw_blk.cunsigned long sector = page * (PAGE_SIZE / 512);
sector417drivers/block/ll_rw_blk.cprintk("Trying to read nonexistent block-device %04x (%ld)\n",dev,sector);
sector430drivers/block/ll_rw_blk.creq->sector = sector;
sector560drivers/block/ll_rw_blk.creq[j]->sector = (b[i] * buffersize) >> 9;
sector143drivers/block/mcd.c&& CURRENT -> sector != -1)
sector606drivers/block/mcd.cint bn = CURRENT -> sector / 4;
sector611drivers/block/mcd.cint offs = (i * 4 + (CURRENT -> sector & 3)) * 512;
sector612drivers/block/mcd.cint nr_sectors = 4 - (CURRENT -> sector & 3);
sector624drivers/block/mcd.cCURRENT -> sector += nr_sectors;
sector665drivers/block/mcd.cprintk(" do_mcd_request(%ld+%ld)\n", CURRENT -> sector, CURRENT -> nr_sectors);
sector871drivers/block/mcd.cmcd_next_bn = CURRENT -> sector / 4;
sector945drivers/block/mcd.c&& (CURRENT -> sector / 4 < mcd_next_bn || 
sector946drivers/block/mcd.cCURRENT -> sector / 4 > mcd_next_bn + 16)) {
sector211drivers/block/mcdx.cstatic int mcdx_transfer(struct s_drive_stuff*, char* buf, int sector, int nr_sectors);
sector502drivers/block/mcdx.cCURRENT->sector,
sector506drivers/block/mcdx.cCURRENT->sector += CURRENT->nr_sectors;
sector512drivers/block/mcdx.cCURRENT->sector += i;
sector1082drivers/block/mcdx.cchar *p, int sector, int nr_sectors)
sector1091drivers/block/mcdx.cnr_sectors, sector));
sector1102drivers/block/mcdx.c&& (sector >= stuffp->pending)
sector1103drivers/block/mcdx.c&& (sector < stuffp->off_direct)) {
sector1106drivers/block/mcdx.coff = stuffp->off_requested < (off = sector + nr_sectors)
sector1171drivers/block/mcdx.cif (stuffp->pending == sector) {
sector1174drivers/block/mcdx.csector++;
sector1193drivers/block/mcdx.cstuffp->pending = sector & ~3;
sector624drivers/block/optcd.cint bn = CURRENT -> sector / 4;
sector634drivers/block/optcd.coffs = (i * 4 + (CURRENT -> sector & 3)) * 512;
sector635drivers/block/optcd.cnr_sectors = 4 - (CURRENT -> sector & 3);
sector647drivers/block/optcd.cCURRENT -> sector += nr_sectors;
sector763drivers/block/optcd.copt_next_bn = CURRENT -> sector / 4;
sector873drivers/block/optcd.c&& (CURRENT -> sector / 4 < opt_next_bn ||
sector874drivers/block/optcd.cCURRENT -> sector / 4 >
sector944drivers/block/optcd.cCURRENT -> sector, CURRENT -> nr_sectors);
sector40drivers/block/ramdisk.caddr = rd_start + (CURRENT->sector << 9);
sector4350drivers/block/sbpcd.c(CURRENT->sector/4 >= D_S[d].sbp_first_frame) &&
sector4351drivers/block/sbpcd.c(CURRENT->sector/4 <= D_S[d].sbp_last_frame) )
sector4353drivers/block/sbpcd.coffs = (CURRENT->sector - D_S[d].sbp_first_frame * 4) * 512;
sector4356drivers/block/sbpcd.cCURRENT->sector++;
sector4375drivers/block/sbpcd.cif (CURRENT -> sector == -1) goto err_done;
sector4393drivers/block/sbpcd.cblock = CURRENT->sector; /* always numbered as 512-byte-pieces */
sector4461drivers/block/sbpcd.cblock=CURRENT->sector/4;
sector4810drivers/block/sbpcd.cD_S[d].sbp_first_frame = CURRENT -> sector / 4;
sector912drivers/block/sjcd.cCURRENT->cmd == READ && CURRENT->sector != -1 )
sector920drivers/block/sjcd.cint i, bn = CURRENT->sector / 4;
sector923drivers/block/sjcd.cint offs = ( i * 4 + ( CURRENT->sector & 3 ) ) * 512;
sector924drivers/block/sjcd.cint nr_sectors = 4 - ( CURRENT->sector & 3 );
sector939drivers/block/sjcd.cCURRENT->sector += nr_sectors;
sector1047drivers/block/sjcd.csjcd_next_bn = CURRENT->sector / 4;
sector1154drivers/block/sjcd.c( CURRENT->sector / 4 < sjcd_next_bn ||
sector1155drivers/block/sjcd.cCURRENT->sector / 4 > sjcd_next_bn + SJCD_BUF_SIZ ) ){
sector1232drivers/block/sjcd.cCURRENT->sector, CURRENT->nr_sectors );
sector840drivers/block/sonycd535.cblock = CURRENT->sector;
sector219drivers/block/xd.cif (CURRENT_DEV < xd_drives && CURRENT->sector + CURRENT->nr_sectors <= xd[MINOR(CURRENT->dev)].nr_sects) {
sector220drivers/block/xd.cblock = CURRENT->sector + xd[MINOR(CURRENT->dev)].start_sect;
sector328drivers/block/xd.cu_char head,sector,control,mode,temp;
sector341drivers/block/xd.csector = block % xd_info[drive].sectors;
sector344drivers/block/xd.cprintk("xd_readwrite: drive = %d, head = %d, cylinder = %d, sector = %d, count = %d\n",drive,head,cylinder,sector,temp);
sector348drivers/block/xd.cxd_build(cmdblk,operation == READ ? CMD_READ : CMD_WRITE,drive,head,cylinder,sector,temp & 0xFF,control);
sector422drivers/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)
sector426drivers/block/xd.ccmdblk[2] = ((cylinder & 0x300) >> 2) | (sector & 0x3F);
sector898drivers/scsi/scsi.creq->sector += bh->b_size >> 9;
sector1042drivers/scsi/scsi.creq->sector += bh->b_size >> 9;
sector2110drivers/scsi/scsi.cint page, sector, nbits, mask;
sector2129drivers/scsi/scsi.csector = offset >> 9;
sector2130drivers/scsi/scsi.cif(sector >= dma_sectors) panic ("Bad page");
sector2132drivers/scsi/scsi.csector = (offset >> 9) & (sizeof(*dma_malloc_freelist) * 8 - 1);
sector2136drivers/scsi/scsi.cif ((mask << sector) > 0xffff) panic ("Bad memory alignment");
sector2140drivers/scsi/scsi.cif((dma_malloc_freelist[page] & (mask << sector)) != (mask<<sector))
sector2144drivers/scsi/scsi.cdma_malloc_freelist[page] &= ~(mask << sector);
sector2952drivers/scsi/scsi.cSCpnt->request.sector,
sector2979drivers/scsi/scsi.creq->sector,
sector574drivers/scsi/scsi.hreq->dev,req->sector);
sector581drivers/scsi/scsi.hreq->sector += bh->b_size >> 9;
sector105drivers/scsi/scsi_debug.cif (SCpnt->request.sector + start != block) panic("Wrong block.");  \
sector107drivers/scsi/scsicam.ccyl = p->cyl + ((p->sector & 0xc0) << 2);
sector277drivers/scsi/sd.cSCpnt->request.sector, this_count);
sector478drivers/scsi/sd.cblock = SCpnt->request.sector;
sector167drivers/scsi/sr.coffset = (SCpnt->request.sector % 4) << 9;
sector201drivers/scsi/sr.cif(SCpnt->request.sector % 4) this_count -= 2;
sector216drivers/scsi/sr.cSCpnt->request.sector, this_count);
sector321drivers/scsi/sr.cunsigned long   sector,min,sec,frame;
sector349drivers/scsi/sr.csector   = 0;
sector380drivers/scsi/sr.csector = min*CD_SECS*CD_FRAMES + sec*CD_FRAMES + frame;
sector383drivers/scsi/sr.cif (sector) {
sector384drivers/scsi/sr.cprintk("sr_photocd: multisession CD detected. start: %lu\n",sector);
sector423drivers/scsi/sr.csector = min*CD_SECS*CD_FRAMES + sec*CD_FRAMES + frame;
sector424drivers/scsi/sr.cif (sector) {
sector425drivers/scsi/sr.csector -= CD_BLOCK_OFFSET;
sector427drivers/scsi/sr.cprintk("sr_photocd: multisession CD detected: start: %lu\n",sector);
sector490drivers/scsi/sr.csector = rec[11] + (rec[10] << 8) + (rec[9] << 16) + (rec[8] << 24);
sector491drivers/scsi/sr.cis_xa = !!sector;
sector493drivers/scsi/sr.cif (sector)
sector494drivers/scsi/sr.cprintk ("sr_photocd: multisession CD detected. start: %lu\n",sector);
sector501drivers/scsi/sr.csector = 0;
sector505drivers/scsi/sr.cscsi_CDs[MINOR(inode->i_rdev)].mpcd_sector = sector;
sector627drivers/scsi/sr.cblock = SCpnt->request.sector;  
sector704drivers/scsi/sr.cthis_count = SCpnt->request.sector % 4;
sector737drivers/scsi/sr.cif(SCpnt->request.sector % 4) {
sector738drivers/scsi/sr.csgpnt[count].length = (SCpnt->request.sector % 4) << 9;
sector788drivers/scsi/sr.cprintk("SR: %d %d %d %d %d *** ",SCpnt->use_sg, SCpnt->request.sector,
sector241fs/msdos/fat.cint msdos_smap(struct inode *inode,int sector)
sector249fs/msdos/fat.cif (sector >= sb->dir_entries >> MSDOS_DPS_BITS) return 0;
sector250fs/msdos/fat.creturn sector+sb->dir_start;
sector252fs/msdos/fat.ccluster = sector/sb->cluster_size;
sector253fs/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;
sector297fs/msdos/file.cwhile (!(sector = msdos_smap(inode,filp->f_pos >> SECTOR_BITS)))
sector312fs/msdos/file.cif (!(bh = getblk(inode->i_dev,sector,SECTOR_SIZE))){
sector316fs/msdos/file.c}else if (!(bh = bread(inode->i_dev,sector,SECTOR_SIZE))) {
sector121fs/msdos/misc.cint count,nr,limit,last,current,sector,last_sector,file_cluster;
sector190fs/msdos/misc.csector = MSDOS_SB(inode->i_sb)->data_start+(nr-2)*cluster_size;
sector191fs/msdos/misc.clast_sector = sector + cluster_size;
sector192fs/msdos/misc.cfor ( ; sector < last_sector; sector++) {
sector194fs/msdos/misc.cprintk("zeroing sector %d\n",sector);
sector196fs/msdos/misc.cif (!(bh = getblk(inode->i_dev,sector,SECTOR_SIZE)))
sector289fs/msdos/misc.cint sector,offset;
sector294fs/msdos/misc.cif ((sector = msdos_smap(dir,offset >> SECTOR_BITS)) == -1)
sector296fs/msdos/misc.cPRINTK (("get_entry sector %d %p\n",sector,*bh));
sector297fs/msdos/misc.cif (!sector)
sector303fs/msdos/misc.cif (!(*bh = bread(dir->i_dev,sector,SECTOR_SIZE))) {
sector304fs/msdos/misc.cprintk("Directory sread (sector %d) failed\n",sector);
sector310fs/msdos/misc.creturn (sector << MSDOS_DPS_BITS)+((offset & (SECTOR_SIZE-1)) >>
sector352fs/msdos/misc.cinode = iget(sb,sector*MSDOS_DPS+entry); \
sector368fs/msdos/misc.cstatic int raw_scan_sector(struct super_block *sb,int sector,char *name,
sector377fs/msdos/misc.cif (!(bh = bread(sb->s_dev,sector,SECTOR_SIZE))) return -EIO;
sector389fs/msdos/misc.cif (ino) *ino = sector*MSDOS_DPS+entry;
sector18include/linux/blkdev.hunsigned long sector;
sector26include/linux/genhd.hunsigned char sector;    /* starting sector */
sector134include/linux/msdos_fs.hextern int msdos_smap(struct inode *inode,int sector);
sector174include/linux/optcd.h&& CURRENT -> cmd == READ && CURRENT -> sector != -1)
sector123include/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);