Lines Matching refs:de
102 struct vxfs_direct *de; in vxfs_find_entry() local
113 de = (struct vxfs_direct *)(kaddr + pg_ofs); in vxfs_find_entry()
115 if (!de->d_reclen) { in vxfs_find_entry()
121 pg_ofs += fs16_to_cpu(sbi, de->d_reclen); in vxfs_find_entry()
122 pos += fs16_to_cpu(sbi, de->d_reclen); in vxfs_find_entry()
123 if (!de->d_ino) in vxfs_find_entry()
126 if (namelen != fs16_to_cpu(sbi, de->d_namelen)) in vxfs_find_entry()
128 if (!memcmp(name, de->d_name, namelen)) { in vxfs_find_entry()
130 de_exit = de; in vxfs_find_entry()
158 struct vxfs_direct *de; in vxfs_inode_by_name() local
162 de = vxfs_find_entry(dip, dp, &pp); in vxfs_inode_by_name()
163 if (de) { in vxfs_inode_by_name()
164 ino = fs32_to_cpu(VXFS_SBI(dip->i_sb), de->d_ino); in vxfs_inode_by_name()
253 struct vxfs_direct *de; in vxfs_readdir() local
264 de = (struct vxfs_direct *)(kaddr + pg_ofs); in vxfs_readdir()
266 if (!de->d_reclen) { in vxfs_readdir()
272 pg_ofs += fs16_to_cpu(sbi, de->d_reclen); in vxfs_readdir()
273 pos += fs16_to_cpu(sbi, de->d_reclen); in vxfs_readdir()
274 if (!de->d_ino) in vxfs_readdir()
277 rc = dir_emit(ctx, de->d_name, in vxfs_readdir()
278 fs16_to_cpu(sbi, de->d_namelen), in vxfs_readdir()
279 fs32_to_cpu(sbi, de->d_ino), in vxfs_readdir()
283 pos -= fs16_to_cpu(sbi, de->d_reclen); in vxfs_readdir()