Lines Matching refs:dentry
102 struct inode *inode = d_backing_inode(path->dentry); in tomoyo_get_absolute_path()
124 static char *tomoyo_get_dentry_path(struct dentry *dentry, char * const buffer, in tomoyo_get_dentry_path() argument
130 pos = dentry_path_raw(dentry, buffer, buflen - 1); in tomoyo_get_dentry_path()
132 struct inode *inode = d_backing_inode(dentry); in tomoyo_get_dentry_path()
152 static char *tomoyo_get_local_path(struct dentry *dentry, char * const buffer, in tomoyo_get_local_path() argument
155 struct super_block *sb = dentry->d_sb; in tomoyo_get_local_path()
156 char *pos = tomoyo_get_dentry_path(dentry, buffer, buflen); in tomoyo_get_local_path()
240 struct dentry *dentry = path->dentry; in tomoyo_realpath_from_path() local
243 if (!dentry) in tomoyo_realpath_from_path()
245 sb = dentry->d_sb; in tomoyo_realpath_from_path()
258 if (dentry->d_op && dentry->d_op->d_dname) { in tomoyo_realpath_from_path()
259 pos = dentry->d_op->d_dname(dentry, buf, buf_len - 1); in tomoyo_realpath_from_path()
270 pos = tomoyo_get_local_path(path->dentry, buf, in tomoyo_realpath_from_path()
280 pos = tomoyo_get_local_path(path->dentry, buf, in tomoyo_realpath_from_path()