Lines Matching defs:path
124 * - give error on ".." occurring in the path
129 const char *path)
137 dprintk("--> nfs4_path_walk(,,%s)\n", path);
143 while (*path == '/')
144 path++;
166 dprintk("Next: %s\n", path);
168 /* extract the next bit of the path */
169 if (!*path)
172 name.name = path;
173 while (*path && *path != '/')
174 path++;
175 name.len = path - (const char *) name.name;
178 while (*path == '/')
179 path++;
181 if (path[0] == '.' && (path[1] == '/' || !path[1])) {
182 path += 2;
186 if (path[0] == '.' && path[1] == '.' && (path[2] == '/' || !path[2])
189 " Mount path contains reference to \"..\"\n");
196 dprintk("LookupFH: %*.*s [%s]\n", name.len, name.len, name.name, path);