tag | line | file | source code |
sector | 237 | fs/msdos/fat.c | int msdos_smap(struct inode *inode,int sector) |
sector | 245 | fs/msdos/fat.c | if (sector >= sb->dir_entries >> MSDOS_DPS_BITS) return 0; |
sector | 246 | fs/msdos/fat.c | return sector+sb->dir_start; |
sector | 248 | fs/msdos/fat.c | cluster = sector/sb->cluster_size; |
sector | 249 | fs/msdos/fat.c | offset = sector % sb->cluster_size; |
sector | 84 | fs/msdos/file.c | int left,offset,size,sector,cnt; |
sector | 101 | fs/msdos/file.c | if (!(sector = msdos_smap(inode,filp->f_pos >> SECTOR_BITS))) |
sector | 104 | fs/msdos/file.c | if (!(bh = msdos_sread(inode->i_dev,sector,&data))) break; |
sector | 132 | fs/msdos/file.c | int sector,offset,size,left,written; |
sector | 154 | fs/msdos/file.c | while (!(sector = msdos_smap(inode,filp->f_pos >> SECTOR_BITS))) |
sector | 162 | fs/msdos/file.c | if (!(bh = msdos_sread(inode->i_dev,sector,&data))) { |
sector | 84 | fs/msdos/misc.c | int count,this,limit,last,current,sector; |
sector | 141 | fs/msdos/misc.c | sector = MSDOS_SB(inode->i_sb)->data_start+(this-2)* |
sector | 144 | fs/msdos/misc.c | printk("zeroing sector %d\n",sector); |
sector | 147 | fs/msdos/misc.c | !(sector & 1)) { |
sector | 148 | fs/msdos/misc.c | if (!(bh = getblk(inode->i_dev,sector >> 1, BLOCK_SIZE))) |
sector | 157 | fs/msdos/misc.c | if (!(bh = msdos_sread(inode->i_dev,sector,&data))) |
sector | 241 | fs/msdos/misc.c | int sector,offset; |
sector | 246 | fs/msdos/misc.c | if ((sector = msdos_smap(dir,offset >> SECTOR_BITS)) == -1) |
sector | 248 | fs/msdos/misc.c | if (!sector) |
sector | 253 | fs/msdos/misc.c | if (!(*bh = msdos_sread(dir->i_dev,sector,&data))) { |
sector | 254 | fs/msdos/misc.c | printk("Directory sread (sector %d) failed\n",sector); |
sector | 259 | fs/msdos/misc.c | return (sector << MSDOS_DPS_BITS)+((offset & (SECTOR_SIZE-1)) >> |
sector | 312 | fs/msdos/misc.c | static int raw_found(struct super_block *sb,int sector,char *name,int *number, |
sector | 319 | fs/msdos/misc.c | if (!(bh = msdos_sread(sb->s_dev,sector,(void **) &data))) return -EIO; |
sector | 335 | fs/msdos/misc.c | if (ino) *ino = sector*MSDOS_DPS+entry; |
sector | 17 | include/linux/genhd.h | unsigned char sector; /* starting sector */ |
sector | 90 | include/linux/msdos_fs.h | static inline struct buffer_head *msdos_sread(int dev,int sector,void **start) |
sector | 94 | include/linux/msdos_fs.h | if (!(bh = bread(dev,sector >> 1, 1024))) |
sector | 96 | include/linux/msdos_fs.h | *start = bh->b_data+((sector & 1) << SECTOR_BITS); |
sector | 122 | include/linux/msdos_fs.h | extern int msdos_smap(struct inode *inode,int sector); |
sector | 28 | kernel/blk_drv/blk.h | unsigned long sector; |
sector | 46 | kernel/blk_drv/blk.h | (s1)->sector < (s2)->sector))))) |
sector | 209 | kernel/blk_drv/blk.h | printk("dev %04x, sector %d\n",req->dev,req->sector); |
sector | 212 | kernel/blk_drv/blk.h | req->sector += (BLOCK_SIZE / 512); |
sector | 213 | kernel/blk_drv/blk.h | req->sector &= ~SECTOR_MASK; |
sector | 276 | kernel/blk_drv/floppy.c | static unsigned char sector = 0; |
sector | 613 | kernel/blk_drv/floppy.c | ((sector-1 + head*floppy->sect)<<9); |
sector | 645 | kernel/blk_drv/floppy.c | output_byte(sector); |
sector | 970 | kernel/blk_drv/floppy.c | block = CURRENT->sector; |
sector | 975 | kernel/blk_drv/floppy.c | sector = block % floppy->sect; |
sector | 1010 | kernel/blk_drv/floppy.c | ((sector + head*floppy->sect)<<9); |
sector | 1020 | kernel/blk_drv/floppy.c | sector++; |
sector | 327 | kernel/blk_drv/hd.c | CURRENT->sector++; |
sector | 332 | kernel/blk_drv/hd.c | MINOR(CURRENT->dev), CURRENT->sector, i, CURRENT-> |
sector | 373 | kernel/blk_drv/hd.c | CURRENT->sector++; |
sector | 444 | kernel/blk_drv/hd.c | block = CURRENT->sector; |
sector | 126 | kernel/blk_drv/ll_rw_blk.c | unsigned int sector, count; |
sector | 146 | kernel/blk_drv/ll_rw_blk.c | sector = bh->b_blocknr * count; |
sector | 148 | kernel/blk_drv/ll_rw_blk.c | if (blk_size[major][MINOR(bh->b_dev)] < (sector + count)>>1) { |
sector | 169 | kernel/blk_drv/ll_rw_blk.c | req->sector + req->nr_sectors == sector && |
sector | 209 | kernel/blk_drv/ll_rw_blk.c | req->sector = sector; |
sector | 250 | kernel/blk_drv/ll_rw_blk.c | req->sector = page<<3; |
sector | 364 | kernel/blk_drv/ll_rw_blk.c | req->sector = b[i] << 1; |
sector | 30 | kernel/blk_drv/ramdisk.c | addr = rd_start + (CURRENT->sector << 9); |
sector | 1295 | kernel/blk_drv/scsi/scsi.c | int page, sector, nbits, mask; |
sector | 1305 | kernel/blk_drv/scsi/scsi.c | sector = offset >> 9; |
sector | 1306 | kernel/blk_drv/scsi/scsi.c | if(sector >= dma_sectors) panic ("Bad page"); |
sector | 1308 | kernel/blk_drv/scsi/scsi.c | sector = (offset >> 9) & 15; |
sector | 1312 | kernel/blk_drv/scsi/scsi.c | if ((mask << sector) > 0xffff) panic ("Bad memory alignment"); |
sector | 1315 | kernel/blk_drv/scsi/scsi.c | if(dma_malloc_freelist[page] & (mask << sector) != (mask<<sector)) |
sector | 1319 | kernel/blk_drv/scsi/scsi.c | dma_malloc_freelist[page] &= ~(mask << sector); |
sector | 426 | kernel/blk_drv/scsi/scsi.h | printk("dev %04x, sector %d\n",req->dev,req->sector); |
sector | 433 | kernel/blk_drv/scsi/scsi.h | req->sector += bh->b_size >> 9; |
sector | 73 | kernel/blk_drv/scsi/scsi_debug.c | if (SCpnt->request.sector + start != block) panic("Wrong block."); \ |
sector | 206 | kernel/blk_drv/scsi/sd.c | SCpnt->request.sector, this_count); |
sector | 394 | kernel/blk_drv/scsi/sd.c | block = SCpnt->request.sector; |
sector | 123 | kernel/blk_drv/scsi/sr.c | offset = (SCpnt->request.sector % 4) << 9; |
sector | 157 | kernel/blk_drv/scsi/sr.c | if(SCpnt->request.sector % 4) this_count -= 2; |
sector | 173 | kernel/blk_drv/scsi/sr.c | SCpnt->request.sector, this_count); |
sector | 343 | kernel/blk_drv/scsi/sr.c | block = SCpnt->request.sector; |
sector | 420 | kernel/blk_drv/scsi/sr.c | this_count = SCpnt->request.sector % 4; |
sector | 453 | kernel/blk_drv/scsi/sr.c | if(SCpnt->request.sector % 4) { |
sector | 454 | kernel/blk_drv/scsi/sr.c | sgpnt[count].length = (SCpnt->request.sector % 4) << 9; |
sector | 504 | kernel/blk_drv/scsi/sr.c | printk("SG: %d %d %d %d %d *** ",SCpnt->use_sg, SCpnt->request.sector, |