Lines Matching refs:path
52 static int disconnect(const struct path *path, char *buf, char **name, in disconnect() argument
59 our_mnt(path->mnt))) { in disconnect()
92 static int d_namespace_path(const struct path *path, char *buf, char **name, in d_namespace_path() argument
101 if (path->mnt->mnt_flags & MNT_INTERNAL) { in d_namespace_path()
103 res = dentry_path(path->dentry, buf, buflen); in d_namespace_path()
109 if (path->dentry->d_sb->s_magic == PROC_SUPER_MAGIC && in d_namespace_path()
117 error = disconnect(path, buf, name, flags, in d_namespace_path()
124 struct path root; in d_namespace_path()
126 res = __d_path(path, &root, buf, buflen); in d_namespace_path()
129 res = d_absolute_path(path, buf, buflen); in d_namespace_path()
130 if (!our_mnt(path->mnt)) in d_namespace_path()
144 res = dentry_path_raw(path->dentry, buf, buflen); in d_namespace_path()
150 } else if (!our_mnt(path->mnt)) in d_namespace_path()
156 error = disconnect(path, buf, name, flags, disconnected); in d_namespace_path()
164 if (d_unlinked(path->dentry) && d_is_positive(path->dentry) && in d_namespace_path()
201 int aa_path_name(const struct path *path, int flags, char *buffer, in aa_path_name() argument
205 int error = d_namespace_path(path, buffer, &str, flags, disconnected); in aa_path_name()