Searched refs:hpfs_inode (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/fs/hpfs/ |
D | inode.c | 17 struct hpfs_inode_info *hpfs_inode = hpfs_i(i); in hpfs_init_inode() local 25 hpfs_inode->i_dno = 0; in hpfs_init_inode() 26 hpfs_inode->i_n_secs = 0; in hpfs_init_inode() 27 hpfs_inode->i_file_sec = 0; in hpfs_init_inode() 28 hpfs_inode->i_disk_sec = 0; in hpfs_init_inode() 29 hpfs_inode->i_dpos = 0; in hpfs_init_inode() 30 hpfs_inode->i_dsubdno = 0; in hpfs_init_inode() 31 hpfs_inode->i_ea_mode = 0; in hpfs_init_inode() 32 hpfs_inode->i_ea_uid = 0; in hpfs_init_inode() 33 hpfs_inode->i_ea_gid = 0; in hpfs_init_inode() [all …]
|
D | file.c | 43 struct hpfs_inode_info *hpfs_inode = hpfs_i(inode); in hpfs_bmap() local 48 n = file_secno - hpfs_inode->i_file_sec; in hpfs_bmap() 49 if (n < hpfs_inode->i_n_secs) { in hpfs_bmap() 50 *n_secs = hpfs_inode->i_n_secs - n; in hpfs_bmap() 51 return hpfs_inode->i_disk_sec + n; in hpfs_bmap() 57 n = file_secno - hpfs_inode->i_file_sec; in hpfs_bmap() 58 if (n < hpfs_inode->i_n_secs) { in hpfs_bmap() 59 *n_secs = hpfs_inode->i_n_secs - n; in hpfs_bmap() 60 return hpfs_inode->i_disk_sec + n; in hpfs_bmap()
|
D | dir.c | 30 struct hpfs_inode_info *hpfs_inode = hpfs_i(i); in hpfs_dir_lseek() local 42 pos = ((loff_t) hpfs_de_as_down_as_possible(s, hpfs_inode->i_dno) << 4) + 1; in hpfs_dir_lseek() 68 struct hpfs_inode_info *hpfs_inode = hpfs_i(inode); in hpfs_readdir() local 84 if (hpfs_chk_sectors(inode->i_sb, hpfs_inode->i_dno, 4, "dir_dnode")) { in hpfs_readdir() 102 if (hpfs_inode->i_dno != le32_to_cpu(fno->u.external[0].disk_secno)) { in hpfs_readdir() 104 …hpfs_error(inode->i_sb, "corrupted inode: i_dno == %08x, fnode -> dnode == %08x", hpfs_inode->i_dn… in hpfs_readdir() 144 if (!dir_emit(ctx, "..", 2, hpfs_inode->i_parent_dir, DT_DIR)) in hpfs_readdir() 152 ctx->pos = ((loff_t) hpfs_de_as_down_as_possible(inode->i_sb, hpfs_inode->i_dno) << 4) + 1; in hpfs_readdir()
|
D | dnode.c | 27 struct hpfs_inode_info *hpfs_inode = hpfs_i(inode); in hpfs_add_pos() local 31 if (hpfs_inode->i_rddir_off) in hpfs_add_pos() 32 for (; hpfs_inode->i_rddir_off[i]; i++) in hpfs_add_pos() 33 if (hpfs_inode->i_rddir_off[i] == pos) in hpfs_add_pos() 41 if (hpfs_inode->i_rddir_off) { in hpfs_add_pos() 42 memcpy(ppos, hpfs_inode->i_rddir_off, i * sizeof(loff_t)); in hpfs_add_pos() 43 kfree(hpfs_inode->i_rddir_off); in hpfs_add_pos() 45 hpfs_inode->i_rddir_off = ppos; in hpfs_add_pos() 47 hpfs_inode->i_rddir_off[i] = pos; in hpfs_add_pos() 48 hpfs_inode->i_rddir_off[i + 1] = NULL; in hpfs_add_pos() [all …]
|
D | anode.c | 46 struct hpfs_inode_info *hpfs_inode = hpfs_i(inode); in hpfs_bplus_lookup() local 47 hpfs_inode->i_file_sec = le32_to_cpu(btree->u.external[i].file_secno); in hpfs_bplus_lookup() 48 hpfs_inode->i_disk_sec = le32_to_cpu(btree->u.external[i].disk_secno); in hpfs_bplus_lookup() 49 hpfs_inode->i_n_secs = le32_to_cpu(btree->u.external[i].length); in hpfs_bplus_lookup()
|