taglinefilesource code
sector237fs/msdos/fat.cint msdos_smap(struct inode *inode,int sector)
sector245fs/msdos/fat.cif (sector >= sb->dir_entries >> MSDOS_DPS_BITS) return 0;
sector246fs/msdos/fat.creturn sector+sb->dir_start;
sector248fs/msdos/fat.ccluster = sector/sb->cluster_size;
sector249fs/msdos/fat.coffset = sector % sb->cluster_size;
sector84fs/msdos/file.cint left,offset,size,sector,cnt;
sector101fs/msdos/file.cif (!(sector = msdos_smap(inode,filp->f_pos >> SECTOR_BITS)))
sector104fs/msdos/file.cif (!(bh = msdos_sread(inode->i_dev,sector,&data))) break;
sector132fs/msdos/file.cint sector,offset,size,left,written;
sector154fs/msdos/file.cwhile (!(sector = msdos_smap(inode,filp->f_pos >> SECTOR_BITS)))
sector162fs/msdos/file.cif (!(bh = msdos_sread(inode->i_dev,sector,&data))) {
sector84fs/msdos/misc.cint count,this,limit,last,current,sector;
sector141fs/msdos/misc.csector = MSDOS_SB(inode->i_sb)->data_start+(this-2)*
sector144fs/msdos/misc.cprintk("zeroing sector %d\n",sector);
sector147fs/msdos/misc.c!(sector & 1)) {
sector148fs/msdos/misc.cif (!(bh = getblk(inode->i_dev,sector >> 1, BLOCK_SIZE)))
sector157fs/msdos/misc.cif (!(bh = msdos_sread(inode->i_dev,sector,&data)))
sector241fs/msdos/misc.cint sector,offset;
sector246fs/msdos/misc.cif ((sector = msdos_smap(dir,offset >> SECTOR_BITS)) == -1)
sector248fs/msdos/misc.cif (!sector)
sector253fs/msdos/misc.cif (!(*bh = msdos_sread(dir->i_dev,sector,&data))) {
sector254fs/msdos/misc.cprintk("Directory sread (sector %d) failed\n",sector);
sector259fs/msdos/misc.creturn (sector << MSDOS_DPS_BITS)+((offset & (SECTOR_SIZE-1)) >>
sector312fs/msdos/misc.cstatic int raw_found(struct super_block *sb,int sector,char *name,int *number,
sector319fs/msdos/misc.cif (!(bh = msdos_sread(sb->s_dev,sector,(void **) &data))) return -EIO;
sector335fs/msdos/misc.cif (ino) *ino = sector*MSDOS_DPS+entry;
sector17include/linux/genhd.hunsigned char sector;    /* starting sector */
sector90include/linux/msdos_fs.hstatic inline struct buffer_head *msdos_sread(int dev,int sector,void **start)
sector94include/linux/msdos_fs.hif (!(bh = bread(dev,sector >> 1, 1024)))
sector96include/linux/msdos_fs.h*start = bh->b_data+((sector & 1) << SECTOR_BITS);
sector122include/linux/msdos_fs.hextern int msdos_smap(struct inode *inode,int sector);
sector28kernel/blk_drv/blk.hunsigned long sector;
sector46kernel/blk_drv/blk.h(s1)->sector < (s2)->sector)))))
sector209kernel/blk_drv/blk.hprintk("dev %04x, sector %d\n",req->dev,req->sector);
sector212kernel/blk_drv/blk.hreq->sector += (BLOCK_SIZE / 512);
sector213kernel/blk_drv/blk.hreq->sector &= ~SECTOR_MASK;    
sector276kernel/blk_drv/floppy.cstatic unsigned char sector = 0;
sector613kernel/blk_drv/floppy.c((sector-1 + head*floppy->sect)<<9);
sector645kernel/blk_drv/floppy.coutput_byte(sector);
sector970kernel/blk_drv/floppy.cblock = CURRENT->sector;
sector975kernel/blk_drv/floppy.csector = block % floppy->sect;
sector1010kernel/blk_drv/floppy.c((sector + head*floppy->sect)<<9);
sector1020kernel/blk_drv/floppy.csector++;
sector327kernel/blk_drv/hd.cCURRENT->sector++;
sector332kernel/blk_drv/hd.cMINOR(CURRENT->dev), CURRENT->sector, i, CURRENT-> 
sector373kernel/blk_drv/hd.cCURRENT->sector++;
sector444kernel/blk_drv/hd.cblock = CURRENT->sector;
sector126kernel/blk_drv/ll_rw_blk.cunsigned int sector, count;
sector146kernel/blk_drv/ll_rw_blk.csector = bh->b_blocknr * count;
sector148kernel/blk_drv/ll_rw_blk.cif (blk_size[major][MINOR(bh->b_dev)] < (sector + count)>>1) {
sector169kernel/blk_drv/ll_rw_blk.creq->sector + req->nr_sectors == sector &&
sector209kernel/blk_drv/ll_rw_blk.creq->sector = sector;
sector250kernel/blk_drv/ll_rw_blk.creq->sector = page<<3;
sector364kernel/blk_drv/ll_rw_blk.creq->sector = b[i] << 1;
sector30kernel/blk_drv/ramdisk.caddr = rd_start + (CURRENT->sector << 9);
sector1295kernel/blk_drv/scsi/scsi.cint page, sector, nbits, mask;
sector1305kernel/blk_drv/scsi/scsi.csector = offset >> 9;
sector1306kernel/blk_drv/scsi/scsi.cif(sector >= dma_sectors) panic ("Bad page");
sector1308kernel/blk_drv/scsi/scsi.csector = (offset >> 9) & 15;
sector1312kernel/blk_drv/scsi/scsi.cif ((mask << sector) > 0xffff) panic ("Bad memory alignment");
sector1315kernel/blk_drv/scsi/scsi.cif(dma_malloc_freelist[page] & (mask << sector) != (mask<<sector))
sector1319kernel/blk_drv/scsi/scsi.cdma_malloc_freelist[page] &= ~(mask << sector);
sector426kernel/blk_drv/scsi/scsi.hprintk("dev %04x, sector %d\n",req->dev,req->sector);
sector433kernel/blk_drv/scsi/scsi.hreq->sector += bh->b_size >> 9;
sector73kernel/blk_drv/scsi/scsi_debug.cif (SCpnt->request.sector + start != block) panic("Wrong block.");  \
sector206kernel/blk_drv/scsi/sd.cSCpnt->request.sector, this_count);
sector394kernel/blk_drv/scsi/sd.cblock = SCpnt->request.sector;
sector123kernel/blk_drv/scsi/sr.coffset = (SCpnt->request.sector % 4) << 9;
sector157kernel/blk_drv/scsi/sr.cif(SCpnt->request.sector % 4) this_count -= 2;
sector173kernel/blk_drv/scsi/sr.cSCpnt->request.sector, this_count);
sector343kernel/blk_drv/scsi/sr.cblock = SCpnt->request.sector;  
sector420kernel/blk_drv/scsi/sr.cthis_count = SCpnt->request.sector % 4;
sector453kernel/blk_drv/scsi/sr.cif(SCpnt->request.sector % 4) {
sector454kernel/blk_drv/scsi/sr.csgpnt[count].length = (SCpnt->request.sector % 4) << 9;
sector504kernel/blk_drv/scsi/sr.cprintk("SG: %d %d %d %d %d *** ",SCpnt->use_sg, SCpnt->request.sector,