Lines Matching refs:dentry
84 * tomoyo_get_absolute_path - Get the path of a dentry but ignores chroot'ed root.
92 * If dentry is a directory, trailing '/' is appended.
103 struct inode *inode = d_backing_inode(path->dentry);
115 * tomoyo_get_dentry_path - Get the path of a dentry.
117 * @dentry: Pointer to "struct dentry".
123 * If dentry is a directory, trailing '/' is appended.
125 static char *tomoyo_get_dentry_path(struct dentry *dentry, char * const buffer,
131 pos = dentry_path_raw(dentry, buffer, buflen - 1);
133 struct inode *inode = d_backing_inode(dentry);
145 * tomoyo_get_local_path - Get the path of a dentry.
147 * @dentry: Pointer to "struct dentry".
153 static char *tomoyo_get_local_path(struct dentry *dentry, char * const buffer,
156 struct super_block *sb = dentry->d_sb;
157 char *pos = tomoyo_get_dentry_path(dentry, buffer, buflen);
229 * If dentry is a directory, trailing '/' is appended.
242 struct dentry *dentry = path->dentry;
243 struct super_block *sb = dentry->d_sb;
257 if (dentry->d_op && dentry->d_op->d_dname) {
258 pos = dentry->d_op->d_dname(dentry, buf, buf_len - 1);
267 pos = tomoyo_get_local_path(path->dentry, buf,
277 pos = tomoyo_get_local_path(path->dentry, buf,