Home
last modified time | relevance | path

Searched refs:hpfs_inode (Results 1 – 6 of 6) sorted by relevance

/fs/hpfs/
Dinode.c14 struct hpfs_inode_info *hpfs_inode = hpfs_i(i); in hpfs_init_inode() local
19 hpfs_inode->i_conv = hpfs_sb(sb)->sb_conv; in hpfs_init_inode()
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()
[all …]
Ddir.c28 struct hpfs_inode_info *hpfs_inode = hpfs_i(i); in hpfs_dir_lseek() local
36 pos = ((loff_t) hpfs_de_as_down_as_possible(s, hpfs_inode->i_dno) << 4) + 1; in hpfs_dir_lseek()
56 struct hpfs_inode_info *hpfs_inode = hpfs_i(inode); in hpfs_readdir() local
72 if (hpfs_chk_sectors(inode->i_sb, hpfs_inode->i_dno, 4, "dir_dnode")) { in hpfs_readdir()
90 if (hpfs_inode->i_dno != fno->u.external[0].disk_secno) { in hpfs_readdir()
92 …hpfs_error(inode->i_sb, "corrupted inode: i_dno == %08x, fnode -> dnode == %08x", hpfs_inode->i_dn… in hpfs_readdir()
132 if (filldir(dirent, "..", 2, filp->f_pos, hpfs_inode->i_parent_dir, DT_DIR) < 0) in hpfs_readdir()
137 filp->f_pos = ((loff_t) hpfs_de_as_down_as_possible(inode->i_sb, hpfs_inode->i_dno) << 4) + 1; in hpfs_readdir()
Ddnode.c26 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 …]
Dfile.c34 struct hpfs_inode_info *hpfs_inode = hpfs_i(inode); in hpfs_bmap() local
39 n = file_secno - hpfs_inode->i_file_sec; in hpfs_bmap()
40 if (n < hpfs_inode->i_n_secs) return hpfs_inode->i_disk_sec + n; in hpfs_bmap()
Dname.c22 struct hpfs_inode_info *hpfs_inode = hpfs_i(inode); in hpfs_decide_conv() local
24 if (hpfs_inode->i_conv != CONV_AUTO) return; in hpfs_decide_conv()
37 hpfs_inode->i_conv = CONV_BINARY; in hpfs_decide_conv()
40 hpfs_inode->i_conv = CONV_TEXT; in hpfs_decide_conv()
Danode.c45 struct hpfs_inode_info *hpfs_inode = hpfs_i(inode); in hpfs_bplus_lookup() local
46 hpfs_inode->i_file_sec = btree->u.external[i].file_secno; in hpfs_bplus_lookup()
47 hpfs_inode->i_disk_sec = btree->u.external[i].disk_secno; in hpfs_bplus_lookup()
48 hpfs_inode->i_n_secs = btree->u.external[i].length; in hpfs_bplus_lookup()