Lines Matching refs:error
51 int error = 0; in disconnect() local
59 error = -EACCES; in disconnect()
65 error = prepend(name, *name - buf, "/", 1); in disconnect()
66 if (!error && disconnected) in disconnect()
67 error = prepend(name, *name - buf, disconnected, in disconnect()
71 return error; in disconnect()
92 int error = 0; in d_namespace_path() local
110 error = prepend(name, *name - buf, "/proc", 5); in d_namespace_path()
113 error = disconnect(path, buf, name, flags, in d_namespace_path()
135 error = -ENAMETOOLONG; in d_namespace_path()
142 error = PTR_ERR(res); in d_namespace_path()
152 error = disconnect(path, buf, name, flags, disconnected); in d_namespace_path()
162 error = -ENOENT; in d_namespace_path()
171 if (!error && isdir && ((*name)[1] != '\0' || (*name)[0] != '/')) in d_namespace_path()
174 return error; in d_namespace_path()
201 int error = d_namespace_path(path, buffer, &str, flags, disconnected); in aa_path_name() local
203 if (info && error) { in aa_path_name()
204 if (error == -ENOENT) in aa_path_name()
206 else if (error == -EACCES) in aa_path_name()
208 else if (error == -ENAMETOOLONG) in aa_path_name()
216 return error; in aa_path_name()