Lines Matching refs:name
48 static int disconnect(const struct path *path, char *buf, char **name, in disconnect() argument
60 if (**name == '/') in disconnect()
61 *name = *name + 1; in disconnect()
63 if (**name != '/') in disconnect()
65 error = prepend(name, *name - buf, "/", 1); in disconnect()
67 error = prepend(name, *name - buf, disconnected, in disconnect()
88 static int d_namespace_path(const struct path *path, char *buf, char **name, in d_namespace_path() argument
100 *name = res; in d_namespace_path()
102 *name = buf; in d_namespace_path()
106 strncmp(*name, "/sys/", 5) == 0) { in d_namespace_path()
110 error = prepend(name, *name - buf, "/proc", 5); in d_namespace_path()
113 error = disconnect(path, buf, name, flags, in d_namespace_path()
136 *name = buf; in d_namespace_path()
143 *name = buf; in d_namespace_path()
149 *name = res; in d_namespace_path()
152 error = disconnect(path, buf, name, flags, disconnected); in d_namespace_path()
171 if (!error && isdir && ((*name)[1] != '\0' || (*name)[0] != '/')) in d_namespace_path()
198 const char **name, const char **info, const char *disconnected) in aa_path_name() argument
214 *name = str; in aa_path_name()