tag | line | file | source code |
sector | 227 | fs/msdos/fat.c | int msdos_smap(struct inode *inode,int sector) |
sector | 235 | fs/msdos/fat.c | if (sector >= sb->dir_entries >> MSDOS_DPS_BITS) return 0; |
sector | 236 | fs/msdos/fat.c | return sector+sb->dir_start; |
sector | 238 | fs/msdos/fat.c | cluster = sector/sb->cluster_size; |
sector | 239 | fs/msdos/fat.c | offset = sector % sb->cluster_size; |
sector | 80 | fs/msdos/file.c | int left,offset,size,sector,cnt; |
sector | 97 | fs/msdos/file.c | if (!(sector = msdos_smap(inode,filp->f_pos >> SECTOR_BITS))) |
sector | 100 | fs/msdos/file.c | if (!(bh = msdos_sread(inode->i_dev,sector,&data))) break; |
sector | 128 | fs/msdos/file.c | int sector,offset,size,left,written; |
sector | 150 | fs/msdos/file.c | while (!(sector = msdos_smap(inode,filp->f_pos >> SECTOR_BITS))) |
sector | 155 | fs/msdos/file.c | if (!(bh = msdos_sread(inode->i_dev,sector,&data))) { |
sector | 65 | fs/msdos/misc.c | int count,this,limit,last,current,sector; |
sector | 121 | fs/msdos/misc.c | sector = MSDOS_SB(inode->i_sb)->data_start+(this-2)* |
sector | 124 | fs/msdos/misc.c | printk("zeroing sector %d\r\n",sector); |
sector | 127 | fs/msdos/misc.c | !(sector & 1)) { |
sector | 128 | fs/msdos/misc.c | if (!(bh = getblk(inode->i_dev,sector >> 1, BLOCK_SIZE))) |
sector | 137 | fs/msdos/misc.c | if (!(bh = msdos_sread(inode->i_dev,sector,&data))) |
sector | 214 | fs/msdos/misc.c | int sector,offset; |
sector | 219 | fs/msdos/misc.c | if ((sector = msdos_smap(dir,*pos >> SECTOR_BITS)) == -1) |
sector | 221 | fs/msdos/misc.c | if (!sector) |
sector | 226 | fs/msdos/misc.c | if (!(*bh = msdos_sread(dir->i_dev,sector,&data))) |
sector | 230 | fs/msdos/misc.c | return (sector << MSDOS_DPS_BITS)+((offset & (SECTOR_SIZE-1)) >> |
sector | 280 | fs/msdos/misc.c | static int raw_found(struct super_block *sb,int sector,char *name,int number, |
sector | 287 | fs/msdos/misc.c | if (!(bh = msdos_sread(sb->s_dev,sector,(void **) &data))) return -EIO; |
sector | 292 | fs/msdos/misc.c | if (ino) *ino = sector*MSDOS_DPS+entry; |
sector | 17 | include/linux/genhd.h | unsigned char sector; /* starting sector */ |
sector | 99 | include/linux/msdos_fs.h | static inline struct buffer_head *msdos_sread(int dev,int sector,void **start) |
sector | 103 | include/linux/msdos_fs.h | if (!(bh = bread(dev,sector >> 1, 1024))) |
sector | 105 | include/linux/msdos_fs.h | *start = bh->b_data+((sector & 1) << SECTOR_BITS); |
sector | 128 | include/linux/msdos_fs.h | extern int msdos_smap(struct inode *inode,int sector); |
sector | 27 | kernel/blk_drv/blk.h | unsigned long sector; |
sector | 45 | kernel/blk_drv/blk.h | (s1)->sector < (s2)->sector))))) |
sector | 189 | kernel/blk_drv/blk.h | printk("dev %04x, sector %d\n\r",req->dev,req->sector); |
sector | 192 | kernel/blk_drv/blk.h | req->sector += (BLOCK_SIZE / 512); |
sector | 193 | kernel/blk_drv/blk.h | req->sector &= ~SECTOR_MASK; |
sector | 264 | kernel/blk_drv/floppy.c | static unsigned char sector = 0; |
sector | 571 | kernel/blk_drv/floppy.c | ((sector-1 + head*floppy->sect)<<9); |
sector | 603 | kernel/blk_drv/floppy.c | output_byte(sector); |
sector | 939 | kernel/blk_drv/floppy.c | block = CURRENT->sector; |
sector | 944 | kernel/blk_drv/floppy.c | sector = block % floppy->sect; |
sector | 979 | kernel/blk_drv/floppy.c | ((sector + head*floppy->sect)<<9); |
sector | 989 | kernel/blk_drv/floppy.c | sector++; |
sector | 269 | kernel/blk_drv/hd.c | CURRENT->sector++; |
sector | 274 | kernel/blk_drv/hd.c | MINOR(CURRENT->dev), CURRENT->sector, i, CURRENT-> |
sector | 312 | kernel/blk_drv/hd.c | CURRENT->sector++; |
sector | 390 | kernel/blk_drv/hd.c | block = CURRENT->sector; |
sector | 140 | kernel/blk_drv/ll_rw_blk.c | unsigned int sector, count; |
sector | 159 | kernel/blk_drv/ll_rw_blk.c | sector = bh->b_blocknr * count; |
sector | 161 | kernel/blk_drv/ll_rw_blk.c | if (blk_size[major][MINOR(bh->b_dev)] < (sector + count)>>1) { |
sector | 177 | kernel/blk_drv/ll_rw_blk.c | req->sector + req->nr_sectors == sector && |
sector | 215 | kernel/blk_drv/ll_rw_blk.c | req->sector = sector; |
sector | 256 | kernel/blk_drv/ll_rw_blk.c | req->sector = page<<3; |
sector | 343 | kernel/blk_drv/ll_rw_blk.c | req->sector = b[i] << 1; |
sector | 32 | kernel/blk_drv/ramdisk.c | addr = rd_start + (CURRENT->sector << 9); |
sector | 125 | kernel/blk_drv/scsi/sd.c | CURRENT->sector += this_count; |
sector | 229 | kernel/blk_drv/scsi/sd.c | block = CURRENT->sector; |