Lines Matching defs:direntry
74 static int hmdfs_dev_d_revalidate(struct dentry *direntry, unsigned int flags)
79 spin_lock(&direntry->d_lock);
80 if (IS_ROOT(direntry)) {
81 spin_unlock(&direntry->d_lock);
84 spin_unlock(&direntry->d_lock);
86 dinode = d_inode(direntry);
101 static int hmdfs_d_revalidate(struct dentry *direntry, unsigned int flags)
118 dinode = d_inode(direntry);
124 parent_dentry = dget_parent(direntry);
126 ret = hmdfs_d_remote_revalidate(info->conn, direntry,
132 hmdfs_get_lower_path(direntry, &lower_path);
157 lock_for_dname_cmp(direntry, lower_dentry);
158 if (!qstr_case_eq(&direntry->d_name, &lower_dentry->d_name))
160 unlock_for_dname_cmp(direntry, lower_dentry);
286 static int d_revalidate_merge(struct dentry *direntry, unsigned int flags)
288 struct hmdfs_dentry_info_merge *dim = hmdfs_dm(direntry);
304 dinode = d_inode(direntry);
312 parent_dentry = dget_parent(direntry);