Lines Matching refs:dent
110 #define SHAREFS_D(dent) ((struct sharefs_dentry_info *)(dent)->d_fsdata)
160 static inline void sharefs_get_lower_path(const struct dentry *dent,
163 spin_lock(&SHAREFS_D(dent)->lock);
164 pathcpy(lower_path, &SHAREFS_D(dent)->lower_path);
166 spin_unlock(&SHAREFS_D(dent)->lock);
169 static inline void sharefs_put_lower_path(const struct dentry *dent,
175 static inline void sharefs_set_lower_path(const struct dentry *dent,
178 spin_lock(&SHAREFS_D(dent)->lock);
179 pathcpy(&SHAREFS_D(dent)->lower_path, lower_path);
180 spin_unlock(&SHAREFS_D(dent)->lock);
183 static inline void sharefs_reset_lower_path(const struct dentry *dent)
185 spin_lock(&SHAREFS_D(dent)->lock);
186 SHAREFS_D(dent)->lower_path.dentry = NULL;
187 SHAREFS_D(dent)->lower_path.mnt = NULL;
188 spin_unlock(&SHAREFS_D(dent)->lock);
191 static inline void sharefs_put_reset_lower_path(const struct dentry *dent)
194 spin_lock(&SHAREFS_D(dent)->lock);
195 pathcpy(&lower_path, &SHAREFS_D(dent)->lower_path);
196 SHAREFS_D(dent)->lower_path.dentry = NULL;
197 SHAREFS_D(dent)->lower_path.mnt = NULL;
198 spin_unlock(&SHAREFS_D(dent)->lock);