Searched refs:hpfs_inode (Results 1 – 5 of 5) sorted by relevance
/linux-3.4.99/fs/hpfs/ |
D | inode.c | 15 struct hpfs_inode_info *hpfs_inode = hpfs_i(i); in hpfs_init_inode() local 23 hpfs_inode->i_dno = 0; in hpfs_init_inode() 24 hpfs_inode->i_n_secs = 0; in hpfs_init_inode() 25 hpfs_inode->i_file_sec = 0; in hpfs_init_inode() 26 hpfs_inode->i_disk_sec = 0; in hpfs_init_inode() 27 hpfs_inode->i_dpos = 0; in hpfs_init_inode() 28 hpfs_inode->i_dsubdno = 0; in hpfs_init_inode() 29 hpfs_inode->i_ea_mode = 0; in hpfs_init_inode() 30 hpfs_inode->i_ea_uid = 0; in hpfs_init_inode() 31 hpfs_inode->i_ea_gid = 0; in hpfs_init_inode() [all …]
|
D | dir.c | 29 struct hpfs_inode_info *hpfs_inode = hpfs_i(i); in hpfs_dir_lseek() local 41 pos = ((loff_t) hpfs_de_as_down_as_possible(s, hpfs_inode->i_dno) << 4) + 1; in hpfs_dir_lseek() 63 struct hpfs_inode_info *hpfs_inode = hpfs_i(inode); in hpfs_readdir() local 79 if (hpfs_chk_sectors(inode->i_sb, hpfs_inode->i_dno, 4, "dir_dnode")) { in hpfs_readdir() 97 if (hpfs_inode->i_dno != le32_to_cpu(fno->u.external[0].disk_secno)) { in hpfs_readdir() 99 …hpfs_error(inode->i_sb, "corrupted inode: i_dno == %08x, fnode -> dnode == %08x", hpfs_inode->i_dn… in hpfs_readdir() 139 if (filldir(dirent, "..", 2, filp->f_pos, hpfs_inode->i_parent_dir, DT_DIR) < 0) in hpfs_readdir() 144 filp->f_pos = ((loff_t) hpfs_de_as_down_as_possible(inode->i_sb, hpfs_inode->i_dno) << 4) + 1; in hpfs_readdir()
|
D | dnode.c | 26 struct hpfs_inode_info *hpfs_inode = hpfs_i(inode); in hpfs_add_pos() local 30 if (hpfs_inode->i_rddir_off) in hpfs_add_pos() 31 for (; hpfs_inode->i_rddir_off[i]; i++) in hpfs_add_pos() 32 if (hpfs_inode->i_rddir_off[i] == pos) return; in hpfs_add_pos() 38 if (hpfs_inode->i_rddir_off) { in hpfs_add_pos() 39 memcpy(ppos, hpfs_inode->i_rddir_off, i * sizeof(loff_t)); in hpfs_add_pos() 40 kfree(hpfs_inode->i_rddir_off); in hpfs_add_pos() 42 hpfs_inode->i_rddir_off = ppos; in hpfs_add_pos() 44 hpfs_inode->i_rddir_off[i] = pos; in hpfs_add_pos() 45 hpfs_inode->i_rddir_off[i + 1] = NULL; in hpfs_add_pos() [all …]
|
D | file.c | 39 struct hpfs_inode_info *hpfs_inode = hpfs_i(inode); in hpfs_bmap() local 44 n = file_secno - hpfs_inode->i_file_sec; in hpfs_bmap() 45 if (n < hpfs_inode->i_n_secs) return hpfs_inode->i_disk_sec + n; in hpfs_bmap()
|
D | anode.c | 45 struct hpfs_inode_info *hpfs_inode = hpfs_i(inode); in hpfs_bplus_lookup() local 46 hpfs_inode->i_file_sec = le32_to_cpu(btree->u.external[i].file_secno); in hpfs_bplus_lookup() 47 hpfs_inode->i_disk_sec = le32_to_cpu(btree->u.external[i].disk_secno); in hpfs_bplus_lookup() 48 hpfs_inode->i_n_secs = le32_to_cpu(btree->u.external[i].length); in hpfs_bplus_lookup()
|