Lines Matching refs:dent
23 * @dent: dentry representing the inode to look for
26 * In short, ntfs_lookup() looks for the inode represented by the dentry @dent
28 * dentry @dent.
30 * In more detail, the dentry @dent specifies which inode to look for by
31 * supplying the name of the inode in @dent->d_name.name. ntfs_lookup()
35 * inode number and the inode is associated with the dentry @dent via a call to
39 * dentry @dent via a call to d_add(). The dentry is then termed a negative
63 * 1) @dent perfectly matches (i.e. including case) a directory entry with a
66 * just d_splice_alias() @dent.
67 * 2) @dent matches (not including case) a directory entry with a file name in
72 * and if so return that instead of @dent. At this point things are
75 * then destroy the old @dent and use the one we returned. If a dentry is
78 * 3) @dent matches either perfectly or not (i.e. we don't care about case) a
89 static struct dentry *ntfs_lookup(struct inode *dir_ino, struct dentry *dent,
101 dent, dir_ino->i_ino);
103 uname_len = ntfs_nlstoucs(vol, dent->d_name.name, dent->d_name.len,
126 return d_splice_alias(dent_inode, dent);
154 d_add(dent, NULL);
242 nls_name.hash = full_name_hash(dent, nls_name.name, nls_name.len);
244 dent = d_add_ci(dent, dent_inode, &nls_name);
246 return dent;