Lines Matching refs:ea
50 void *ea; in hpfs_read_inode() local
63 if ((ea = hpfs_get_ea(i->i_sb, fnode, "UID", &ea_size))) { in hpfs_read_inode()
65 i_uid_write(i, le16_to_cpu(*(__le16*)ea)); in hpfs_read_inode()
68 kfree(ea); in hpfs_read_inode()
70 if ((ea = hpfs_get_ea(i->i_sb, fnode, "GID", &ea_size))) { in hpfs_read_inode()
72 i_gid_write(i, le16_to_cpu(*(__le16*)ea)); in hpfs_read_inode()
75 kfree(ea); in hpfs_read_inode()
77 if ((ea = hpfs_get_ea(i->i_sb, fnode, "SYMLINK", &ea_size))) { in hpfs_read_inode()
78 kfree(ea); in hpfs_read_inode()
89 if ((ea = hpfs_get_ea(i->i_sb, fnode, "MODE", &ea_size))) { in hpfs_read_inode()
93 mode = le16_to_cpu(*(__le16*)ea); in hpfs_read_inode()
96 kfree(ea); in hpfs_read_inode()
99 if ((ea = hpfs_get_ea(i->i_sb, fnode, "DEV", &ea_size))) { in hpfs_read_inode()
101 rdev = le32_to_cpu(*(__le32*)ea); in hpfs_read_inode()
102 kfree(ea); in hpfs_read_inode()
154 __le32 ea; in hpfs_write_inode_ea() local
156 ea = cpu_to_le32(i_uid_read(i)); in hpfs_write_inode_ea()
157 hpfs_set_ea(i, fnode, "UID", (char*)&ea, 2); in hpfs_write_inode_ea()
161 ea = cpu_to_le32(i_gid_read(i)); in hpfs_write_inode_ea()
162 hpfs_set_ea(i, fnode, "GID", (char *)&ea, 2); in hpfs_write_inode_ea()
170 ea = cpu_to_le32(i->i_mode); in hpfs_write_inode_ea()
172 hpfs_set_ea(i, fnode, "MODE", (char *)&ea, 2); in hpfs_write_inode_ea()
176 ea = cpu_to_le32(new_encode_dev(i->i_rdev)); in hpfs_write_inode_ea()
177 hpfs_set_ea(i, fnode, "DEV", (char *)&ea, 4); in hpfs_write_inode_ea()