Lines Matching refs:restOfPath
149 static yaffs_Device *yaffsfs_FindDevice(const char *path, char **restOfPath)
181 *restOfPath = (char *)leftOver;
190 static yaffs_Object *yaffsfs_FindRoot(const char *path, char **restOfPath)
195 dev= yaffsfs_FindDevice(path,restOfPath);
232 char *restOfPath;
244 restOfPath = (char *)path;
248 dir = yaffsfs_FindRoot(path,&restOfPath);
256 while(*restOfPath == '/')
258 restOfPath++; // get rid of '/'
261 *name = restOfPath;
264 while(*restOfPath && *restOfPath != '/')
268 str[i] = *restOfPath;
272 restOfPath++;
275 if(!*restOfPath)