taglinefilesource code
secno18fs/hpfs/hpfs.htypedef secno dnode_secno;    /* sector number of a dnode */
secno19fs/hpfs/hpfs.htypedef secno fnode_secno;    /* sector number of an fnode */
secno20fs/hpfs/hpfs.htypedef secno anode_secno;    /* sector number of an anode */
secno66fs/hpfs/hpfs.hsecno n_sectors;      /* size of filesystem */
secno68fs/hpfs/hpfs.hsecno bitmaps;      /* pointers to free space bit maps */
secno70fs/hpfs/hpfs.hsecno badblocks;      /* bad block list */
secno74fs/hpfs/hpfs.hsecno n_dir_band;      /* number of sectors in dir band */
secno75fs/hpfs/hpfs.hsecno dir_band_start;      /* first sector in dir band */
secno76fs/hpfs/hpfs.hsecno dir_band_end;      /* last sector in dir band */
secno77fs/hpfs/hpfs.hsecno dir_band_bitmap;    /* free space map, 1 dnode per bit */
secno79fs/hpfs/hpfs.hsecno scratch_dnodes;      /* ?? 8 preallocated sectors near dir
secno101fs/hpfs/hpfs.hsecno hotfix_map;      /* info about remapped bad sectors */
secno107fs/hpfs/hpfs.hsecno code_page_dir;      /* code page directory block */
secno155fs/hpfs/hpfs.hsecno code_page_data;    /* sector number of a code_page_data
secno227fs/hpfs/hpfs.hsecno up;        /* (root dnode) directory's fnode
secno312fs/hpfs/hpfs.hsecno disk_secno;      /* first corresponding disk sector */
secno367fs/hpfs/hpfs.hsecno ea_secno;      /* first sector of disk-resident ea's*/
secno415fs/hpfs/hpfs.hsecno up;        /* parent anode or fnode */
secno490fs/hpfs/hpfs.hstatic inline secno ea_indirect_secno (struct extended_attribute *ea)
secno148fs/hpfs/hpfs_fs.cstatic secno hpfs_bmap(struct inode *, unsigned);
secno246fs/hpfs/hpfs_fs.cstatic unsigned count_one_bitmap(kdev_t dev, secno secno);
secno247fs/hpfs/hpfs_fs.cstatic secno bplus_lookup(struct inode *inode, struct bplus_header *b,
secno248fs/hpfs/hpfs_fs.csecno file_secno, struct buffer_head **bhp);
secno264fs/hpfs/hpfs_fs.cstatic struct anode *map_anode(kdev_t dev, unsigned secno,
secno266fs/hpfs/hpfs_fs.cstatic struct dnode *map_dnode(kdev_t dev, unsigned secno,
secno268fs/hpfs/hpfs_fs.cstatic void *map_sector(kdev_t dev, unsigned secno, struct buffer_head **bhp);
secno269fs/hpfs/hpfs_fs.cstatic void *map_4sectors(kdev_t dev, unsigned secno,
secno277fs/hpfs/hpfs_fs.cstatic inline ino_t file_ino(fnode_secno secno)
secno279fs/hpfs/hpfs_fs.creturn secno << 1 | 1;
secno286fs/hpfs/hpfs_fs.cstatic inline ino_t dir_ino(fnode_secno secno)
secno288fs/hpfs/hpfs_fs.creturn secno << 1;
secno821fs/hpfs/hpfs_fs.csecno *bitmaps;
secno856fs/hpfs/hpfs_fs.cstatic unsigned count_one_bitmap(kdev_t dev, secno secno)
secno862fs/hpfs/hpfs_fs.cbits = map_4sectors(dev, secno, &qbh);
secno1012fs/hpfs/hpfs_fs.cstatic secno hpfs_bmap(struct inode *inode, unsigned file_secno)
secno1049fs/hpfs/hpfs_fs.cstatic secno bplus_lookup(struct inode *inode, struct bplus_header *b,
secno1050fs/hpfs/hpfs_fs.csecno file_secno, struct buffer_head **bhp)
secno1628fs/hpfs/hpfs_fs.cstatic struct anode *map_anode(kdev_t dev, unsigned secno,
secno1633fs/hpfs/hpfs_fs.cif (secno == 0) {
secno1638fs/hpfs/hpfs_fs.canode = map_sector(dev, secno, bhp);
secno1640fs/hpfs/hpfs_fs.cif (anode->magic != ANODE_MAGIC || anode->self != secno) {
secno1650fs/hpfs/hpfs_fs.cstatic struct dnode *map_dnode(kdev_t dev, unsigned secno,
secno1655fs/hpfs/hpfs_fs.cif (secno == 0) {
secno1660fs/hpfs/hpfs_fs.cdnode = map_4sectors(dev, secno, qbh);
secno1662fs/hpfs/hpfs_fs.cif (dnode->magic != DNODE_MAGIC || dnode->self != secno) {
secno1672fs/hpfs/hpfs_fs.cstatic void *map_sector(kdev_t dev, unsigned secno, struct buffer_head **bhp)
secno1676fs/hpfs/hpfs_fs.cif ((*bhp = bh = bread(dev, secno, 512)) != 0)
secno1686fs/hpfs/hpfs_fs.cstatic void *map_4sectors(kdev_t dev, unsigned secno,
secno1692fs/hpfs/hpfs_fs.cif (secno & 3) {
secno1701fs/hpfs/hpfs_fs.cqbh->bh[0] = bh = breada(dev, secno, 512, 0, UINT_MAX);
secno1706fs/hpfs/hpfs_fs.cqbh->bh[1] = bh = bread(dev, secno + 1, 512);
secno1711fs/hpfs/hpfs_fs.cqbh->bh[2] = bh = bread(dev, secno + 2, 512);
secno1716fs/hpfs/hpfs_fs.cqbh->bh[3] = bh = bread(dev, secno + 3, 512);