Searched refs:fno (Results 1 – 7 of 7) sorted by relevance
/fs/hpfs/ |
D | namei.c | 33 fnode_secno fno; in hpfs_mkdir() local 41 fnode = hpfs_alloc_fnode(dir->i_sb, hpfs_i(dir)->i_dno, &fno, &bh); in hpfs_mkdir() 44 dnode = hpfs_alloc_dnode(dir->i_sb, fno, &dno, &qbh0); in hpfs_mkdir() 52 dee.fnode = cpu_to_le32(fno); in hpfs_mkdir() 58 result->i_ino = fno; in hpfs_mkdir() 92 dnode->up = cpu_to_le32(fno); in hpfs_mkdir() 98 de->fnode = cpu_to_le32(fno); in hpfs_mkdir() 125 hpfs_free_sectors(dir->i_sb, fno, 1); in hpfs_mkdir() 138 fnode_secno fno; in hpfs_create() local 146 fnode = hpfs_alloc_fnode(dir->i_sb, hpfs_i(dir)->i_dno, &fno, &bh); in hpfs_create() [all …]
|
D | dir.c | 91 struct fnode *fno; in hpfs_readdir() local 93 if (!(fno = hpfs_map_fnode(inode->i_sb, inode->i_ino, &bh))) { in hpfs_readdir() 97 if (!fnode_is_dir(fno)) { in hpfs_readdir() 102 if (hpfs_inode->i_dno != le32_to_cpu(fno->u.external[0].disk_secno)) { in hpfs_readdir() 104 …de: i_dno == %08x, fnode -> dnode == %08x", hpfs_inode->i_dno, le32_to_cpu(fno->u.external[0].disk… in hpfs_readdir()
|
D | anode.c | 399 void hpfs_truncate_btree(struct super_block *s, secno f, int fno, unsigned secs) in hpfs_truncate_btree() argument 408 if (fno) { in hpfs_truncate_btree() 417 if (fno) { in hpfs_truncate_btree() 481 void hpfs_remove_fnode(struct super_block *s, fnode_secno fno) in hpfs_remove_fnode() argument 487 if (!(fnode = hpfs_map_fnode(s, fno, &bh))) return; in hpfs_remove_fnode() 496 hpfs_free_sectors(s, fno, 1); in hpfs_remove_fnode()
|
D | ea.c | 193 fnode_secno fno = inode->i_ino; in hpfs_set_ea() local 271 if (!(n = hpfs_alloc_sector(s, fno, 1, 0))) return; in hpfs_set_ea() 289 secno q = hpfs_alloc_sector(s, fno, 1, 0); in hpfs_set_ea() 318 if (!(new_sec = hpfs_alloc_sector(s, fno, 1, 1 - ((pos + 511) >> 9)))) in hpfs_set_ea()
|
D | alloc.c | 454 struct fnode *hpfs_alloc_fnode(struct super_block *s, secno near, fnode_secno *fno, in hpfs_alloc_fnode() argument 458 if (!(*fno = hpfs_alloc_sector(s, near, 1, FNODE_ALLOC_FWD))) return NULL; in hpfs_alloc_fnode() 459 if (!(f = hpfs_get_sector(s, *fno, bh))) { in hpfs_alloc_fnode() 460 hpfs_free_sectors(s, *fno, 1); in hpfs_alloc_fnode()
|
D | dnode.c | 998 struct hpfs_dirent *map_fnode_dirent(struct super_block *s, fnode_secno fno, in map_fnode_dirent() argument 1031 hpfs_error(s, "fnode %08x has non-directory parent %08x", fno, le32_to_cpu(f->up)); in map_fnode_dirent() 1057 if (le32_to_cpu(de->fnode) == fno) { in map_fnode_dirent() 1073 if (le32_to_cpu(de->fnode) == fno) { in map_fnode_dirent() 1092 hpfs_error(s, "dirent for fnode %08x not found", fno); in map_fnode_dirent()
|
D | hpfs_fn.h | 220 void hpfs_remove_fnode(struct super_block *, fnode_secno fno);
|