Lines Matching refs:dentry
100 struct inode *inode = d_backing_inode(path->dentry); in tomoyo_get_absolute_path()
121 static char *tomoyo_get_dentry_path(struct dentry *dentry, char * const buffer, in tomoyo_get_dentry_path() argument
126 pos = dentry_path_raw(dentry, buffer, buflen - 1); in tomoyo_get_dentry_path()
128 struct inode *inode = d_backing_inode(dentry); in tomoyo_get_dentry_path()
147 static char *tomoyo_get_local_path(struct dentry *dentry, char * const buffer, in tomoyo_get_local_path() argument
150 struct super_block *sb = dentry->d_sb; in tomoyo_get_local_path()
151 char *pos = tomoyo_get_dentry_path(dentry, buffer, buflen); in tomoyo_get_local_path()
222 struct inode *inode = d_backing_inode(path->dentry); in tomoyo_get_socket_name()
255 struct dentry *dentry = path->dentry; in tomoyo_realpath_from_path() local
257 if (!dentry) in tomoyo_realpath_from_path()
259 sb = dentry->d_sb; in tomoyo_realpath_from_path()
276 if (dentry->d_op && dentry->d_op->d_dname) { in tomoyo_realpath_from_path()
277 pos = dentry->d_op->d_dname(dentry, buf, buf_len - 1); in tomoyo_realpath_from_path()
287 pos = tomoyo_get_local_path(path->dentry, buf, in tomoyo_realpath_from_path()
297 pos = tomoyo_get_local_path(path->dentry, buf, in tomoyo_realpath_from_path()