Lines Matching full:de

70 	struct hpfs_dirent *de;  in hpfs_readdir()  local
155 if (!(de = map_pos_dirent(inode, &next_pos, &qbh))) { in hpfs_readdir()
160 if (de->first || de->last) { in hpfs_readdir()
162 if (de->first && !de->last && (de->namelen != 2 in hpfs_readdir()
163 || de ->name[0] != 1 || de->name[1] != 1)) in hpfs_readdir()
165 if (de->last && (de->namelen != 1 || de ->name[0] != 255)) in hpfs_readdir()
172 tempname = hpfs_translate_name(inode->i_sb, de->name, de->namelen, lc, de->not_8x3); in hpfs_readdir()
173 if (!dir_emit(ctx, tempname, de->namelen, le32_to_cpu(de->fnode), DT_UNKNOWN)) { in hpfs_readdir()
174 if (tempname != de->name) kfree(tempname); in hpfs_readdir()
179 if (tempname != de->name) kfree(tempname); in hpfs_readdir()
207 struct hpfs_dirent *de; in hpfs_lookup() local
226 de = map_dirent(dir, hpfs_i(dir)->i_dno, name, len, NULL, &qbh); in hpfs_lookup()
232 if (!de) goto end; in hpfs_lookup()
238 ino = le32_to_cpu(de->fnode); in hpfs_lookup()
252 if (de->directory) in hpfs_lookup()
254 else if (le32_to_cpu(de->ea_size) && hpfs_sb(dir->i_sb)->sb_eas) in hpfs_lookup()
266 if (!de->directory) hpfs_result->i_parent_dir = dir->i_ino; in hpfs_lookup()
268 if (de->has_acl || de->has_xtd_perm) if (!sb_rdonly(dir->i_sb)) { in hpfs_lookup()
281 if (!(result->i_ctime.tv_sec = local_to_gmt(dir->i_sb, le32_to_cpu(de->creation_date)))) in hpfs_lookup()
284 result->i_mtime.tv_sec = local_to_gmt(dir->i_sb, le32_to_cpu(de->write_date)); in hpfs_lookup()
286 result->i_atime.tv_sec = local_to_gmt(dir->i_sb, le32_to_cpu(de->read_date)); in hpfs_lookup()
288 hpfs_result->i_ea_size = le32_to_cpu(de->ea_size); in hpfs_lookup()
289 if (!hpfs_result->i_ea_mode && de->read_only) in hpfs_lookup()
291 if (!de->directory) { in hpfs_lookup()
293 result->i_size = le32_to_cpu(de->file_size); in hpfs_lookup()