Lines Matching refs:path
94 static char *tomoyo_get_absolute_path(const struct path *path, char * const buffer, in tomoyo_get_absolute_path() argument
101 pos = d_absolute_path(path, buffer, buflen - 1); in tomoyo_get_absolute_path()
103 struct inode *inode = d_backing_inode(path->dentry); in tomoyo_get_absolute_path()
237 char *tomoyo_realpath_from_path(const struct path *path) in tomoyo_realpath_from_path() argument
242 struct dentry *dentry = path->dentry; in tomoyo_realpath_from_path()
267 pos = tomoyo_get_local_path(path->dentry, buf, in tomoyo_realpath_from_path()
271 pos = tomoyo_get_absolute_path(path, buf, buf_len - 1); in tomoyo_realpath_from_path()
277 pos = tomoyo_get_local_path(path->dentry, buf, in tomoyo_realpath_from_path()
301 struct path path; in tomoyo_realpath_nofollow() local
303 if (pathname && kern_path(pathname, 0, &path) == 0) { in tomoyo_realpath_nofollow()
304 char *buf = tomoyo_realpath_from_path(&path); in tomoyo_realpath_nofollow()
306 path_put(&path); in tomoyo_realpath_nofollow()