Lines Matching refs:dent
111 #define SHAREFS_D(dent) ((struct sharefs_dentry_info *)(dent)->d_fsdata)
161 static inline void sharefs_get_lower_path(const struct dentry *dent,
164 spin_lock(&SHAREFS_D(dent)->lock);
165 pathcpy(lower_path, &SHAREFS_D(dent)->lower_path);
167 spin_unlock(&SHAREFS_D(dent)->lock);
170 static inline void sharefs_put_lower_path(const struct dentry *dent,
176 static inline void sharefs_set_lower_path(const struct dentry *dent,
179 spin_lock(&SHAREFS_D(dent)->lock);
180 pathcpy(&SHAREFS_D(dent)->lower_path, lower_path);
181 spin_unlock(&SHAREFS_D(dent)->lock);
184 static inline void sharefs_reset_lower_path(const struct dentry *dent)
186 spin_lock(&SHAREFS_D(dent)->lock);
187 SHAREFS_D(dent)->lower_path.dentry = NULL;
188 SHAREFS_D(dent)->lower_path.mnt = NULL;
189 spin_unlock(&SHAREFS_D(dent)->lock);
192 static inline void sharefs_put_reset_lower_path(const struct dentry *dent)
195 spin_lock(&SHAREFS_D(dent)->lock);
196 pathcpy(&lower_path, &SHAREFS_D(dent)->lower_path);
197 SHAREFS_D(dent)->lower_path.dentry = NULL;
198 SHAREFS_D(dent)->lower_path.mnt = NULL;
199 spin_unlock(&SHAREFS_D(dent)->lock);